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 |
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
What is the purpose of FRCDTA keyword?
if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on which the pf is based.
What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file
How to create a key field for a logical file inside RPG?
How can you determine the number of characters in a variable?
this is rpg3 code W0RTN IFEQ @CN,002 what is the means @CN,002
A rpg or clp command to find if the file field is defined as a character or numeric field.
Hi, Can any body tell me ur experience on this questions? Questions: 1.what is the use of SFLRCDNBR other than subfile page display? 2.Which of the following operation cannot be used in conjuction with a file coded as device type disk?
how can I tell when to replace the array?
Q1.How we can copy the data of file one session to another session? Q2.how we can execute a loop infinitely in AS/400 coding? Q3.In ALDON tool,multitask is posible on a perticular object by the user?
The RP program is displaying records 11 times .But there are 10 records in a pf.(ie last record is displayed twice).How to display records only 10 times?