Marc's Place

DIBIOL/DBL - Argument/Field Definitions

Subroutine argument definitions specify the data linkages between
an external subroutine and the program that called the external subroutine.
|{GROUP} |{name},{{*{,*...}}}t |{.} |
|{qualifier}| |{size}|
Qualifiers
These further describe the argument being passed. Valid qualifiers are:
%VAL Argument was passed by value.
%REF Argument was passed by reference (size is required
when %REF is specified).
%DESCR Argument was passed by descriptor. This is the default.
%XTRNL
Field definitions define variables within a RECORD or COMMON area.
|n |
{name},{array-information}type{|n.p|}{,init-value}
|* |
Array-information: An array is a group of fields which share the same data type, field
size, and symbolic name (array name).
For pseudo-arrays:
{name}, d1 t n {values}
For single or multi-dimensional arrays:
{name},[d1{,d2...dn}] t n {values}
Type:
Valid types are A (alpha), D (zoned), P (packed), I (integer)