Learning Documentation Community Open Exchange Ideas Portal Global Masters Certification Partner Directory Startup Hub
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 (239)
  • Replies (3,205)
  • Mentions (436)
  • Official certification & Credly badges (0)
  • Global Masters badges (110)
  • Followers (64)
  • Following (1)
AllAccepted answers
    go to post
Robert Cemper · Aug 12, 2023

there is a standard utility %ETN that writes such logs with the stack 
and all other $system variables into the global ERRORs
if you call it by LOG^%ETN it does a kind of snapshot
details here  take a look
 

1 0 https://community.intersystems.com/post/how-create-global-node-without-knowing-number-keys-advance?page=29#comment-233001
    go to post
Robert Cemper · Aug 11, 2023
  • not usable for Docker Windows Desktop
  • KITVERSION=latest  is just wishful thinking

😒😟

0 0 https://community.intersystems.com/post/web-access-nopws-container?page=29#comment-232956
    go to post
Robert Cemper · Aug 11, 2023

Are community images from intersystemsdc/  also affected ?

  • this may relate to all templates on OEX
  • and also 430  packages on OEX using docker
0 0 https://community.intersystems.com/post/web-access-nopws-container?page=29#comment-232851
    go to post
Robert Cemper · Aug 10, 2023

example moved here Remote Global Listing using NativeAPI for ObjectScript #1
 

0 0 https://community.intersystems.com/post/download-globals-particular-server?page=29#comment-232766
    go to post
Robert Cemper · Aug 10, 2023

my personal congratulations to the Winners !  👍

0 0 https://community.intersystems.com/post/meet-global-masters-winners-july-2023?page=29#comment-232646
    go to post
Robert Cemper · Aug 9, 2023

According to class  Class Contatos.Amiguinho you presented
Class Contatos.Empresa should look similar to this to work:

Class Contatos.Empresa Extends %Persistent
{
Relationship Nomedaempresa As 
    Contatos.Amiguinho [ Cardinality = many, Inverse = Trabalho ];

Property Nome As %String;

Storage Default
}
0 0 https://community.intersystems.com/post/what-correct-way-file-id-relationship?page=29#comment-232601
    go to post
Robert Cemper · Aug 9, 2023

It also needs an ID and a Relationship.

0 0 https://community.intersystems.com/post/what-correct-way-file-id-relationship?page=29#comment-232596
    go to post
Robert Cemper · Aug 9, 2023

you may run an export ^%G like on the remote server and then copy somehow the result

0 0 https://community.intersystems.com/post/download-globals-particular-server?page=29#comment-232441
    go to post
Robert Cemper · Aug 9, 2023

It's an orgy of IsDefined ($DATA) and GetNext( $ORDER) as equivalent of $QUERY is not implemented 

0 0 https://community.intersystems.com/post/download-globals-particular-server?page=29#comment-232431
    go to post
Robert Cemper · Aug 9, 2023

sorry, Insert() is only for the "MANY" side of the Relationship

0 0 https://community.intersystems.com/post/what-correct-way-file-id-relationship?page=29#comment-232411
    go to post
Robert Cemper · Aug 9, 2023

You just can insert existing IDs.
So you have to check first:

set emp=##class(Contatos.Empresa).%OpenId(IDt)
if $isObject(emp) Do objcontato.Trabalho.Insert(emp)

0 0 https://community.intersystems.com/post/what-correct-way-file-id-relationship?page=29#comment-232381
    go to post
Robert Cemper · Aug 9, 2023

Relationship is an Object concept that has no direct equivalent in SQL to handle it
The "MANY" end is basically just a piece of code ( RelationshipObject) to handle it.

By SQL you just can set it indirectly from the "ONE" end as you found yourself.
This is a real Property / Column that has a distinct value that you can touch and set
 

0 0 https://community.intersystems.com/post/how-file-sql-cardinalitymany?page=29#comment-232376
    go to post
Robert Cemper · Aug 9, 2023

Instead of Set  
Set objcontato.Trabalho=##class(Contatos.Empresa).%OpenId(IDt)  
you need to use method Insert()
Do objcontato.Trabalho.Insert(##class(Contatos.Empresa).%OpenId(IDt))  

See Docs

0 0 https://community.intersystems.com/post/what-correct-way-file-id-relationship?page=29#comment-232361
    go to post
Robert Cemper · Aug 8, 2023

My 5th Choice:

  • use  Native API for ObjectScript  for access.
  • especially %Net.DB.Iris
1 0 https://community.intersystems.com/post/download-globals-particular-server?page=29#comment-232306
    go to post
Robert Cemper · Aug 8, 2023

My 4rd Choice:

  • as you have access export the Global to a file
  • copy the file using SSCP  
0 0 https://community.intersystems.com/post/download-globals-particular-server?page=29#comment-232301
    go to post
Robert Cemper · Aug 8, 2023

My 3rd Choice:

  • get a network file connection to the source DB
  • mount the DB over the network as remote drive 

mixing file systems Win / *UX  might be tricky

0 0 https://community.intersystems.com/post/download-globals-particular-server?page=29#comment-232296
    go to post
Robert Cemper · Aug 8, 2023

My Second Choice:

  • connect to the server over SQLgateway (Odbc, Jdbc).
  • use Global Dump to SQL
1 0 https://community.intersystems.com/post/download-globals-particular-server?page=29#comment-232291
    go to post
Robert Cemper · Aug 8, 2023

My First Choice:

  • use ECP  to mount a Remote DB.
  • copy the Globals 
1 0 https://community.intersystems.com/post/download-globals-particular-server?page=29#comment-232286
    go to post
Robert Cemper · Aug 4, 2023

BTW:
whatever your method does it always terminate with Quit $$$OK

so whatever happens it is equivalent to
set SphereJauh=1

I assume you look for a different return value ? Is it ?

1 0 https://community.intersystems.com/post/calling-second-method-inside-main-method?page=29#comment-231976
    go to post
Robert Cemper · Aug 4, 2023

your ClassMethod GetSphereJauh(Id..... is located in some Class

so just call it as any other class method

set SphereJauh=##class(classname).GetSphereJauh(ATTRDesc)  

the fact that this is used as part of a custom class query is totally irrelevant in this context.
it is straightforward ObjectScript. nothing else

1 0 https://community.intersystems.com/post/calling-second-method-inside-main-method?page=29#comment-231971
  • first
  • ‹ previous
  • …
  • 28
  • 29
  • 30
  • 31
  • 32
  • …
  • next ›
  • last
Robert Cemper
@Robert.Cemper1003
~~ retired but not tired ~~
MOD
Follow
Open Exchange profile

User statistics

Posts
239
Replies
3.2K
Likes
4.2K
Applications
3
Badges
110
Followers
64
People reached
141.6K
Accepted answers
1.1K
  • Privacy & Terms
  • Guarantee
  • Section 508
  • Contest Terms
  • Cookies Settings
© 2026 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