On Nov 23, 1:34pm, Glenn J. Koster, Sr. wrote:
> Michael Berkowitz wrote:
...
> > Is there a system variable on 6.0
> > only, that I can check for its existence with the HPCIGETVAR
> > intrinsic, to say I'm on 6.0 or not?
>
> :IF (STR("!HPVERSION",2,2) <> "60") THEN
> <whatever you need to do if you are not 6.0>
> :ENDIF
Slight variation:
if str(hpversion,2,2) >= "60" then # note: no "!..." needed
# you have user defined job queues...
else ...
You can also try to execute a benign command such as ":LISJOBQ >$null".
Jeff Vance, CSY
--