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
 

 

Utility to change VB file to FB file??

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

New User


Joined: 28 Sep 2005
Posts: 55
Location: USA

PostPosted: Tue Dec 02, 2008 6:08 am    Post subject: Utility to change VB file to FB file??
Reply with quote

Can anyone please tell me what utility and sysin would be required to change a VB file to a FB file?

I have a filie with:
DCB=(RECFM=VB,LRECL=238,BLKSIZE=242)

and would like to change it to a Fixed block file.

Thank you so much for your advice.

~Sharon
Back to top
View user's profile Send private message

Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2284
Location: @my desk

PostPosted: Tue Dec 02, 2008 6:45 am    Post subject:
Reply with quote

Quote:
Can anyone please tell me what utility and sysin would be required to change a VB file to a FB file?
Any sort utility - DFSORT or Syncsort installed at your shop will do. The below job could be used to do the conversion. SYSOUT will show the sort product info available in your shop.
Code:
//STEP1    EXEC PGM=SORT                                       
//SYSOUT     DD SYSOUT=*                                       
//SORTIN     DD DSN=...  Input fie,VB/LRECL=238                           
//SORTOUT    DD DSN=...  Output file,FB/LRECL=234
//SYSIN      DD *                                             
  OPTION COPY                                                 
  OUTFIL VTOF,BUILD=(5,234)                                   
/*
Back to top
View user's profile Send private message
Sysaron

New User


Joined: 28 Sep 2005
Posts: 55
Location: USA

PostPosted: Tue Dec 02, 2008 7:07 am    Post subject: THANK YOU arcvns !!
Reply with quote

This worked just GREAT !! icon_biggrin.gif
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2284
Location: @my desk

PostPosted: Tue Dec 02, 2008 7:17 am    Post subject:
Reply with quote

Sysaron,

If you're using DFSORT, I would suggest going through the DFSORT manuals listed in the IBM manuals section of this forum to get familiarized with the control statements.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Tue Dec 02, 2008 9:55 pm    Post subject:
Reply with quote

Sysaron,

For more information, see the "VB to FB conversion" Smart DFSORT Trick at:

www.ibm.com/systems/support/storage/software/sort/mvs/tricks/

You can access all of the DFSORT books and papers from:

www.ibm.com/systems/support/storage/software/sort/mvs/srtmpub.html

If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols.
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
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


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