skip to main content

Data Division : Screen Description : FROM clause

FROM clause
The FROM clause specifies the source of data for an ACCEPT screen Statement and a DISPLAY screen Statement.
General format
FROM {Data-Name-5}
Syntax rules
1.
Data-Name-5 shall be defined in the file, working-storage or linkage section.
2.
The category of Data-Name-5 and Literal-1 shall be a permissible category as a sending operand in a MOVE Statement where the receiving operand has the same PICTURE clause as the subject of the entry.
3.
If the subject of this entry is subject to an OCCURS clause, Data-Name-5 shall be specified without the subscripting normally required. Additional requirements are specified in the OCCURS clause.
4.
Data-Name-5 shall not specify a variable-length group.
General rules
1.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left