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

Unloaded Dataset Error


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

New User


Joined: 31 Aug 2007
Posts: 55
Location: bangalore

PostPosted: Tue May 12, 2009 9:12 pm
Reply with quote

Hi,

I tried to run the following JCL with IEBCOPY Utility

Code:
//STEP1 EXEC PGM=IEBCOPY                                       
//SYSPRINT DD SYSOUT=*                                         
//SYSUT1 DD DSN=GRT.GIPISXR.AC701P.REPORT1,DISP=SHR             
//SYSUT2 DD DSN=GRT.GIPISXR.AC701P.COPY1,                       
//            DISP=(NEW,CATLG,DELETE),                         
//            UNIT=SYSDA,                                       
//            DCB=(BLKSIZE=0,LRECL=133,RECFM=FB),               
//            SPACE=(TRK,(100,100),RLSE)                       
//SYSIN DD *                                                   
 COPY INDD=SYSUT1,OUTDD=SYSUT2                                 
/* 



I got the following error when gave JJ

Code:
JCL RECFM 'FB' DOES NOT MATCH THE VOLUME ENTRY RECFM 'VS'.     

DATA SET 'GRT.GIPISXR.AC701P.REPORT1' IS NOT AN UNLOADED DATA 
SET.   


Record Format for the I/P file is FB only.

Could any one please let me know on this.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue May 12, 2009 9:21 pm
Reply with quote

IEBCOPY is used for partitioned data sets. As the error message is quite clearly telling you, your input file is not an IEBCOPY unloaded PDS that can be reloaded by IEBCOPY.

If you're wanting to copy a flat file, use IEBGENER. Otherwise, give us more details about your input and output files and what you're trying to do with them.
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 Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
Search our Forums:

Back to Top