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

Copy contents of VSAM file to normal PS using IDCAMS


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

New User


Joined: 10 Jan 2007
Posts: 13
Location: Chennai

PostPosted: Tue Feb 20, 2007 2:08 pm
Reply with quote

i want to copy contents of VSAM file to normal PS. I am using IDCAMS utility..i am getting MAXCC 12 ,unable 2 open i/p file.. plz help
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Tue Feb 20, 2007 2:24 pm
Reply with quote

Hi there,

Please find the following JCl. Its working for me

Code:
//STEP1  EXEC PGM=IDCAMS                   
//SYSOUT    DD SYSOUT=*                     
//SYSPRINT  DD SYSOUT=*                     
//SYSIN  DD     *                           
  REPRO -                                   
  INDATASET(VSAM.DATA.SET) -   
  OUTDATASET(SEQ.DATA.SET)             
/*   
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 How to split large record length file... DFSORT/ICETOOL 7
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top