TERM call (CICS online programs only)
The Terminate (TERM) call is used to terminate
a PSB in a CICS® online program.
The ODBA interface does not support this call.
Format
| Call Name | DB/DC | DBCTL | DCCTL | DB Batch | TM Batch |
|---|---|---|---|---|---|
| TERM | X | X |
Usage
If your program needs
to use more than one PSB, you must issue a TERM call
to release the first PSB it uses and then issue a second PCB call
to schedule the second PSB. The TERM call also commits
database changes.
The only parameter in the TERM call
is the call function: TERM or bbb When your program issues the call, CICS terminates the scheduled PSB,
causes a CICS sync point, commits
changes, and frees resources for other tasks.
Restrictions
For function shipping in the CICS environment, the local and remote CICS must both be DBCTL.
