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

OUTREC FIELDS=(1,3,4:132,30,34:14,9,43:1,13,56:31,100,157:16


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
lekshmi_ci

New User


Joined: 14 Mar 2007
Posts: 60
Location: Thiruvananthapuram

PostPosted: Wed Jul 25, 2007 3:42 pm
Reply with quote

What does this mean

SORT FIELDS=COPY
OUTREC FIELDS=(1,3,4:132,30,34:14,9,43:1,13,56:31,100,157:162,863)

Please reply
Back to top
View user's profile Send private message
shankar.v

Active User


Joined: 25 Jun 2007
Posts: 196
Location: Bangalore

PostPosted: Wed Jul 25, 2007 4:21 pm
Reply with quote

1,3 -> values from position 1 and length 3 from input file to be in output file at the start i.e., position 1
4:132,30 -> values from postion 132 and length 30 from input file to be in output file start at position 4
34:14,9 -> values from position 14 and length 9 from input file to be in output file start at position 34
43:1,13 -> values from position 1 and length 13 from input file to be in output file start at position 43
56:31,100 -> values from position 31 and length 100 from input file to be in output file start at position 56
157:162,863 -> values from position 162 and length 863 from input file to be in output file start at position 157
Back to top
View user's profile Send private message
lekshmi_ci

New User


Joined: 14 Mar 2007
Posts: 60
Location: Thiruvananthapuram

PostPosted: Wed Jul 25, 2007 4:26 pm
Reply with quote

thank u shankar
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts question on Outrec and sort #Digvijay DFSORT/ICETOOL 20
No new posts Concatenate 2 fields (usage national)... COBOL Programming 2
No new posts Cobol COMP-2 fields getting scrambled... Java & MQSeries 6
No new posts Converting unpacked fields to pack us... SYNCSORT 4
No new posts Sort w/OUTREC Question DFSORT/ICETOOL 2
Search our Forums:

Back to Top