Previous Topic: Field Column HeadingsNext Topic: Use of Field Entity Names


PDL Reserved Words

You cannot use a PDL reserved word as the name of a dataview. See the reserved word list in the Command Reference Guide. You can use reserved words for field names; however, qualification of such field names with the dataview name is required. For example, assume there is a dataview called SHIPMENT with elements containing fields called TO and FROM. It is valid for a PDL procedure to have statements:

MOVE SHIPMENT.TO TO LOCATION
SUBTRACT SHIPMENT.FROM FROM AMOUNT

However, the following is ambiguous and causes a program compilation error:

MOVE TO TO LOCATION