Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

IDCAMS - DASD - copying data from tape to PS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
d_sarlie

New User


Joined: 22 Apr 2008
Posts: 36
Location: coimbatore

PostPosted: Sun May 20, 2012 10:37 am    Post subject: IDCAMS - DASD - copying data from tape to PS
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: 1825
Location: UK

PostPosted: Sun May 20, 2012 11:37 am    Post subject:
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: 1703
Location: Australia

PostPosted: Sun May 20, 2012 1:55 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 18 Thu Jul 13, 2017 2:11 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts NDM syntax checking without actually ... GAPX1 All Other Mainframe Topics 0 Wed Jun 07, 2017 2:36 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us