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 Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
No new posts Addition of two records on 2 fields amar143 SYNCSORT 8 Tue Oct 03, 2017 11:14 am
No new posts WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm
No new posts Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 3 Thu Jul 27, 2017 9:16 pm
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am

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