When using the processor below for a LOADONLY element, if the OLIB (output library) is defined as a regular PDS, ACM correctly captures the association as an output component.
However, if the library is defined as PDSE, ACM either ignores it or lists it as an INPUT component!
//STEP! PROC LOADLIB='NDVR.&C1SYSTEM..&C1STAGE..LOAD'
//*
// IF &C1ACTION = 'ADD'
// OR &C1ACTION = 'UPDATE' THEN
//ADDCOPY EXEC PGM=IEBCOPY
//SYSPRINT DD SYSOUT=*,
// FREE=CLOSE
//SYSUT3 DD UNIT=SYSDA,
// SPACE=(CYL,20)
//SYSUT4 DD UNIT=SYSDA,
// SPACE=(CYL,20)
//ILIB DD DSN=&C1USRDSN,
// MONITOR=COMPONENTS,
// DISP=SHR
//OLIB DD DSN=&LOADLIB,
// DISP=SHR,
// MONITOR=COMPONENTS
//SYSIN DD *
C I=ILIB,O=OLIB
S M=((&C1ELEMENT,,R))
/*
//*
// ENDIF
//*
All supported releases
This is a known limitation of IEBCOPY. Use the Endevor Utility - BSTCOPY instead. If IEBCOPY is being used because BSTCOPY does not support reblocking, it is recomended that two processor steps are used:
1) IEBCOPY to a temp data set with reblocking
2) BSTCOPY from temp data set to the final target data set