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

Copy VSAM file to PS file


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
senthilmurugan

New User


Joined: 19 Feb 2008
Posts: 15
Location: chennai

PostPosted: Tue Feb 19, 2008 8:34 pm
Reply with quote

Can you give the JCL for copying the VSAM to PS file?
Back to top
View user's profile Send private message
Skolusu

Senior Member


Joined: 07 Dec 2007
Posts: 2205
Location: San Jose

PostPosted: Wed Feb 20, 2008 2:57 am
Reply with quote

senthilmurugan wrote:
Can you give the JCL for copying the VSAM to PS file?


senthilmurugan,

Code:

//**********************************************************
//* THIS JOB WILL MAKE A BACK UP COPY OF THE VSAM CLUSTER  *
//* TO A SEQUENTIAL FILE                                   *
//**********************************************************
//STEP0100 EXEC PGM=ICEMAN                                 
//SYSOUT   DD SYSOUT=*                                     
//SORTIN   DD DSN=your vsam cluster,                           
//            DISP=SHR                                     
//SORTOUT  DD DSN=your seq backup file,                     
//            DISP=(NEW,CATLG,DELETE),                     
//            UNIT=SYSDA,                                   
//            SPACE=(CYL,(X,Y),RLSE)                       
//SYSIN    DD *                                             
  SORT FIELDS=COPY                                         
//*     
Back to top
View user's profile Send private message
senthilmurugan

New User


Joined: 19 Feb 2008
Posts: 15
Location: chennai

PostPosted: Thu Feb 28, 2008 3:38 pm
Reply with quote

~thnx!~
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top