How can we find out whether the job is interactive or Batch
through RPG program?
2) How can we find out through CL program?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / syam
use WRKACTJOB. There is "Type" field. If under Type any job
is showing "INT" = Interactive, 'BCH" = Batch, "SBS" =
Subsystem, "SYS" = System, "WTR" = Writer(Printer).
Batch job will run in QBATCH Subsystem/Job and Interactive
job will run in QINTER Subsystem/Job.
Is This Answer Correct ? | 17 Yes | 6 No |
Answer / 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 |
Answer / rashmimalpani
I think...Also for an RPG program if it has display-device
as WORKSTN then it should be interactive program... Please
correct me if m wrong
Is This Answer Correct ? | 11 Yes | 7 No |
Answer / 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 |
Answer / bhupendra tomar
through cl we can find through RTVJOBA cmd.
but in case of RPG i don't know. if you have idea about RPG
then reply
Is This Answer Correct ? | 1 Yes | 4 No |
how do I declare a minor?
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?
what are the key words you must use when using a subfile?
Setps to create .csv file on IFS folder in AS/400( V4R3)....?
1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?
ESCAPE message sent by child program can be handled by parent program using which keyword?
How can i keyed a flat file in RPGLE
What is the purpose of PUTOVR keyword?
Write a program to display prime numbers between 1 to 100 using RPGLE.
1.How to load Records of a Physical file(PF) in the reverse order, in CL program?
what is ment by "MDT"
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen