Installing AVZ interface for ACI
This section provides the installation requirements and installation steps for the AVZ interface for ACI when used with Software AG’s Natural via CICS and Batch.
Before you begin
- If using the Natural language with AVZ ACI support, the minimum recommended version of Natural is V 4.2.5.
- If you are using Natural security, you must create the AVZ Natural Library before adding Natural source distribution. If you are not using Natural Security, the library is created automatically.
- For CICS, the AVZ interface for CICS/TS must be installed.
About this task
Procedure
- Install the AVZ server. See Installing and configuring the server.
-
Modify the AVZ initialization
EXEC.
Use the MODIFY PARM command to set following parameters located in the AVZ initialization EXEC,
xVZyIN00:“MODIFY PARM NAME(ACIPREALLOC VALUE(100)” “MODIFY PARM NAME(ACIDEFAULTCONNNAME) VALUE(EXCS)” “MODIFY PARM NAME(ACIPERSISTTIMEOUT) VALUE(CLIENT)” “MODIFY PARM NAME(ACICONNPW) VALUE(NO)” “MODIFY PARM NAME(ACISRVRCONNINT) VALUE(25)” “MODIFY PARM NAME(ACISETSRVRINTTIME) VALUE(YES)” “MODIFY PARM NAME(ACICICSGENERIC) VALUE(ACICSRV)” “MODIFY PARM NAME(ACIBATCHGENERIC) VALUE(ACIBSRV)” “MODIFY PARM NAME(ACITRACE) VALUE(YES)” -
Assemble the ACI translation/migration table.
You must assign a default DV Server subsystem to route all service application ACI requests. You can do this with the ACI translation/migration table (
AVZRTXtable) provided with the AVZ interface for ACI. TheAVZRTXtable is initially loaded byAVZCTRUI(the ACI Task Related User Exit Initialization program), and is viewed byAVZCITRU(the ACI Task Related User Exit).The minimal assembled module must contain the TYPE=INITIAL card with a default defined AVZ subsystem and a TYPE=FINAL card to set the default subsystem.
Note: The default AVZ server subsystem can be overridden by using the”#ETBCB-ACI-ID”field in theREGISTERfunction to specify a AVZ server subsystem.If you are using Natural via CICS, the
AVZRTXtable can also be used byAVZCINAT, the Natural “front end” program, to obtain information to start the Natural session.AVZCIFENis a CICS module that allows the passing of theCOMMAREAto the invoked ACI server, if the CICS transaction is associated with theAVZCIFENprogram. If you associate the transaction name with the programAVZCIFENwhen defining the transaction to CICS, you can pass Natural startup parameters to the transaction using theCOMMAREA. In turn,AVZCIFENtransfers control (EXEC CICS XCTL) to a program of your choice. IfAVZCINATis used as the program to whichAVZCIFENtransfers control, theCOMMAREAmust be formatted with the Natural nucleus program name (eight bytes, space padded if necessary), followed by a comma, followed by the CICS transaction ID for Natural (four bytes, space padded if necessary), followed by a comma, followed by the Natural startup parameters.Note: If theAVZCIFENprogram is used to specify the Natural startup parameters, as a minimum, theAVZRTXtable must be assembled with the TYPE=INITIAL card with a default AVZ subsystem defined and a TYPE=FINAL card to set the default subsystem.To assemble the
AVZRTXtable:-
Use data set member
AVZACJBH, located inHLQ.SAVZSAMP. This member contains the source that needs to be assembled for the ACI translation/migration table. -
Install the ACI translation/migration table into a load library that is
concatenated to the
DFHRPL DDstatement for CICS which may include theSAVZCLODdataset or for batch include theAVZRTXtable within theSTEPLIBof the batch application.The following example shows an example
AVZRTXentry with the required minimum:ACI TYPE=INITIAL,SUBS=xVZy DEFINITION START / DEFAULT ACI TYPE=FINAL DEFINITION END
-
Use data set member
- Link the stubs:
-
Link the
AVZCICISstub into your Natural CICS nucleus, using the following example://AVZLIB DD DSN=HLQ.SAVZCLOD,DISP=SHR . . CHANGE BROKER(AVZACI) <--CHANGING THE DEFAULT NAME INCLUDE AVZLIB(AVZCICIS) FOR AVZ ACI STUB INCLUDE NATLIB(NATLAST) FINAL INCLUDEYou must add
AVZACIas aCSTATICparameter, as shown in the following example:CSTATIC=(CMMSG,AVZACI) -
Link the
AVZRBISstub into your Natural Batch nucleus, using the following example://AVZLIB DD DSN=HLQ.SAVZLOAD,DISP=SHR . . CHANGE BROKER(AVZACI) <--CHANGING THE DEFAULT NAME INCLUDE AVZLIB(AVZRBIS) FOR AVZ ACI STUB INCLUDE NATLIB(NATLAST) FINAL INCLUDEYou must add
AVZACIas aCSTATICparameter, as shown in the following example:CSTATIC=(CMMSG,AVZACI)
-
Link the
- Create CICS resource definitions.
The AVZ interface for ACI requires several resources that include programs, a transaction, and an intrapartition transient data queue (TDQ) to be defined in all CICS regions that will be using this component.
Note: These resources should have been defined during the installation of the AVZ interface for CICS/TS, a prerequisite for this component.AVZCICSD(inHLQ.SAVZCNTLlibrary) is the name of the member used to define these resources. This member definesAVZCTRUIandAVZCITRUto CICS for the loading and viewing of theAVZRTXtable (see Step 3). -
Assemble CICS PLTPI for ACI task related user exit.
- Add the following entry to the program list table/program initialized
(
PLTPI) table.DFHPLT TYPE=ENTRY, PROGRAM=AVZCTRUIThis entry should follow the first of the following statements to ensure that the AVZCTRUI will be executed in phase 2 of the CICS PLTI process:DFHPLT TYPE=ENTRY, PROGRAM=DFHDELIM - Code the appropriate parameter in CICS startup.
PLTPI=xxwhere
xxis the suffix value given to theDFHPLTItable.
- Add the following entry to the program list table/program initialized
(
-
In order to associate the data set modules with CICS, add
HLQ.SAVZCLODdata set to the CICSDFHRPLdata set concatenation. -
Restart the CICS region.Because the CICS installation for the AVZ interface for ACI requires use of a CICS task related user exit, you should restart your CICS region. The following message appears on the console if the CICS Task Related User Exit correctly installs and is enabled:
AVZ0364IAVZCITRUis started and enabled. - Add Natural source distribution.
Customize and submit
AVZACNLD, located inHLQ.SAVZCNTL. This is a Natural Systems utility that will load the Natural environment objects into the AVZ Natural library. These objects include Natural samples and ACI Server programs.Note: If you are using Natural security, you must create the AVZ Natural Library before performing this step. If you are not using Natural Security, the library is created automatically.