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 / sreedhar reddy
in RPG, Use PSDS data structure to find Job name.
position 244 to 253 is Job name.
D JOB_NAME 244 253 Job name
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is the difference between do while and do until?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
what are the key words you must use when using a subfile?
How to declare the pull button in AS/400..
what is the necessary keyword needed to scroll subfile records?
How to handle duplicate error handling in RPG?
How Chain operation copies the record's data to the input buffer for the program?
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...?
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?
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
what is an online rpg?
What are the types of identifiers?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
what is *place and *auto keyword in prtf ?plz explain
How to select highest score of each subject or how to select highest income of every month?