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

OUTREC in SORT to include spaces in OUTPUT File


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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
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 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 TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
Search our Forums:

Back to Top