AMT Help Files

Defining the Transaction IDs in the Control Center

Program Control

Online COBOL programs need to be added to the Program Control Table (PCT).

  1. To add a COBOL program to the PCT, navigate in the Control Center to System ConfigurationTransactions configurationProgram control tab.


  2. Click the Add button to add a new entry in the table. The following dialog is displayed.


  3. Set the following fields:
    • Application – select the application to which the program belongs.
    • Program name – enter the program name exactly as shown in the Available jobs list in the Control Center (System Configuration → Batch & Forms).
    • Program Type – Choose between Default, Reentrant.
    • Concurrency – The number of times the program may be executed at the same time.
    • Disabled – If enabled, the program is disabled and inaccessible to users.

       
       For more information about these options, see the Program control page.

  4. Click the Ok button to add the program to the list.

 

Transaction Control

 Transaction IDs
In IBM CICS COBOL, transactions are identified by a unique four character Transaction ID. In the AMT-COBOL Transaction control table the transactions are identified by a up to 50 character long Transaction codes. These codes then also need to replace the Transaction IDs in the COBOL Code (the internally needed four character ID's are generated automatically when an entry is created in the Transaction control table).

 

  1. To add a Transaction, navigate in the Control Center to System ConfigurationTransaction configurationTransaction control tab.


  2. Click the Add button to add a new entry in the table. The following dialog is displayed.


  3. Set the following fields:
    • Application – select the application to which the program belongs.
    • Transaction code – A free to choose Transaction code of up to 50 characters (no spaces). These codes are to be used in the COBOL code instead of the original four character Transaction IDs.
    • Program – select one of the available programs from the list. The programs first need to be entered in the Program Control table.
    • Priority – the priority of the program that is started through this Transaction code.
    • Automatic Start – if enabled, this transaction is sent to the transaction server as soon as the transaction server is started. The priority setting determines the order of execution if there are multiple transactions set to automatically start.
    • Disabled – if enabled, the program is disabled and inaccessible to users.

  4. Click the Ok button to add the Transaction to the list.