Subscripted variables are not allowed in data-directed
input.
References to based variables in a data-list for data-directed
input/output cannot be explicitly locator qualified. For example:
dcl Y based(Q), Z based;
put data(Y);
The variable Z cannot be transmitted since it must be
explicitly qualified by a locator.
A based variable in the data-list has the following restrictions:
- The variable must not be based on an OFFSET variable.
- The pointer on which the variable is based must not be in DEFINED
storage.
- If the pointer on which the variable is based is itself BASED,
then the chain of basing pointers must end with a pointer that is
neither BASED nor DEFINED.
A defined variable in the data-list must:
- Be a picture or character variable
- Not be defined on a controlled variable
- Not be defined on an element or cross section of an array
- Not be defined with a nonconstant POSITION attribute
Typed structures can not be used in data-directed input/output
statements.
|
This information center is powered by Eclipse technology. (http://www.eclipse.org)