Previous Topic: Setting an Action for the CLEAR KeyNext Topic: Maintaining Authorizations


Customizing the CA Ideal Options Block Using IDOPTSCB

To change the CA Ideal Options, you must use the IDOPTSCB macro to reassemble the source member IDOPTS, and then link edit @IIDOPTS to implement the changes. (In CICS, you must recycle CICS to implement the changes.) The CA Ideal install job for custom assemblies contains a model of the IDOPTS table that can be used to modify the distributed default values. It also contains JCL that can be used to assemble and link edit the IDOPTS table into @IIDOPTS.

For VSE, the IDOPTS.A book, in the distribution library, contains a model of the IDOPTS table that can be used to modify the distributed default values. The IDOPTASM.Z book, in the distribution library, is the sample for assembling and link editing the IDOPTS table into phase @IIDOPTS.

The IDOPTSCB macro with an explanation of all the parameters that are applicable to FUNC=START is shown following. See Maintaining Authorizations in this chapter for information about parameters specified for FUNC=ATZ. The IDOPTSCB macro contains default values as shown.

IDOPTSCB FUNC=,                                                             X
	ATZEXIT=,              Optional Global Auth Exit Name                X
	COMMAND=,              Functional Authorization Name                 X
	DB2PLAN=IDP140DV,      Default DB2 Application Plan                  X
	DB2SYS=DSN,            Default DB2 Subsystem ID                      X
	DFLTUSR=NONE,          Default IDEAL Signon User-ID                  X
	DVWLIB=IDDVW,          Dataview Library                              X
	IDENT=IDEAL,           Product Panel Identifier                      X
	LEVEL=,                Minimum Level Of Authorization                X
	LMTBLD=DD,             Build Load Module Table?                      X
	MEMLIB=IDDAT,          Member Library                                X
	OBJLIB=IDXXXOBJ,       IDEAL Object Library Default                  X
	PLALIB=IDDVW,          Application Plan Library                      X
	PLTID=IDPI,            Transaction ID For PLT                        X
	PLTLOAD=NO,            Load Modules At PLT                           X
	PNLLIB=IDXXXPNL,       IDEAL Panel Library Default                   X
	PSWDIS=VISIBLE,        VISIBLE|INVISIBLE  In DIS USR                 X
	SECPRFX=$I,            Security Prefix For Resource Chks             X
	SORTLIB=,              VLS libs for sort work areas                  X
	SORTMS=IDSORTMS,       TRAN ID For Build Messages                    X
	SORTSZ=200704,         TRAN ID For Build  Size Parm                  X
	SORTWK=IDSORT01,       Batch Report Sort Work Area                   X
	SORTWP=,               Batch Report DOS WORK= Parm                   X
	SORTRC=10000000,       On-line Sort Max Number Recs                  X
	SRCLIB=IDXXXSRC,       IDEAL Source Library Default                  X
	TYPE=DC,                                                             X
	UIDCHK=YES             USER-ID Integrity Check Option

At a minimum, you must code the IDOPTSCB macro twice with FUNC=START and FUNC=END. To alter the command authorization levels, code one or more FUNC=ATZ macros.

FUNC=

Example

IDOPTS CSECT

    IDOPTSCB  FUNC=START,                              X
    PSWDIS=INVISIBLE,                                  X
    TYPE=DC
    IDOPTSCB  FUNC=ATZ,COMMAND=RUN,                    X
    ATZEXIT=RUNCHECK
    IDOPTSCB  FUNC=ATZ,COMMAND=CREATE-PGM,             X
    LEVEL=UPDATE
    IDOPTSCB  FUNC=ATZ,COMMAND=DEQUEUE,                X
    LEVEL=DISABLE
    IDOPTSCB  FUNC=ATZ,COMMAND=COPY-PGM-ACR-SYS,       X
    LEVEL=(UPDATE,CONTROL),                            X
    ATZEXIT=MYPROG
    IDOPTSCB  FUNC=END
END