How do you find whether a job is a batch job or interactive?
Answers were Sorted based on User's Feedback
Answer / syam
RTVJOBA command if Type = 0 means Batch job
Type = 1 means Interactive job
| Is This Answer Correct ? | 21 Yes | 1 No |
Answer / srinivas yadav
WRKACTJOB command and check type,
if type=BCH means its a batch job
if type=INT means its a interactive job
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / kcsyam
WRKACTJOB command, Job is runing in QBATCH subsystem =
batch job
Any other Subsystem (like Qinter)= Interactive job
| Is This Answer Correct ? | 2 Yes | 4 No |
There is a excel sheet having details of Old account number and new account number. I need to update these details in my AS400 files. i.e. all the records having old account number should be replaced with new account number. There can be 100 or 200 or 300 PFs...no fix files known. how can we do this?Solution should be performance oriented
what r drawbacks of OPM? Why do we go for ILE RPG?
i want to retrieve record b/w 2 dates in as400
how do u find whether a record is locked or not??
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?
how can an indexed file be used as arrival sequence in RPG?
suppose we have 10 members in physical file and i have to use 4 out of 10 so how can we read this in RPG
1.Suppose my file has 10 fields and I want to make the 2nd field Zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation? 2. Assume my file has 100 records and I want to see only first 10 records. Is this possible through LF? 3.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? 4.What is difference between Bind by copy and bind by reference?
what is importance of 'MAPFLD' IN OPNQRYF FILE ?
What is the significance of UDATE?
How to read alternative records in a pf by using rpg?