What TASK CODE is used in CV to process ERUs such as Batch or CICS?
search cancel

What TASK CODE is used in CV to process ERUs such as Batch or CICS?

book

Article ID: 69822

calendar_today

Updated On:

Products

IDMS IDMS - Database IDMS - ADS

Issue/Introduction

What TASK CODE is executed in CV to process DML issued by external (ERUS) programs such as Batch or CICS?  RHDCNP3S?

Environment

Release: All supported releases.

Resolution

DC/UCF identifies the corresponding task for an external request unit using the following search strategy:

  1. It searches the TASK table for a task code that is specific to the front-end application:
    • For batch applications, the name of the main program of the job step is used as the task code. For example, IDMSDMLC is used as the task code when running a COBOL precompile step.
    • For CICS applications, the task codes are defined as follows:
      • For IDMSINTC users, the CICS transaction code is used as the task code.
      • For IDMSINTL users, the Program Name specified in the Subschema Control block (SSC) is used as the task code.
    • For DC/UCF applications, the DC/UCF front-end task code is used as the back-end task code.
  2. If no matching task code was found in step 1, it searches the TASK table for a task code corresponding to the front end system ID, which may be one of the following:
    • BATCBULK—for batch applications
    • xxxxBULK—for CICS applications, where xxxx is system-name in the TPNAME parameter of the IDMSINTC macro
    • DCXXBULK—for DC/UCF applications
  3. If still no match is found, it uses task code RHDCNP3S. 

 

 

 

Additional Information

System Generation: External Request Units