TERM command
The Terminate (TERM
) command is used to
terminate a PSB in a CICS® online
program.
Format
Options
No options are allowed
with the TERM
command.
Usage
If you want to use a
PSB other than the one already scheduled, use the TERM
command
to release the PSB.
When you issue the TERM
command,
all database changes are committed and cannot be backed out. Because
returning to CICS also terminates
the PSB and commits changes, you need not use the TERM
command
unless you want to schedule another PSB, or commit database changes
before returning to CICS.
No
options are allowed with the TERM
command. If your
program subsequently needs a PSB that has terminated, it must reschedule
that PSB by issuing another SCHD
command.
In
most applications, you do not need to use the TERM
command.
Example
EXEC DLI TERM
ExplanationThis
example shows how to terminate a PSB with the TERM
command.