How to copy CDBALOAD to an APF authorized load library?

book

Article ID: 32887

calendar_today

Updated On:

Products

CA RC Compare for DB2 for z/OS CA Database Analyzer for DB2 for z/OS CA Fast Unload for DB2 for z/OS CA Fast Check for DB2 for z/OS CA Fast Index for DB2 for z/OS CA Fast Load for DB2 for z/OS CA Rapid Reorg for DB2 for z/OS

Issue/Introduction

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 

Environment

Release:
Component: GEN