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: 1209
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts To Populate Trailer cnt in the file w... SYNCSORT 1
Search our Forums:


Back to Top