So If I run some JCL thus:-
//JOBNAME JOB 0,'NDVR BATCH',CLASS=N,NOTIFY=&SYSUID
//*
//NDVRADMN EXEC PGM=NDVRC1,PARM='ENBE1000'
//C1MSGS1 DD SYSOUT=*,OUTLIM=16777215
//
C1MSGS2 DD SYSOUT=*
//APIPRINT DD SYSOUT=Z
//BA DD DSN=BATCH.ADMIN.OUT,
// DISP=(NEW,CATLG),LRECL=80,RECFM=FB,
// SPACE=(TRK,(5,5))
//SYSTERM DD SYSOUT=*
//SYSABEND DD SYSOUT=*
//ENESCLIN DD *
BUILD SCL FOR SHIPMENT DESTINATION 'SHIP1'
TO DDNAME 'BA'
.
BUILD SCL FOR SHIPMENT DESTINATION 'SHIP2'
TO DDNAME 'BA'
.
/*
Without the fix, the dataset declared on ddname BA only has the scl for destination SHIP2 (the last action in the input), but with the fix applied I get the SCL for detsination SHIP1 & SHIP2 (all actions in the input)
This fix does not just apply to shipment destination batch admin, it is all batch admin commands that write to a sequential dataset.
Stuart