Scheduling and terminating a PSB (CICS online programs only)

Before your online program issues any DL/I calls, it must indicate to IMS its intent to use a particular PSB by issuing either a PCB call or a SCHD command. In addition to indicating which PSB your program will use, the PCB call obtains the address of the PCBs in the PSB. When you no longer need a PSB, you can terminate it using the TERM request.

In a CICS® online program, you use a PCB call or SCHD command (for command-level programs) to obtain the PSB for your program. Because CICS releases the PSB your program uses when the transaction ends, your program need not explicitly terminate the PSB. Only use a terminate request if you want to:

A terminate request causes a CICS sync point, and a CICS sync point terminates the PSB. For more information about CICS recovery concepts, see the appropriate CICS publication.

Do not use terminate requests for other reasons because: