DTRHELP.HLB  —  Commands Statements Clauses, QUERY NAME Clause, Examples
       The following example shows how to set up a record so that DISP
       is defined as an alternate name for the DISPLACEMENT field:

       06 DISPLACEMENT PIC 99999
          QUERY_NAME IS DISP.

       The following example shows how to set up a record so that
       SPECS is defined as an alternate name for the group field
       SPECIFICATIONS:

       03 SPECIFICATIONS
          QUERY_NAME SPECS.

       The following example shows how to set up a record so that
       a query name of SPECIAL_HANDLING is defined for the field
       DELINQUENT_ACCOUNT_STATUS:

       09 DELINQUENT_ACCOUNT_STATUS
          PIC X
          QUERY_NAME IS SPECIAL_HANDLING.
Close Help