IBM RPG400 Question:
How can we know running job is batch or interactive?
Answer:
From a CL program you can do a RTVJOBA command, if the job
type value is 0 then batch job, if 1 then interactive job.
Can take a WRKSMBJOB and see the value in TYPe field. If
*INT then it is interactive, If *BCH,then batch job.
type value is 0 then batch job, if 1 then interactive job.
Can take a WRKSMBJOB and see the value in TYPe field. If
*INT then it is interactive, If *BCH,then batch job.
Previous Question | Next Question |
What is importance of MAPFLD IN OPNQRYF FILE? | Need a sql query: retrieve all duplicate records in table? |