Previous Topic: ParametersNext Topic: Examples


Usage

Mixing Element and COPY ELEMENTS Substatements

Element and COPY ELEMENTS substatements can be mixed in any sequence necessary to describe the structure of the record. However, because the level numbers of copied elements are the same as those in the base record, you should exercise care in mixing elements of different levels. To mix element and COPY ELEMENTS substatements and to change the level numbers within the record, do the following:

  1. Code ELEMENT and COPY ELEMENTS substatements to place the elements into their appropriate positions, as shown in the example that follows this discussion.
  2. Online, issue a DISPLAY RECORD with AS SYNTAX and VERB MODIFY for the record; in batch mode, code PUNCH instead of DISPLAY.
  3. Change the affected level numbers only. Do not erase unaffected elements: all elements for a single record must always be presented together.
  4. Submit the new statement to the compiler.