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 )...?

Answers were Sorted based on User's Feedback



Job is in MSGW while reading the input file and writing a new record / updating a reacod due to Du..

Answer / selvam

take dump option(D) and delete the duplicate record and
retry the job.

Is This Answer Correct ?    10 Yes 0 No

Job is in MSGW while reading the input file and writing a new record / updating a reacod due to Du..

Answer / sudhir

Hi...You can give an 'I' and the job will continue
processing the next records..Note that this will not update
the record..

Is This Answer Correct ?    5 Yes 1 No

Job is in MSGW while reading the input file and writing a new record / updating a reacod due to Du..

Answer / 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

Job is in MSGW while reading the input file and writing a new record / updating a reacod due to Du..

Answer / anand

Some time you cant able to delete a duplicate record cause
this MSGW may lock that file so in this case you can give I
- ignore, so that record wont get lock,in the mean time imly
try to delete the duplicate records in second session. And
than now give Retrive - 'R'

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More RPG400 Interview Questions

what is estimation? and what is the level identifier parameter in PF?

3 Answers   TCS,


Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.

6 Answers  


Need a sql query: retrieve all duplicate records in table?

1 Answers  


i have 1000 records in pf.what are all the ways to read a particular name records in rpg?? ie.. in pf i have a name called demo appeared around 52 times hw will we read this particular records in rpg/400?.

11 Answers   IBM,


what is flat file?

1 Answers   IBM,


How Chain operation copies the record's data to the input buffer for the program?

0 Answers   IBM,


Anyone help me for the below question:- If problem/error occur in *PSSR subroutine,how should I handel it in RPG program.

1 Answers  


What are the values of NUM1 and NUM2 after executing the following code? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2+÷+ResultLenDHHiLoEq C MOVE *LOVAL NUM1 50 C MOVE *J-fIVAL NtJM2 52

2 Answers   Fiserv, IBM,


what is the difference between the procedure and module in ILERPG?

4 Answers  


1.Can any body share me about thease opcodes with example please.Im new for AS/400.Could u please tell me in real senario? 1.TESTN, 2.EVAL 3.EVALR, TIME, 4.MONITOR 5. ENDMON 6.ON-ERROR 7.COMMIT ROLLBACK?

1 Answers   CSC,


what is overlay? how can we pass parameters in cl or rpg programing? how can we get data area value in cl or rpg programming?

2 Answers   IBM, Patni,


Have a join logical file with more than one members with different record formats. So how can we read the different members from this file and also how we can read the different record format from the join logical?

3 Answers  


Categories