Job is in MSGW while reading the input file and writing a
new record / updating a reacod due to Duplicate data error.
What action would you take ( C D I R )...?
Answer Posted / ravi
If a driver CL is there for the RPG, then take a 'C' on RPG, so that lock will be released. Take the RRN of the file using JOB log before cancelling the RPG. Check the record and delete it. Then take a 'R' on CL. Job will run fine.
You can also take an I if you do not want to write it again.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
are there any useful c runtime apis that I can call from rpg iv?
how do I declare a table or array in rpg iv?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
what is the difference between do while and do until?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
what is data area and how it is used in rpg program ?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
What is the difference between copybooks and subprocedures in as400?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
how can I tell when to replace the array?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
what is *place and *auto keyword in prtf ?plz explain
What are the types of identifiers?