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

doubt on VB and FB


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
muthukumarapandian

New User


Joined: 08 Oct 2004
Posts: 42
Location: chennai, india

PostPosted: Tue Mar 08, 2005 6:59 pm
Reply with quote

Hi,

I have a doubt I already created a dataset with recording format VB now i want to convert the same dataset in to FB, Is it possible ? if possible plz specify with Source code.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


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

PostPosted: Tue Mar 08, 2005 10:48 pm
Reply with quote

You can use the VTOF (or CONVERT) parameter of DFSORT's OUTFIL statement to convert from VB to FB. You can use the FTOV parameter to convert from FB to VB.

For more information on DFSORT's VTOF parameter, see:

www.ibm.com/servers/storage/support/software/sort/mvs/tricks/srtmst01.html#t11

For more information on DFSORT's FTOV parameter, see:

www.ibm.com/servers/storage/support/software/sort/mvs/tricks/srtmst03.html#t09
Back to top
View user's profile Send private message
sunnyk

New User


Joined: 20 Oct 2004
Posts: 59

PostPosted: Wed Mar 09, 2005 3:23 pm
Reply with quote

Hi muthu,
There are two ways to do this:
1.Go to file aid and copy from there and when u r copying dataset 'A' to dataset 'B' then give FB as recording format.Now your dataset will be of FB format.

2.Go to option 3.3(copy command) on main panel and copy A to B.Then when it asks for whether u want to keep the same attributes as of datset 'A'(option '1'),then select option '2'(as shown below in red) and give your own parameters for dataset 'B' and make recording format as FB or vice-versa .

-----------------------------------------------------------------------
Allocate Target Data Set
Command ===>

Specified data set B
does not exist.
If you wish to allocate this data set, select one of the options
below.

Allocation Options:
2 1. Allocate using the attributes of:
A
2. Specify allocation attributes

Use existing SMS attributes for option 1

Instructions:
Press ENTER to allocate data set.
Enter CANCEL or END to cancel allocation.

--------------------------------------------------------------------------
I hope its clear to you.

Thanks
sunny
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Doubt about pl/1 (job offer) General Talk & Fun Stuff 5
No new posts doubt when executing a file when logg... TSO/ISPF 2
No new posts Doubt in MFS IMS DB/DC 2
No new posts Doubt on GETMAIN, FREEMAIN behaviour CICS 3
No new posts Doubt in using command code O IMS DB/DC 4
Search our Forums:

Back to Top