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 (265)
  • Replies (3,195)
  • Mentions (419)
  • Official certification & Credly badges (0)
  • Global Masters badges (110)
  • Followers (66)
  • Following (1)
AllAccepted answers
    go to post
Robert Cemper · Aug 15, 2023

Not a ready-to-use solution, but a way to take

  1. export the global by SMP or embed %system.OBJ.Export to create *.XML file
  2. download it using <a href="~file_location~" download> explanation
1 0 https://community.intersystems.com/post/download-globals-particular-server?page=28#comment-233171
    go to post
Robert Cemper · Aug 14, 2023

With JOB you start an independent process in background.
You can pass any variable you may need.
But you can't pass the connection to the CSP page with all its settings.
the connection stays with the foreground job. 

0 0 https://community.intersystems.com/post/do-vs-job-method-call?page=28#comment-233061
    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=28#comment-233001
    go to post
Robert Cemper · Aug 12, 2023

some formatting of output was applied

0 0 https://community.intersystems.com/post/remote-global-listing-using-nativeapi-objectscript-2?page=28#comment-232981
    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=28#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=28#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=28#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=28#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=28#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=28#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=28#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=28#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=28#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=28#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=28#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=28#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=28#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=28#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=28#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=28#comment-232291
  • first
  • ‹ previous
  • …
  • 27
  • 28
  • 29
  • 30
  • 31
  • …
  • next ›
  • last
Robert Cemper
@Robert.Cemper1003
~~ retired but not tired ~~
MOD
Follow
Open Exchange profile

User statistics

Posts
265
Replies
3.2K
Likes
4.1K
Applications
87
Badges
110
Followers
66
People reached
137.4K
Accepted answers
1.1K
  • 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