I don't think you would have any issues unloading it as PDSE. I've used IEBCOPY 
to convert from PDS to PDSE. Use COPYMOD if it's a load.

//COPYN0 EXEC PGM=IEBCOPY,COND=(0,NE)
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=&NEW,DISP=SHR
//SYSUT2 DD DSN=&OLD,
//  DISP=(NEW,CATLG,DELETE),
//  DSNTYPE=LIBRARY,
//  UNIT=SYSDA,
//  DCB=(RECFM=U,LRECL=0,BLKSIZE=32760),
//  SPACE=(CYL,(233,50,500))
//SYSIN DD *
  COPYMOD OUTDD=SYSUT2,INDD=SYSUT1
  EXCLUDE MEMBER=$$$SPACE
/*

Manuel Seguin
Information Technology Specialist Programming
SECURITY ARCHITECTURE



Office of Information Technology Services
W.A. Harriman Campus, Building 8, 7th floor, Cube 113
Albany NY 12227
(518) 473-4002 

ITSM  L2 RT-BUS SYS SECURITY DTF
Group DL  tax.dl.OnLine-Systems

manuel.seg...@its.ny.gov 
www.its.ny.gov   

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Billy Ashton
Sent: Thursday, July 29, 2021 2:37 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Identifying PDS/E or PDS in IEBCOPY Unload

ATTENTION: This email came from an external source. Do not open attachments or 
click on links from unknown senders or unexpected emails.


Hey everyone, here is an odd question for y'all.
Is there any way I can tell from an IEBCOPY unload file (that I received from a 
vendor) whether it is an unload of a PDS or an unload of a PDS/E?
Since IEBCOPY is pretty particular about only loading full libraries back to 
the same source type, I was hoping I could look at byte 42 or something like 
that to know that I need to load this to a PDS/E.

Anybody have any hope for me here? (I know I can ask the vendor, but I wanted 
to confirm programmatically if possible).
Billy

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to