Subject: | |
From: | |
Reply To: | |
Date: | Wed, 14 Mar 2007 13:24:48 -0000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Ashvin,
You can either use the WHO intrinsic (bits 12:2 of the first parameter =
01 for session and 10 for job) or the HPCIGETVAR intrinsic (variable
name is HPJOBTYPE, returns 'S' for session and 'J' for job).
regards,
Robert W.Mills
Systems Development Manager
Pinnacle Arvato
(020) 8309 3604
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
Behalf Of Ashvin Patel
Sent: 14 March 2007 12:32
To: [log in to unmask]
Subject: [HP3000-L] job vs. session
All,
I have a question - I have a need to know if the program is being run
from a session or from a batch job within a COBOL program. Is there an
intrinsic that I can call to find out whether the program is running
from a session or from a batch job.
Thanks!
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|