- Log in to post comments
User bio
404 bio not found
Member since Jan 8, 2016
Posts:
Replies:
You could also use the language extension feature: https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cl…. The advantage is that everyone using the instance can use it. Someone sent this to me a very long time ago as an example:
ZZE(Status)public{
if$get(Status)="?"{w!,"ZZE(Status): Decode and display the parsed error"q}
Set$ZT="zzderr"
i'$D(Status){
i$d(%objlasterror){
d$SYSTEM.Status.DisplayError(%objlasterror)
}else{
;Don't display anything if no error
}
}else{
d$SYSTEM.Status.DisplayError(Status)
d$SYSTEM.Status.DecomposeStatus(Status,.err)
zwerr
}
Quit
zzderrSet$ZT=""Ztrap$ZUTIL(96,3,$ZUTIL(96,0)); Throws error to caller
}
- Log in to post comments
On Studio, the output window accepted input for the running routine. In vscode the output window is output only and the debug console only accepts expressions to evaluate.
- Log in to post comments
Certifications & Credly badges:
Edward has no Certifications & Credly badges yet.
Followers:
Edward has no followers yet.
Following:
Edward has not followed anybody yet.
DataMove might be useful for copying the routines once you have a. list of what to copy.