Previous Topic: MAP AUTOPANEL and MFLD Statement SequencingNext Topic: Compiler Action Verbs


PANEL, PFLD, MAP, and MFLD Statement Sequencing

The following order of specification applies when the developer prepares source composed of PANEL, PFLD, MAP, and MFLD statements:

Sample Statements

The following abbreviated sample statements illustrate PANEL, PFLD, MAP, and MFLD statement sequencing:

ADD PANEL NEWPANEL ADD PFLD EMP-ID ADD PFLD EMP-FNAME ADD PFLD EMP-LNAME ADD PFLD DEPT-CODE ADD MAP NEWMAP PANEL IS NEWPANEL ADD MFLD EMP-ID ADD MFLD EMP-FNAME ADD MFLD EMP-LNAME ADD MFLD DEPT-CODE

In the previous example, the NEWPANEL panel occurrence is defined before related panel fields are defined; the NEWPANEL panel occurrence becomes current for the map occurrence generated by the ADD MAP NEWMAP statement.

It is not necessary to generate panel occurrences in the same compiler run as related map occurrences.