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....?
Answers were Sorted based on User's Feedback
Answer / reshma
Hi
First check the job using option 7
then press shift esc +3
then use the option 14 to see the open files
there u can check for which RRN the record is stuck for
that file.
thanks
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / 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 |
Answer / syam
When MSGW display, give option "D" to print a DUMP. Open
that DUMP you can find some values of same record. Use
DSPPFM, there you search for that value. Close to this
value you can find that non numberic data.
| Is This Answer Correct ? | 2 Yes | 3 No |
How to position the cursor on a display file at a desired location.
1) Can we declare a Display file in CL? 2) How many no. of files can be declared in a CL? 3) What is Non-Join Logical file and its importance?
what are the different methods to access seu?
what is the maximum number of parameters allowed in rpg?
what are the two record formats a subfile contain ?
what would be the effect on the field where reverse image, underline and highlight display attributes are active ?
Difference Between Source Physical File & Physical File?
How are the objects stored on AS/400?
Where would you use Override Data Base File?
1) Suppose we call a pgm from CL, how come AS400 system knows whether the called pgm is to be interactive one or batch one? 2)How many members can exist in a PF?
I have 1 rd in my flat file. say reord from 1 to 10 position : 'AS400NDB2400' I need to change the value from N to Y using SQL stmt ...How can I update this....?
can we define multi-dimensional arrays in rpg ?