A SERVICE OF

logo

BMC Software, Inc., Confidential and Proprietary Information
A-28 Administrative Products for DB2 Installation Guide
Batch Product Authorization
Figure A-14 Sample JCL for Running Batch Product Authorization
//JJJJJJJJ JOB ....................
//*
//SECSEC3B EXEC PGM=SECSEC3B,PARM='
prd
' <<<==== PRODUCT CODE
//STEPLIB DD DSN=BMC.INSTALL.LOAD,DISP=SHR
//*
//SYSLIB DD DSN=BMC.PRODUCT.LOAD,DISP=SHR <<==== REQUIRED
//SYSPRINT DD SYSOUT=* <<<==== REQUIRED
//*
//SYSIN DD *
**** PROCESS AN ADD PASSWORD AND LIST RESULTS ****
PSWD=AE@,82G,91#,C7$ NEWCPUID=11111-9021
**** PROCESS A DELETE PASSWORD AND LIST RESULTS ****
PSWD=BE@,AD0,32$,7C# OLDCPUID=31091-9121
**** PROCESS A REPLACE PASSWORD AND LIST RESULTS ****
PSWD=ARF,56C,##1,C7$ OLDCPUID=31001-3390 NEWCPUID=31091-3381
**** PROCESS A RESET PASSWORD
PSWD=123,456,789,ABC
**** PROCESS A TEMPORARY PASSWORD AND LIST RESULTS ****
PSWD=AE@,B32,#1C,D7#
**** REPORT THE PROCESSOR INFORMATION AND AUTHORIZATION ****
LIST
Additional Information
Information required for the JCL script are as follows:
JOB Varies, depending on your system.
EXEC Identifies the program (SECSEC3B) and passes the product code in the
PARM field. Replace prd with the three-character product code.
STEPLIB DD Identifies the load library in which SECSEC3B resides. (This is optional if
SECSEC3B resides in LINKLIST or is specified in JOBLIB.)
SYSLIB DD Identifies the product load library. Product-authorization tables are stored and
updated in this data set.
SYSPRINT DD Enables the product to issue messages and output from the LIST control
statement.
SYSIN DD Identifies the location of the control statements that define the actions the
program is to take. See the following section, “Control Statements and
Keywords” on page A-29 for a description of these control statements.