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 / rakesh
using RTVJOBA command...
if the TYPE option gives value "1" then it is interactive job.
if the value is "0" it is batch job
| Is This Answer Correct ? | 50 Yes | 0 No |
Post New Answer View All Answers
what are the key words you must use when using a subfile?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
How Chain operation copies the record's data to the input buffer for the program?
What is the difference between copybooks and subprocedures in as400?
are there any useful c runtime apis that I can call from rpg iv?
How to select highest score of each subject or how to select highest income of every month?
can you debug ile rpg program using isdb?
how can I tell when to replace the array?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
what do you mean by an input subfile, what are the keywords required?
how do I declare a minor?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
How to write record if no field or the field are different in physical file in rpgle ?