Version 8.2.2 for Mainframes
 —  Parameter Reference  —

PROGRAM - Non-Natural Program Receiving Control after Termination

This Natural profile parameter specifies a non-Natural back-end program which is to receive control after the termination of the Natural session.

Possible settings 1 - 8 characters Non-Natural back-end program.
numeric value Setting a numeric value, for example PROGRAM=0, indicates "no back-end processing".

Note:
This is particularly relevant when Natural is invoked by a front-end program, because a default may be taken if PROGRAM is blank or not specified; see Front-End Invoked via XCTL in the TP Monitor Interfaces documentation.

Default setting none  
Dynamic specification yes This Natural profile parameter can also be set dynamically from within a Natural program by calling the Natural subprogram CMPGMSET, which is provided in the library SYSEXTP.
Specification within session yes  
Application programming interface USR4001N (for mainframes) See SYSEXT - Natural Application Programming Interfaces in the Utilities documentation.
USR6204N (for all platforms)

Notes:

  1. Data for the program specified with the PROGRAM parameter can be supplied with the TERMINATE statement.
  2. For the conventions of calling non-Natural back-end programs, see Back-End Program Calling Conventions in the Operations documentation.

CICS-Specific Information:

In addition to back-end programs, the Natural CICS interface also supports back-end transactions which may be specified via RET=XXXX or RTI=XXXX or STR=XXXX instead of a program name, with XXXX being a valid CICS transaction ID.

Top of page