how can we know running job is batch or intractive ?
i need all the possibilites.........plz help me

Answers were Sorted based on User's Feedback



how can we know running job is batch or intractive ? i need all the possibilites.........plz help m..

Answer / nisha

From a CL program you can do a RTVJOBA command, if the job
type value is 0 then batch job, if 1 then interactive job.
Can take a WRKSMBJOB and see the value in TYPe field. If
*INT then it is interactive, If *BCH,then batch job.

Is This Answer Correct ?    21 Yes 1 No

how can we know running job is batch or intractive ? i need all the possibilites.........plz help m..

Answer / gaurav

To check whether a job is a batch or interactive
type DSPJOB,select option 1 ,then in subsystem
check what it is QBATCH or QINTER..
or go for DSPJOBD

Is This Answer Correct ?    5 Yes 0 No

how can we know running job is batch or intractive ? i need all the possibilites.........plz help m..

Answer / mathankumar

we know running a job is batch or intractive by using
WRKACTJOB Command.

Is This Answer Correct ?    5 Yes 3 No

Post New Answer

More RPG400 Interview Questions

1.I Have a physical file , i want to read the data from the each and every member of the File in the CL Program.How do you achieve this. 2.How do you do the same in RPG?. do think is it possible to read data from all the members in the RPG?

2 Answers   Cap Gemini,


I have two sessions S1 & S2 under this 3 jobs(say j1,j2,j3 under session S1) And 2 jobs(Say j4, j5 Under session S2)is running. How many QTEMP & how many LDA will create for the same.

9 Answers   IBM,


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

0 Answers  


I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes, then how do I do it ?

2 Answers  


i'm working on progA , in that program i want to see the userids of the users who work on this program?

10 Answers   Four soft,






Explain mdt?

0 Answers  


Hi, I am getting the error in RPG (All Record Formats for externally-described file ABCD ignored or dropped due to error; file ignored.) Please suggest any

2 Answers   Satyam,


Can we create 300 logical files based on a single physical file using the CRTLF command only once?.

8 Answers  


suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis

1 Answers  


Suppose I have 3 jobs a b and c. I want to submit b after successful completion of a and want to submit c after successful completion of b. Without using job scheduler or job queue, how can I do that through cl program?

1 Answers  


what was the robotech rpg?

0 Answers   IBM,


What is the purpose of record level identifier?

0 Answers  


Categories