Learning Documentation Community Open Exchange Global Masters Certification Partner Directory Ideas Portal
Developer Community
  • Posts
    • InterSystems Official
    • Articles
    • Questions
    • Announcements
    • Discussions
    • Tags
  • Events
    • Tech Article Contest
    • Programming Contest
    • InterSystems Ideas Contest
    • Event Calendar
  • Products
    • InterSystems IRIS
    • InterSystems IRIS for Health
    • HealthShare
    • TrakCare
    • Caché
    • Ensemble
    • InterSystems Analytics (DeepSee)
    • InterSystems Text Analytics (iKnow)
  • Jobs
    • Job Opportunity
    • Job Wanted
  • Members
  • About
    • About Us
    • FAQ
    • Feedback
    • Report an Issue
    • Share an Idea
    • Code of Conduct
    • Contact Us

EN

Search by posts, members, tags
Language
EN|
ESPTJPCNFREN
  • Profile page
  • Posts (313)
  • Replies (3,508)
  • Mentions (368)
  • Official certification & Credly badges (4)
  • Global Masters badges (90)
  • Followers (49)
  • Following (0)
AllAccepted answers
    go to post
Eduard Lebedyuk · Sep 30, 2020

Usually I do this:

set sc = ..method()
/// finalization
quit:$$$ISERR(sc) sc
0 0 https://community.intersystems.com/post/status-usage-objectscript?page=53#comment-134381
    go to post
Eduard Lebedyuk · Sep 29, 2020

I always use %Status and try to wrap calls in this macro:

#define qoe(%expr) $$$QuitOnError(%expr)

For example:

$$$qoe(..computeDigest(canonicalized))
0 0 https://community.intersystems.com/post/status-usage-objectscript?page=53#comment-134351
    go to post
Eduard Lebedyuk · Sep 29, 2020
$$$ERROR($$$SQLError, SQLCODE, %msg)
0 0 https://community.intersystems.com/post/embedded-sql-error-handling?page=53#comment-134346
    go to post
Eduard Lebedyuk · Sep 28, 2020

You can use PythonGateway to call Python code from InterSystems IRIS directly.

Example:

set sc = ##class(isc.py.Main).SimpleString("x='HELLO'", "x", , .x)
write x
>HELLO
0 0 https://community.intersystems.com/post/w-zf-100adc-hello-fetch-return-value-method-variable-python?page=53#comment-134276
    go to post
Eduard Lebedyuk · Sep 28, 2020

You can start with

set %gw = createJavaGateway()

Where createJavaGateway is

ClassMethod createJavaGateway()
{
  quit:$d(%gw) %gw
  /// init connection
}

And remove disconnect part. This way %gw variable would stay alive betwee the calls.

0 0 https://community.intersystems.com/post/how-share-resources-among-csp-process?page=53#comment-134271
    go to post
Eduard Lebedyuk · Sep 28, 2020

Is the response actually compressed?

I thought automatic decompression is happening a few layers down on the stack.

0 0 https://community.intersystems.com/post/what-means-http-header-content-encoding-deflate?page=53#comment-134266
    go to post
Eduard Lebedyuk · Sep 28, 2020

Use session id to track data between calls.

In general I would suggest moving to REST stateless architecture.

0 0 https://community.intersystems.com/post/maintaining-job-id-through-multiple-webservice-calls?page=53#comment-134261
    go to post
Eduard Lebedyuk · Sep 28, 2020

Try serving files from

<IRIS>\mgr\Temp\

directory.

By default InterSystems IRIS runs under system account which does not have access to your user account folders.

0 0 https://community.intersystems.com/post/how-get-cls-file-server-directory-and-download-it-client-side?page=53#comment-134256
    go to post
Eduard Lebedyuk · Sep 28, 2020

I prefer

johndoe.test.lib.class
0 0 https://community.intersystems.com/post/unit-testing-naming-convention?page=53#comment-134251
    go to post
Eduard Lebedyuk · Sep 11, 2020

As long as storage aligns, you can use this approach.

0 0 https://community.intersystems.com/post/how-could-we-convert-string-object-simpler-way?page=53#comment-132971
    go to post
Eduard Lebedyuk · Sep 11, 2020

Calling @Anton Umnikov 
 

0 0 https://community.intersystems.com/post/azure-blob-upload?page=53#comment-132896
    go to post
Eduard Lebedyuk · Sep 5, 2020

How are you planning to determine to which service the message should go?

0 0 https://community.intersystems.com/post/router-production-can-have-different-business-services-listening-same-port-number?page=53#comment-132531
    go to post
Eduard Lebedyuk · Sep 3, 2020

Probably 3,641,144.

Calling @Dan Pasco 
 

0 0 https://community.intersystems.com/post/cach%C3%A9-sql-maximum-supported-length?page=53#comment-132296
    go to post
Eduard Lebedyuk · Sep 3, 2020

Here's how you can add your ObjectScript snippents to VSCode.

1 0 https://community.intersystems.com/post/it-possible-export-user-defined-code-fragments-studio?page=53#comment-132291
    go to post
Eduard Lebedyuk · Sep 3, 2020

They are usually Stored in:

C:\Users\<USER>\Documents\Intersystems\CodeSnippets.txt

If they are not there open Studio -Instruments -  Parameters -  Environment - Code Fragments

The file path would be there:

0 0 https://community.intersystems.com/post/it-possible-export-user-defined-code-fragments-studio?page=53#comment-132261
    go to post
Eduard Lebedyuk · Sep 2, 2020

Which version are you on?

Update to 2016.1+.

1 0 https://community.intersystems.com/post/hijri-date?page=53#comment-132126
    go to post
Eduard Lebedyuk · Sep 2, 2020

Check dformat 18-21.

1 0 https://community.intersystems.com/post/hijri-date?page=53#comment-132106
    go to post
Eduard Lebedyuk · Sep 1, 2020

Pleas port relevant parts of ExecuteResult class.

0 0 https://community.intersystems.com/post/how-accept-valid-character-when-parsing-xml?page=53#comment-131931
    go to post
Eduard Lebedyuk · Sep 1, 2020

If the user does not have W access on routines db he will not be able to edit it.

Also the  whole DB might be marked as RO.

0 0 https://community.intersystems.com/post/how-set-all-cls-read-only-default?page=53#comment-131926
    go to post
Eduard Lebedyuk · Aug 31, 2020

Sure:

Set sc=##class(%REST.API).GetWebRESTApplication(namespace,webApplication,.swagger)
1 0 https://community.intersystems.com/post/generate-swagger-spec-persistent-and-serial-classes?page=53#comment-131891
  • first
  • ‹ previous
  • …
  • 52
  • 53
  • 54
  • 55
  • 56
  • …
  • next ›
  • last
Eduard Lebedyuk
@Eduard.Lebedyuk
Senior Cloud Architect at InterSystems
MOD
Follow
Open Exchange profile

User statistics

Posts
313
Replies
3.5K
Likes
2.3K
Applications
39
Badges
90
Followers
49
People reached
323.7K
Accepted answers
786
  • Privacy & Terms
  • Guarantee
  • Section 508
  • Contest Terms
  • Cookies Settings
© 2025 InterSystems Corporation, Cambridge, MA. All rights reserved.

Log in or sign up

Log in or create a new account to continue

Log inSign up

Log in or sign up

Log in or create a new account to continue

Log inSign up

Log in or sign up

Log in or create a new account to continue

Log inSign up

Log in or sign up

Log in or create a new account to continue

Log inSign up