7 21 DEF_HEAD

LANSA Technical

7.21 DEF_HEAD

The DEF_HEAD command is used to define one or more heading lines for inclusion on a report.

Only fields of type Alpha, Packed and Signed may be specified. RDMLX field types cannot be specified.

Heading lines are only printed when the condition specified in the TRIGGER_BY parameter is true and are used to begin or trigger a new page in the report.

You should read Producing Reports Using LANSA in the Developers Guide before attempting to use a DEF_HEAD command.

Portability Considerations

Refer to Parameter TEXT .

Also See

7.21.1 DEF_HEAD Parameters

7.21.2 DEF_HEAD Comments / Warnings

7.21.3 DEF_HEAD Examples

                                                         Required

 

  DEF_HEAD ----- NAME --------- name of heading group ---------->

 

 -----------------------------------------------------------------

                                                         Optional

 

             >-- FIELDS ------- field name  field attributes --->

                                |           |               | |

                                |            --- 7 max -----  |

                                | expandable group expression |

                                 ------ 100 max --------------

 

             >-- TRIGGER_BY --- *OVERFLOW ---------------------->

                                list of field names

                               |expandable group expression|

                                --------20 max ------------

 

             >-- TEXT --------- 'text' --- line/ --- position -->

                               |           row       column   |

                                ----------- 50 max -----------

                                 *TMAPnnn  1  1  (special value)

 

             >-- FOR_REPORT --- 1 ------------------------------>

                                report number 1 -> 8

 

             >-- DESIGN ------- *ACROSS ------------------------>

                                *DOWN

 

             >-- IDENTIFY ----- *LABEL ------------------------->

                                *COLHDG

                                *NOID

 

             >-- DOWN_SEP ----- 1 ------------------------------>

                                decimal value

 

             >-- ACROSS_SEP --- 5 ------------------------------|

                                decimal value