Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

OUTREC in SORT to include spaces in OUTPUT File

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
ujwalavenu
Currently Banned

New User


Joined: 07 Feb 2006
Posts: 7
Location: Hyderabad

PostPosted: Wed Oct 11, 2006 8:58 pm    Post subject: OUTREC in SORT to include spaces in OUTPUT File
Reply with quote

Hi,


Input file length is 10 bytes. I would like to extend Output File to 20 bytes with 10 bytes as spaces after 5th byte in the Input file.

I coded as below, Please let me know which one is the correct and effective way or any other alternative.


OUTREC = (1,5,10X,6,5)

OR

OUTREC = (1,5,C' ',6,5)

OR

OUTREC = (1,5,10C'',6,5)

Thanks and Regards.
Back to top
View user's profile Send private message

MFRASHEED

Active User


Joined: 14 Jun 2005
Posts: 186
Location: USA

PostPosted: Wed Oct 11, 2006 9:47 pm    Post subject: Re: Reg: OUTREC in SORT to include spaces in OUTPUT File
Reply with quote

Code:

OPTION COPY                     
OUTREC FIELDS=(1:1,5,10X,16:5,5)

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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us