IAMZAPOP overview and JCL
The various installation options include defaults for setting file attributes when defining a file, enabling special features in IAM, and other processing options.
Running a batch job
To run IAMZAPOP as a batch job, use the following JCL:
//STEPLIB DD DISP=SHR,DSN=iam.loadlib
//SYSLIB DD DISP=SHR,DSN=iam.loadlib
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
put control cards here
/*
Example of JCL to run IAMZAPOP
Syntax | Description |
---|---|
EXEC PGM= | Specifies the program name of the IAMZAPOP. |
STEPLIB DD | Specifies a STEPLIB to the same library as the SYSLIB to make sure that you run with the IAMZAPOP version that matches the Global Options table that you are modifying |
SYSLIB DD | (Required) Specifies the load module library in which the IAM Global Options table resides |
SYSPRINT DD | Specifies the output message data set (usually a SYSOUT data set) |
COPYTODD DD | Specifies the load library containing the target option table for the COPY operation The changed options in the SYSLIB option table are copied to the target option table. This DD is required only for the COPY operation. |
SYSIN DD | (Required) Specifies the control statement data set required for all functions (usually an input stream or DD * data set) |
Invoking IAMZAPOP through IAM Panel
Use this procedure to invoke IAMZAPOP through IAM panel:
In the IAM PRIMARY OPTION MENU, type U and then press Enter.
--------------------------- IAM PRIMARY OPTION MENU ---------------------------
OPTION ===>
I - Allocate (DEFINE) a new IAM Dataset Ver 11.1.00
V - Allocate (DEFINE) a new VSAM Cluster
D - Delete a Dataset, Cluster, Path, or Alternate Index
C - Copy an IAM Dataset, VSAM KSDS, or VSAM ESDS
M - Move an IAM Dataset, VSAM KSDS, or VSAM ESDS
R - Rename a Dataset, Cluster, Path, or Alternate Index
U - Invoke an IAM Utility program
blank - Display IAM Dataset or VSAM Cluster InformationIn the IAM UTILITY PROGRAM SELECTION MENU, type Z and then press Enter.
---------------------- IAM UTILITY PROGRAM SELECTION MENU ---------------------
OPTION ===> Z
S Specify utility print dataset allocation parameters
I BLDINDEX - Build Alternate Index
M IAMBMON - Invoke IAMRLS Monitor
R IAMRECVR - IAM file diagnostic and recovery utility
V IAMSTATS - IAM VSAM Interface (VIF) module information
X IAMXMONI - IAM Execution Monitor/ISPF for CICS Regions
Z IAMZAPOP - IAM options table utility
P IAMUPTFS - IAM PTF Level ReportingIn the IAMZAPOP FUNCTION SELECTION MENU, you can use various IAMZAPOP commands.
For detailed information about the IAMZAPOP commands, see 91.02 IAMZAPOP – Format and Options and for ZAP commands, see 91.03 IAMZAPOP – ZAP Command. The following is an example of a sample ZAP command to change IAM Global option.----------------------- IAMZAPOP FUNCTION SELECTION MENU ----------------------
OPTION ===> Z
L LIST - List IAM options
R RESET - Reset IAM options
C COPY - COPY IAM options
A AUDIT - AUDIT IAM options
Z ZAP - CHANGE IAM options
IAM Library Name ===> 'MVSUXS.IAM0316E.IAM.IAMLINK'
Print DSNAME ===> (optional)
COPY to DSNAME ===> (for copy)
ZAP COMMAND ===> PE=5,ENABLE=(BUF64,CICSBUF64), (65 Chars)
===> DISABLE=ACTSPACE
Running TSO
You can run the IAMZAPOP under TSO. This program prompts you for the commands. The END command saves the new options (if any) and terminates the program. The allocations are required to run IAMZAPOP in the TSO foreground are as follows:
ALLOC F(SYSPRINT) DA(*)
ALLOC F(SYSIN) DA(*)
IAMZAPOP
------- or if the IAM library is not in LINKLIST-------
CALL 'iam.library(IAMZAPOP)'