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
How would display prime numbers using CL program?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
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...?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
how do I play {insert rpg system here}?
how can I tell when to replace the array?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
what is the necessary keyword needed to scroll subfile records?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what is an online rpg?
what is the use of sflnxtchg?
what was the robotech rpg?
How to write record if no field or the field are different in physical file in rpgle ?
how do I preserve and clean the array?
what is the rpg system?