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



How can we find out whether the job is interactive or Batch through RPG program? 2) How can we fi..

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

How can we find out whether the job is interactive or Batch through RPG program? 2) How can we fi..

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

How can we find out whether the job is interactive or Batch through RPG program? 2) How can we fi..

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

How can we find out whether the job is interactive or Batch through RPG program? 2) How can we fi..

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

How can we find out whether the job is interactive or Batch through RPG program? 2) How can we fi..

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

How can we find out whether the job is interactive or Batch through RPG program? 2) How can we fi..

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

Post New Answer

More RPG400 Interview Questions

how do I declare a minor?

0 Answers   IBM,


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?

0 Answers  


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

0 Answers   IBM,


Setps to create .csv file on IFS folder in AS/400( V4R3)....?

3 Answers   TCS,


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?

8 Answers   HCL,






ESCAPE message sent by child program can be handled by parent program using which keyword?

2 Answers  


How can i keyed a flat file in RPGLE

5 Answers   IBM, Wipro,


What is the purpose of PUTOVR keyword?

2 Answers  


Write a program to display prime numbers between 1 to 100 using RPGLE.

1 Answers  


1.How to load Records of a Physical file(PF) in the reverse order, in CL program?

2 Answers   Cap Gemini,


what is ment by "MDT"

2 Answers   TCS,


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

0 Answers  


Categories