Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
doubt on VB and FB

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
muthukumarapandian

New User


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

PostPosted: Tue Mar 08, 2005 6:59 pm    Post subject: doubt on VB and FB
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
References
Frank Yaeger

DFSORT Moderator


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

PostPosted: Tue Mar 08, 2005 10:48 pm    Post subject:
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:

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

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

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

Active User


Joined: 20 Oct 2004
Posts: 59

PostPosted: Wed Mar 09, 2005 3:23 pm    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1