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

Changing Columns in a VARIABLE LENGTH FILE


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

New User


Joined: 28 Feb 2008
Posts: 21
Location: china

PostPosted: Sun Jul 25, 2010 10:04 am
Reply with quote

thank you very much, sqlcode1,
you are right,
I miss sort key.

two methods all submit successfully.
Back to top
View user's profile Send private message
zawx

New User


Joined: 28 Feb 2008
Posts: 21
Location: china

PostPosted: Sun Jul 25, 2010 10:09 am
Reply with quote

Code:

INREC IFTHEN=(WHEN=INIT,OVERLAY=(16:5,3)),             
      IFTHEN=(WHEN=INIT,OVERLAY=(5:8,3,8:16,3,11:11,5))
 SORT FIELDS=(5,3,CH,A,         --> your key2 from original file
              8,3,CH,A)         --> your key1 from original file                                           
OUTREC BUILD=(1,15) 


the sysin run error, target records change to fix length(max length).
Back to top
View user's profile Send private message
zawx

New User


Joined: 28 Feb 2008
Posts: 21
Location: china

PostPosted: Sun Jul 25, 2010 10:10 am
Reply with quote

thanks for your helps!
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Store the data for fixed length COBOL Programming 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top