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 to call one program from another program in RPG? please help me with the code

1347


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

1162


what is an online rpg?

845


what is kids-rpg?

762


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1138






do you use message subfiles? What are the necessary keywords required coding a message subfile?

784


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2289


how can I tell when to replace the array?

781


What are the types of identifiers?

660


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

885


what do you mean by an input subfile, what are the keywords required?

894


How many program bind in one module....

2230


How can we know running job is batch or interactive?

748


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

616


what is the difference between do while and do until?

799