The synchOnPgmTransfer build descriptor
option is used when you are generating a COBOL program for a CICS® environment; the option lets
you to minimize the differences in behavior when a transferring program
is generated for CICS as compared
to when that program is generated for IMS/VS.
The option specifies whether to set a commit point if the following
conditions are true:
The
synchOnPgmTransfer build descriptor
option has no effect in other cases.
The following rules also apply in an EGL-generated COBOL program:
- On CICS, if no PSB is scheduled
for the transferring program, a commit point never occurs for a transfer
to program statement, but always occurs for a transfer
to transaction statement.
- On CICS or IMS™, if the transferring program and the target
program have different default PSB references, a commit point always
occurs for either a transfer to program
or a transfer to transaction statement.
- On CICS or IMS, a commit point always occurs for a show statement
Values
- NO
- As is true on IMS, the transfer
to program statement does not commit recoverable resources,
close files, or close cursors in the case described earlier.
- YES (the default value)
- The transfer to program statement commits
recoverable resources, closes files, and closes cursors in the case
described earlier.