Copying PDSE to PDSE



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

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 :


IGW01550I 12000 OF 16897  MEMBERS WERE COPIED

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


jcl :


//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.
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

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.
User avatar
sergeyken
 
Posts: 408
Joined: Wed Jul 24, 2019 10:12 pm
Has thanked: 6 times
Been thanked: 40 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post