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 / sweta p rao

QUSRJOBI API can be used to find out whether the job is
interactive or batch from RPG program

Field QUSJT04 will contain B for batch or I for interactive

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we know running job is batch or interactive?

877


What is the difference between copybooks and subprocedures in as400?

1096


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

782


Explain mdt?

878


What is file identifier where we can use?

856


How to declare the pull button in AS/400..

2120


How Chain operation copies the record's data to the input buffer for the program?

1330


what is program status data structure?

1818


what is the rpg system?

932


How many program bind in one module....

2366


How to write record if no field or the field are different in physical file in rpgle ?

703


How would display prime numbers using CL program?

5970


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

2185


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?

730


what are the key words you must use when using a subfile?

900