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

Copying FB dataset to VB dataset and vice verse


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

New User


Joined: 14 Apr 2005
Posts: 7
Location: Bhubaneswar

PostPosted: Thu Apr 14, 2005 7:03 pm
Reply with quote

Hi,

If we have one file declared as FB but we need to change it to VB without affecting data stored in it or vice verse without using COBOL program.

I am expecting it thru JCL.

Please suggest me.

Thanks,
Om
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Apr 14, 2005 7:06 pm
Reply with quote

This subject was just discussed here: ibmmainframes.com/viewtopic.php?t=2172
Back to top
View user's profile Send private message
sureshindira

New User


Joined: 21 Feb 2005
Posts: 10

PostPosted: Tue Apr 19, 2005 3:09 pm
Reply with quote

//FBVB JOB A92,PROGRAMMER
//S1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=A123456.SORT.SAMPIN,DISP=SHR
//VBOUT DD DSN=A123456.SORT.VSAMP,DISP=(NEW,CATLG,DELETE),
// UNIT=3390,SPACE=(CYL,(5,5))
//SYSIN DD *
OPTION COPY
OUTFIL FNAMES=VBOUT,FTOV
/*
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 FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top