Is there a way in PROC to test the @TTY variable and exit if it is equal to phantom?
Sorry, Prime Information guy here, not much PROC.
Jon
Jon,
Create a small program that evaluates @TTY and uses PROCWRITE to place it in a PROC buffer. You can then access the PROC buffer directly from the PROC Tghere are other ways, but this methodology is fairly flexible.
Regards
JJ
John,
Thanks! That did it. 1 line basic program CHECK.TTY compiled and cataloged.
PROCWRITE @TTY
PQHCHECK.TTYPIF A1="phantom" X