Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
OUTREC FIELDS=(1,3,4:132,30,34:14,9,43:1,13,56:31,100,157:16

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: OUTREC FIELDS=(1,3,4:132,30,34:14,9,43:1,13,56:31,100,157:16
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Sum the fields in particular format f... sharana64 DFSORT/ICETOOL 9 Fri Jan 05, 2018 1:11 am
No new posts SORT BUT RETAIN HIGHEST VALUE ON NON-... leondan22 DFSORT/ICETOOL 2 Thu Dec 14, 2017 8:13 pm
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 2 Wed Dec 06, 2017 1:50 am
No new posts OUTREC with ALter Command scorp_rahul23 DFSORT/ICETOOL 1 Wed Nov 22, 2017 3:10 pm
No new posts Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us