Interview Questions   Tutorials   Discussions   Programs   

CICS - For a CICS-DB2 program, how is the plan referenced?

asked mar September 7, 2014 04:32 AM  

For a CICS-DB2 program, how is the plan referenced?


1 Answers

answered By Mswami   0  

Uses a RCT table.

The resource control table (RCT) controls the CICS-DB2 interface.

The RCT can be defined using the DSNCRCT macro to produce a macro table. Your RCT must be assembled using the DSNCRCT macro shipped with this release, in the SDFHMAC library, and the load library must have the format DFHRCTxx, where xx is the suffix.

This describes the syntax of the DSNCRCT macro and guides you through its coding.

Code the RCT as follows before the assembly.

  • The TYPE=INIT macro must be specified first,(unless prec eeded by TYPE=GROUP).

  • If the TYPE=COMD macro is specified, it must be second.

  • If TYPE=POOL is specified, it must be after TYPE=INIT and TYPE=COMD (if there is a COMD) and before TYPE=ENTRY.

  • The TYPE=ENTRY macro can be specified an indefinite number of times to identify specific transactions.

  • The TYPE=FINAL macro is specified last, causing the RCT to be generated.

The RCT must be link-edited into a library that is in the DFHRPL concatenation. (In releases of CICS before CICS Transaction Server for OS/390, Version 1 Release 3, the RCT had to reside in a library in the STEPLIB concatenation).

   add comment

Your answer

Join with account you already have



Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!