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

IDCAMS - DASD - copying data from tape to PS


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

New User


Joined: 22 Apr 2008
Posts: 42
Location: coimbatore

PostPosted: Sun May 20, 2012 10:37 am
Reply with quote

I try to copy data from Tape file (it is 2011 Monthly back up data) to a PS File.I get the following error.Please help me.This file definitely cudnt be empty.Is there any error in my JCL.

JCL USed:
********

Code:
//STEP001  EXEC PGM=IDCAMS                             
//INPUT    DD DSN=TAPE.FILE,   
//            DISP=OLD,                                 
//            VOL=SER=L56531                           
//OUTPUT   DD DSN=FILE.ON.DASD,                 
//            DISP=(NEW,CATLG,DELETE),                 
//            UNIT=SYSDA,                               
//            DCB=(RECFM=FB,LRECL=5200,BLKSIZE=0),     
//            SPACE=(CYL,(900,12000),RLSE)             
//SYSIN    DD *                                         
  REPRO INFILE(INPUT) OUTFILE(OUTPUT) -                 
/*                                                     
//SYSPRINT  DD SYSOUT=*                                 
//SYSOUT    DD SYSOUT=*   

Error Message:
************
Code:
J E S 2  J O B  L O G  --  S Y S T E M  3 3 3 B

IEF233A M F0B9,L56531,,TSOXXXX,STEP001,  638             
        TAPE.FILE                 
IEF234E K F0B9,L56531,PVT,TSOXXXX,STEP001               
TMS014  IEF234E K F0B9,L56531,PVT,TSOXXXX,STEP001       
ACT002E    STEP001           IDCAMS   00:00:00.00  0012   


********************************* TOP OF DATA ************************
IDCAMS  SYSTEM SERVICES                                           TIME
                                                                     
  REPRO INFILE(INPUT) OUTFILE(OUTPUT) -                               
IDC4236I INPUT STREAM END-OF-FILE FOUND BEFORE END OF COMMAND         
IDC0002I IDCAMS PROCESSING COMPLETE. MAXIMUM CONDITION CODE WAS 12   
******************************** BOTTOM OF DATA **********************
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Sun May 20, 2012 11:37 am
Reply with quote

It is not complaining about you input backup file - if you READ your messages carefully you will find that it is complaining about your IDCAMS control cards.

Anoher thing - how was your tape fibackup cretaed - ADRDSSU, IDCAMS, IEBGENER, what???
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Sun May 20, 2012 1:55 pm
Reply with quote

Hi,

remove your - in your control cards.

IDCAMS is looking for more parameters.

Gerry
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 save SYSLOG as text data via P... All Other Mainframe Topics 1
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top