As part of Conversion, we are cloning a batch static sub-routine (BSTB)into an online static sub-routine(BSTO). This routine (BSTO) is called by assembler programs (online). Do we need to have a PPT/PCT entry for the static routine (BSTO)? Please advice.
Joined: 14 Jan 2008 Posts: 2504 Location: Atlanta, Georgia, USA
If you are accessing the sub-program from CICS via a CALL 'Literal' (which is a Static Call), a PPT (Processing Program Table) entry is not needed. If the sub-program access ever changes to a CALL 'Variable' (which is a CICS/Dynamic Call), then yes, either an explicit PPT entry would be required or (if your shop uses PPT-Autoinstall), a Dynamic PPT entry will be automatically created upon first usage/access of the sub-program. Note that although CALL 'Variable' is defined as a Dynamic Call, compile option NODYNAM must always be specified when compiling/linking a CICS/COBOL program, regardless.
Based upon your post, there's no need or consideration for a PCT (Program Control Table) entry as this is used for transid/program association.