User bio
404 bio not found
Member since Dec 8, 2015
Posts:
Replies:
Michael Poxon · Jun 12, 2023 go to post

Well...I don't remember using them in either Caché or the previous M/SQL and don't see them documented at all going back to Caché 4.1 (the oldest I can find on InterSystems' site), but a search of current (IRIS 2022) %SYS code suggests $zu(0) is used in database creation (ref in %SYS.DATABASE.int):

CreateDatabase+45    s rc=$zu(0,dir,blksiz,uic,0,expandby,maxfilsiz,$g(gdir,2),$
            g(gpblk),0,0,$g(ggblk),$g(freeze,1),0,$g(clmntmode,0),0,collation)

However I've also seen it like this, not in this system:

S SYS=$P($ZU(0),",",2)

Not so sure about $zu(1) but you can find it in GBLOCKCOPY.int and NLSLOAD.int.  Tried searching comp.lang.mumps?

Michael Poxon · Jun 2, 2023 go to post

Well...I was hoping there was a way to convert this into a never-expire thing, but I am downloading the latest version and will upgrade.  Thanks for the feedback!

Michael Poxon · May 5, 2023 go to post

Sure -- if you have multiple parameters for a function, the corresponding arguments can be passed by separating them by a colon (:), e.g. ZZQD "Queue1":$H-3.

Certifications & Credly badges:
Michael has no Certifications & Credly badges yet.
Followers:
Michael has no followers yet.
Following:
Michael has not followed anybody yet.