How do you find whether a job is a batch job or interactive?
Answers were Sorted based on User's Feedback
Answer / syam
RTVJOBA command if Type = 0 means Batch job
Type = 1 means Interactive job
| Is This Answer Correct ? | 21 Yes | 1 No |
Answer / srinivas yadav
WRKACTJOB command and check type,
if type=BCH means its a batch job
if type=INT means its a interactive job
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / kcsyam
WRKACTJOB command, Job is runing in QBATCH subsystem =
batch job
Any other Subsystem (like Qinter)= Interactive job
| Is This Answer Correct ? | 2 Yes | 4 No |
Can we trigger an rpg program which has user interaction with display file when updating a file using the command ADDPFTRG?
difference between 1:%found and %equal built function in detail with example .
1.Write code to read the records from a file and load an array of size 99? Make sure that you take care of all the error conditions?
i would like to know under what circumstance the object will get locked on AS400.
In single page subfile,if I select the mutiple options in 1 page and without pressing enter,I press rollup key (pagedown).In such case how I can handle it in rpg becasue in single page we have to handle it in pgm. It would be helpful if any one answer with coding
4 Answers Infinite Computer Solutions,
What is the RPG cycle?
i 'm new to as/400.in an interview i was asked this question.give a practical example for passing information or data through local data area. I know only that data area is an object used to store tiny bits of data or it can store one value at a time and it is used to store frequently changing values or datas.thats all i know about data area can any one tell me how local data area and user defined data area are used to pass data between jobs with a example or coding.thanks in advance.
Can a indexed file be accessed in arrival sequence in RPG?
how can I tell when to replace the array?
How to search particular records from the database file in rpg?
Can you copy the records created by the OPNQRYF to other files and how?
which MONMSG will give higher priority in CL program? I know MONMSG are of two types. Program Level Monmsg and Command Monmsg?