Appendices

Appendix A: Sample JCL members

Appendix A gives listings of members on the distributed DB2 Manager sample JCL library.

LCDDB2

Member LCDDB2 is a sample procedure for execution of the DB2 Manager control region started task.

//*

Lifecycle Director

 

//*

 

//*

DB2 Manager started task procedure.

 

//*

Change history:

 

//*

 

//*

19-Mar-03 GW V1.1 CREATED.

 

//*

02-Apr-04 GW V1.1 Re-branded.

 

//*

Edit each of the lines marked "<===" to update:

 

//*

 

//*

1. Name of installed DB2 Manager load library

 

//*

 

//*

2. Name of installed Archive Manager load library

 

//*

3.

Name of Archive Manager parameter library

 

//*

If any of the above load libraries are present in the

 

//*

 

//*

system linklist, they may be omitted from the STEPLIB

 

//*

concatenation in this procedure.

 

//*

Add one OTASxxxx entry for each Archive Manager database

 

//*

 

//*

used for storage of migrated rows from DB2, where

 

//*

"xxxx" is the unique 4-character value used

 

//*

to identify an Archive Manager database. Each

 

//*

entry should specify the name of the primary index

 

//*

dataset for the corresponding Archive Manager database.

 

//*

 

PROC SIZE=6192K

 

//LCDDB2

 

//*

 

EXEC PGM=OTDBP200,REGION=&SIZE

 

//LCDDB2

<===

//STEPLIB

DD

DSN=Database.Manager.load.library,DISP=SHR

//

 

DD

DSN=Archive.Manager.load.library,DISP=SHR

<===

//SYSPARM

DD

DSN=Database.Manager.parameter.library,DISP=SHR <===

//SYSPRINT DD SYSOUT=*

 

//*

 

Archive Manager database list

 

//*

 

 

//*

 

 

DSN=Archive.Manager.database.index,DISP=SHR

<===

//OTASxxxx DD

//*

 

 

 

 

172

DB2 Manager User Guide

 

StorageTek Proprietary

Page 175
Image 175
StorageTek 312564001 manual Appendices, Appendix a Sample JCL members