Applying and managing passwords with the batch interface
This topic describes the batch interface that you can use for product authorization outside of the Installation System. You can use the batch interface to:
- Process (add, delete, and modify) passwords for a single product
- Process passwords for multiple products at one time
- Obtain current product authorization and processor information
You can find product-specific JCL samples in your JCL library or the Installation System library.
Important
The passwords that are created with the PGM=BLFSEC3B program are compatible with the passwords that are created with the SECSEC3B program.
This topic contains the following sections:
To apply passwords to a single product
To apply passwords to multiple products at one time
Sample JCL for product authorization
The following figure is a sample of the JCL used to run the product authorization batch utility.
Sample JCL for running batch product authorization
The following table lists information that is required for the JCL.
JCL statements
JCL statement | Description |
---|---|
JOB | Varies, depending on your system |
EXEC | Identifies the program (BLFSEC3B) and identifies a BMC product in the PARM keyword Replace PPP with the three-character product code (see Products that use the BMC Product Authorization utility). |
STEPLIB DD | Identifies the load library in which BLFSEC3B resides This statement is optional if BLFSEC3B resides in LNKLST or is specified in JOBLIB. |
SYSLIB DD | Identifies the password 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 which actions the program should take For a description of these control statements, see Control statements and keywords. |
Control statements and keywords
Some tasks require different input parameters, depending on the type of password that you are installing. The sample JCL shows various tasks that you can perform by using the batch version of product authorization. You must modify the JCL to include only the tasks that you want to perform.
The following syntax rules apply to the control statements:
- Control statements can begin in any column.
- Uppercase letters are required.
- You must insert at least one blank space between individual keywords and data fields. Multiple blank spaces are acceptable.
- To insert comments, type an asterisk (*) in column 1 of each line that contains the comment. Comments following keywords are not allowed.
- You cannot specify the LIST keyword on the same line as PSWD, NEWCPUID, or OLDCPUID.
The following table describes the control statement keywords.
Control statement keywords
Keyword | Data | Explanation |
---|---|---|
PSWD | 12-character password that is formatted as four fields of three characters each | Valid characters are alphanumeric (excluding letters I and O ). Valid special characters are =, +, and @. You can substitute the asterisk (*) for the 'at' sign (@) when @ is not available on the keyboard. You can enter the password with a comma or blank separating each of the four fields (123,456,789,ABC or 123 456 789 ABC) or as 12 continuous characters (123456789ABC). |
NEWCPUID | Five-digit serial number, followed by a hyphen and a four-digit model number | The serial number and the model number must be hexadecimal characters and must be separated by a single hyphen. |
OLDCPUID | Five-digit serial number, followed by a hyphen and a four-digit model number | The serial number and the model number must be hexadecimal characters and must be separated by a single hyphen. |
LIST | Not applicable | This keyword prints a report that shows the contents of the product authorization tables and information about the processor on which the job ran. |
Check return codes
After you run a batch job to perform product authorization, check the job’s return code to ensure that the job completed successfully.
The following table lists the return codes that the batch Production Authorization utility generates.
Return codes from the batch Product Authorization utility
Code | Explanation |
---|---|
0 | All requests completed successfully. See the SYSPRINT output for messages about each operation. |
4 | A LIST was requested, but no tables were in the load library. |
8 | An error prevented completion of some or all of your requests. See the SYSPRINT output for messages about the error and any completed operations. |
Comments
Hello, Can you please check if the commas in the password coding are correct. We code password without commas but with blancs. Thanks Feli
Hi, Feli. The writer who is in charge of this content is checking on it now. We will get back to you as soon as we have an answer. Thanks for contacting us!
Hi, Feli. In this topic's "Control statement keywords" table, the writer added the following clarification for the PSWD keyword:
"You can enter the password with a comma or blank separating each of the four fields (123,456,789,ABC or 123 456 789 ABC) or as 12 continuous characters (123456789ABC)."
We hope this helps. Again, thanks for your input!
Thanks, Dottie
Log in or register to comment.