Hi All, Can any one give me a suggestion for below prob

One job is in MSGW due to decimal dara error and I find out
stmt error and Value in DMUP.

but my file has millions of records.So how can i find out
on which record the error was occured....?

Answer Posted / kamlesh

use file information datastructure for ur pf in rpg pgm
then write below opcode
POST FILEINFORMATIONDS
before the statement which raise decimal data error. then
use DUMP opcode. finally u will get record number in file
info ds.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are dds required for subfile?

773


what are the different types of variables available in cl?

1341


what is the purpose of the indara keyword?

1374


What is array in as400? What are the types of array?

807


define the purpose of the *cat function?

1272


what are the limitations of cl (compare to rpg) ?

1883


why is as/400 called object oriented machine?

1244


can you specify a display file to be used in the following modes input,output, or combined modes ?

1192


what is procedure prototype and procedure interface.

836


. How to know why the OPM job is in MSGWAIT state?..WHAT COULD BE THE REASON FOR it?

7442


How to add 99 menu (page down) option in menu creation..

2118


how do you read data area in an rpg program?

1424


What is the draw back of Procedures? why we are going to Modules?

1450


Explain The Keywords Edtcde & Edtwrd?

1052


Can level check error occur if we do chgpf?

986