krsenthil85
New User
Joined: 31 Aug 2007 Posts: 55 Location: bangalore
|
|
|
|
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. |
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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. |
|