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 (0)
  • Replies (17)
  • Mentions (0)
  • Official certification & Credly badges (0)
  • Global Masters badges (0)
  • Followers (0)
  • Following (0)
AllAccepted answers
    go to post
Rod Dorman · Jan 14, 2022

In that case you'll want to use %Net.SSH.Session to connect to the site and once signed in use the OpenSFTP method to open a SFTP session to be able to make %Net.SSH.SFTP calls, in particular the Put or PutStream method
 

1 0 https://community.intersystems.com/post/sending-files-netftpsession#comment-178381
    go to post
Rod Dorman · Jul 18, 2019

Use $ZDATEH() to convert to internal $HOROLOG format, and $ZDATE() to convert to your desired format

WRITE $ZDATE($ZDATEH("14JAN1991",8),8)

0 0 https://community.intersystems.com/post/cache-basics-date-conversion#comment-110751
    go to post
Rod Dorman · Oct 16, 2018

type
KILL
DO ^%IS
hit Enter twice
WRITE

and look at what IOF and IOST are set to

1 0 https://community.intersystems.com/post/w-prints-28-rather-clearing-screen#comment-106076
    go to post
Rod Dorman · Sep 19, 2018

SET Command="wmic useraccount get name,sid"
SET $ZT = "CommandErr"
OPEN Command:"QR"
FOR {
USE command
READ Text
USE $P
SET Array($I(Array))=Text
}
CommandErr ;
SET $ZT=""
SET ZE=$ZE
USE $P
CLOSE command
IF $P(ZE,">")'="<ENDOFFILE" {
; some error other than end of file
}
ELSE {
; parse contents of Array()
}

0 0 https://community.intersystems.com/post/how-get-windows-sid-number-using-cach%C3%A9-command#comment-105531
    go to post
Rod Dorman · Jul 16, 2018

If the command you're using doesn't support redirection to a file use a command pipe
e.g.
SET $ZT="CommandErr"
OPEN Command:"QR"
FOR {
USE Command
READ Text
USE $P
; do something with the text
}
CommandErr ;
SET ZE=$ZE
SET $ZT=""
USE $P
CLOSE Command
IF $P(ZE,">")="<ENDOFFILE" {
; successful completion
}
ELSE {
; something happened
}

0 0 https://community.intersystems.com/post/status-operating-system-service#comment-53796
    go to post
Rod Dorman · Apr 12, 2018

You could try using $QUERY to iterate the global and use $QLENGTH to determine how deep you are and $QSUBSCRIPT to determine what the subscripts are.

3 0 https://community.intersystems.com/post/how-resume-inner-order-loop-given-point#comment-102616
Rod Dorman
@Rod.Dorman
Polylogics Consulting
Follow

User statistics

Posts
0
Replies
17
Likes
9
Applications
0
Badges
0
Followers
0
People reached
0
Accepted answers
6
  • 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