7.29 DEF_REPORT

Usage options

The DEF_REPORT command is used to define the attributes of a report. 

A DEF_REPORT command is only required in a function when the attributes of the report are different from the default report attributes set up within your LANSA system.

Before you use DEF_REPORT, refer to Producing Reports Using LANSA for further information.

Also See

7.29.1 DEF_REPORT Parameters

7.29.2 DEF_REPORT Comments / Warnings

7.29.3 DEF_REPORT Examples

                                                        Optional
  DEF_REPORT --- REPORT_NUM --- 1 ------------------------------>
                                report number 1 -> 8

             >-- PRT_FILE ----- QSYSPRT ------------------------>
                                printer file.library name

             >-- FORMSIZE  ---- *DEFAULT ---- *DEFAULT --------->
                                *FILE    ---- *FILE
                                form length   form width

             >-- LAST_LINE ---- *DEFAULT ----------------------->
                                *FILE
                                last print line number

             >-- OVERFLOW ----- *DEFAULT ----------------------->
                                *FILE
                                overflow line number

             >-- OUTQ --------- *FILE -------------------------->
                                output queue name

             >-- COPIES ------- *FILE -------------------------->
                                number of copies

             >-- FORMTYPE ----- *FILE -------------------------->
                                type of forms

             >-- OTHER_OVR ---- *NONE -------------------------->
                                other override attributes

             >-- RET_LENGTH --- *NONE -------------------------->
                                returned form length

             >-- RET_WIDTH ---- *NONE -------------------------->
                                returned form width

             >-- RET_OVERF ---- *NONE -------------------------->
                                returned overflow value

            >-- RET_LINE ----- *NONE -------------------------->
                                returned line number

             >-- RET_PAGE ----- *NONE --------------------------|
                                returned page number