Previous Topic: Examples of Nesting qfilesNext Topic: Synonyms


Defining Report Headers

Access mode: CA OLQ does not use headers associated with the desired record in the dictionary when the access switch is set to IDMS.

You can use IDD to define report headers for specific record fields. By defining report headers in the data dictionary, each user can generate meaningful reports without formatting the report headers each time the report is generated.

Use the IDD RECORD ELEMENT substatement:

REMOVE/REPLACE RECORD ELEMENT IS element-name ...
 EDIT OLQ HEADER IS new-header

Example:

You could change the CA OLQ header from EMP-ID-0415 to EMPLOYEE ID:

replace record element is emp-id-0415
 edit olq header is employee

The resulting report contains the column EMPLOYEE instead of the column EMP-ID-0415. The contents of the column are the same, only the headers have changed.

Note: For more information about using the RECORD ELEMENT statement in IDD, see the CA IDMS IDD Quick Reference Guide.