Previous Topic: Notes to Teleprocessing Monitor UsersNext Topic: Sample Programs and Database Definition


Notes

While there are no special coding requirements for TP-monitor transactions, the following guidelines should be adhered to:

DML statements should be coded so that all database requests (for Example, BIND, READY, OBTAIN, FINISH) are executed together whenever possible to achieve maximum efficiency and ease of recovery.

TP monitor

If mode is...

Code these statements

CICS

CICS_STANDARD

*DECLARE

1 TWA BASED (TPTR), 3 FILLER, 3 INCLUDE IDMS(SUBSCHEMA_CTRL), 3 INCLUDE

IDMS(SUBSCHEMA_RECORDS), ADDRESS TWA(TPTR);

or

**INCLUDE IDMS(SUBSCHEMA_CTRL);

INCLUDE IDMS(SUBSCHEMA_RECORDS);

(A CICS GETMAIN must be issued for the SUBSCHEMA_CTRL and for each RECORD being copied.)

INCLUDE IDMS(IDMS_WAIT);

CICS

CICS_EXEC

INCLUDE IDMS(SUBSCHEMA_CTRL);

INCLUDE IDMS(SUBSCHEMA_RECORDS);

INTERCOMM

INTERCOMM

INCLUDE IDMS(SUBSCHEMA_CTRL);

INCLUDE IDMS(SUBSCHEMA_RECORDS);

SHADOW

SHADOW

INCLUDE IDMS(SUBSCHEMA_CTRL);

INCLUDE IDMS(SUBSCHEMA_RECORDS);

* If SUBSCHEMA_CTRL, SUBSCHEMA_RECORDS, and additional data does not exceed 4,096 bytes.

** If SUBSCHEMA_CTRL, SUBSCHEMA_RECORDS, and additional data exceeds 4,096 bytes.