Previous Topic: Label Your ReportsNext Topic: Sample Report


Example

An administrator wants to generate a report which lists the user ID, menu key, jump key, and print key for each user record in an extract file named KEYUSERS and label each value. The administrator uses the following REPORT statement to produce the report file named KEYREPT:

REPORT GIVING(KEYREPT) USING(KEYUSERS)
       ((' &UIDXNAME')
        (' MENU KEY - ' '&UIDXMKEY')
        (' JUMP KEY - ' '&UIDXJKEY')
        (' PRNT KEY - ' '&UIDXPKEY'))