IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Converting all PD Fields in a dataset to ZD.


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Jonnala

New User


Joined: 22 Sep 2006
Posts: 12

PostPosted: Mon May 28, 2007 6:59 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon May 28, 2007 10:54 pm
Reply with quote

Hello,

If you are getting an s0c7, most likely either the data is invalid or the input record layout is invalid.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue May 29, 2007 12:23 pm
Reply with quote

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
View user's profile Send private message
Jonnala

New User


Joined: 22 Sep 2006
Posts: 12

PostPosted: Tue May 29, 2007 6:48 pm
Reply with quote

Hi Anuj, No change in the result.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue May 29, 2007 7:11 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top