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: 2276
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: 2276
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
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 DB2 - TERMINATE utility vasanthz DB2 5 Mon May 15, 2017 11:49 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am


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