Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

Entry constants

The appearance of a label prefix to a PROCEDURE or ENTRY statement explicitly declares an entry constant. A parameter-descriptor list is obtained from the parameter declarations, if any, and by defaults.

External entry constants must be explicitly declared. This declaration:

Read syntax diagramSkip visual syntax diagram>>-ENTRY-+-----------------------------+------------------------>
         '-(parameter-descriptor-list)-'
 
>--+--------------------+--+------------------------------+----->
   '-RETURNS--attribute-'  '-OPTIONS(characteristic-list)-'
 
>--+---------------------------------+-------------------------><
   '-EXTERNAL-+--------------------+-'
              '-(environment-name)-'
 

The attributes can appear in any order.

ENTRY attribute
For complete ENTRY attribute syntax, refer to ENTRY attribute.
OPTIONS attribute
For complete OPTIONS attribute syntax, refer to OPTIONS option and attribute.
RETURNS attribute
For complete RETURNS attribute syntax, refer to RETURNS option and attribute.
EXTERNAL attribute
If you don't specify an environment-name, the name is the same as the declaration. For a complete description of the EXTERNAL attribute refer to INTERNAL and EXTERNAL attributes.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)