The declarative operations do not cause action to occur; they can be specified anywhere within calculations. The control level entry (positions 7 and 8) can be blank or can contain an entry to group the statements within the appropriate section of the program. The control level entry is for documentation purposes only. The declarative operations are:
The DEFN operation either defines a field based on the attributes (length and decimal positions) of another field or defines a field as a data area.
The KLIST and KFLD operations are used to indicate the name by which a composite key field may be referred and the fields that compose the composite key. A composite key is a key that contains a list of key fields. It is built from left to right, with the first KFLD specified being the leftmost (high-order) field of the composite key.
The PLIST and PARM operations are used with the CALL operation to allow a called program access to parameters from a calling program.
The TAG operation names the destination of a branching operation such as GOTO or CABxx.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.