View previous topic :: View next topic
|
Author |
Message |
Jonnala
New User
Joined: 22 Sep 2006 Posts: 12
|
|
|
|
Hello,
0C4 problem has been solved. It was the problem while Link editing.
However,
Code: |
MOVE CORR EPAY-IN-REC
TO EPAY-OUT-REC |
is not working. It is generating 0C7 now.
Just tried movind with out CORR. All the records have been copied to output file, but Packed Fields in the input file are generated unintended values in the output file. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If you are getting an s0c7, most likely either the data is invalid or the input record layout is invalid. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Jonnala,
Before writing to output, initialize the output record. Try to use below code, it should work.
Code: |
2100-WRITE-PARA.
INITIALIZE EPAY-OUT-REC.
MOVE CORR TOPS-EXTRACT-EMPLOYEE-INFO
TO EPAY-OUT-REC.
WRITE EPAY-OUT-REC. |
Please let me know the results. |
|
Back to top |
|
|
Jonnala
New User
Joined: 22 Sep 2006 Posts: 12
|
|
|
|
Hi Anuj, No change in the result. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Initializing the receiving area for a move will not correct an 0c7 when there is bad input data to the move.
Please check the contents of each field against the "sending" data layout. |
|
Back to top |
|
|
|