IBM RPG400 Question:

How can we know running job is batch or interactive?

Tweet Share WhatsApp

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.

Download IBM RPG400 PDF Read All 20 IBM RPG400 Questions
Previous QuestionNext Question
What is importance of MAPFLD IN OPNQRYF FILE?Need a sql query: retrieve all duplicate records in table?