How can we find out whether the job is interactive or Batch
through RPG program?
2) How can we find out through CL program?
Answer Posted / syam
use WRKACTJOB. There is "Type" field. If under Type any job
is showing "INT" = Interactive, 'BCH" = Batch, "SBS" =
Subsystem, "SYS" = System, "WTR" = Writer(Printer).
Batch job will run in QBATCH Subsystem/Job and Interactive
job will run in QINTER Subsystem/Job.
| Is This Answer Correct ? | 17 Yes | 6 No |
Post New Answer View All Answers
what is the necessary keyword needed to scroll subfile records?
what is program status data structure?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
How to write record if no field or the field are different in physical file in rpgle ?
Explain mdt?
What is the difference between iter and do?
how do I play {insert rpg system here}?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How to handle duplicate error handling in RPG?
is this a rpg channel?
what is the use of sflnxtchg?
how can you display specific subfile page on the screen in unequal subfile?
how do I declare a minor?
What is a record lock error?
what is kids-rpg?