How to copy CDBALOAD to an APF authorized load library?

Document ID : KB000032887
Last Modified Date : 14/02/2018
Show Technical Document Details

When you plan to copy CDBALOAD to APF LOAD library and then reference it via an Alias, what needs to be considered?

 

1.       Rename dataset .CDBALOAD in HIGHLVL.OLD .  

2.      afterwards define an alias:

 

DEFINE ALIAS (NAME('HIGHLVL.CDBALOAD) -

RELATE('HIGHLVL.APFLOAD'))

 

//STEP1 EXEC PGM=IEBCOPY

//SYSPRINT DD SYSOUT=*

//IN DD DISP=SHR,DSN=HIGHLVL.CDBALOAD.OLD

//OUT1 DD DSN=HIGHLVL.APFLOAD,

// DISP=(NEW,CATLG,DELETE),

// DCB=(BLKSIZE=6144,RECFM=U),

// UNIT=3390,

// DSNTYPE=LIBRARY,SPACE=(23200,(22858,4031,1220))

//SYSUT1 DD UNIT=WORK1,SPACE=(CYL,(5,1))

//SYSUT2 DD UNIT=WORK1,SPACE=(CYL,(5,1))

//SYSIN DD *

COPYGRP INDD=((IN,R)),OUTDD=OUT1