Copying PDSE to PDSE

JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...
samb01
Posts: 431
Joined: Mon Nov 16, 2009 7:24 pm
Skillset: quite good
Referer: by web

Copying PDSE to PDSE

Postby samb01 » Fri Jun 25, 2021 1:58 pm

Hello,
i'm trying to copy PDSE to an othen empty PDSE because of a D37 in my first PDSE (Ebnd of volume)
I use IEBCOPY Program, but i have this error :

Code: Select all


IGW01550I 12000 OF 16897  MEMBERS WERE COPIED

IEB1130E A TERMINATING MESSAGE FROM FAMS PROCESSING APPEARS ABOVE -- DIAGNOSTIC
DIAGNOSTIC INFORMATION IS X'281D00AD'
 


jcl :

Code: Select all


//S1     EXEC PGM=IEBCOPY                
//SYSPRINT DD SYSOUT=*                    
//IN    DD DISP=SHR,DSN=PDSE.OLD.D37      
//OUT   DD DISP=SHR,DSN=PDSE.NEW  
//SYSIN DD *                              
   COPY INDD=((IN,R)),OUTDD=OUT          
 


i saw that :

https://www.ibm.com/support/pages/apar/OA43725

But i can't understand how can i fix it.

I allocated a other empty PDSE dataset in an other Volume with more space, but i still have the same error.
Thank's for your help.

User avatar
sergeyken
Posts: 458
Joined: Wed Jul 24, 2019 10:12 pm
Skillset: Assembler, JCL, Utilities, PL/I, C/C++, DB2, SQL, REXX, COBOL, etc. etc. etc.
Referer: Internet search

Re: Copying PDSE to PDSE

Postby sergeyken » Fri Jun 25, 2021 10:55 pm

Based on your DSN=PDSE.OLD.D37 I suspect that this input library is the result of System Abend D37 (e.g. failure in End Of Volume), isn't it? For instance, no new extent on the same volume, or no extra volume itself was available to increase the size of that library, so it failed with SD37, and with incorrect status of library directory (as one of possible reasons).

If so, the problem is not with your newly allocated copy, but with your old input library. The status of the old library after previous SD37 during its creation can be unpredictable; a serious recovery may be needed...
Javas and Pythons come and go, but JCL and SORT stay forever.


  • Similar Topics
    Replies
    Views
    Last post