7 22 DEF_LINE

LANSA Technical

7.22 DEF_LINE

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

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

A detail line is printed when a PRINT command is executed that nominates it in the LINE parameter.

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

Portability Considerations

Refer to parameter TEXT.

Also See

7.22.1 DEF_LINE Parameters

7.22.2 DEF_LINE Comments / Warnings

7.22.3 DEF_LINE Examples

                                                         Required

  DEF_LINE ----- NAME --------- name of detail group ----------->

 

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

                                                         Optional

 

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

                                |           |               | |

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

                                | expandable group expression |

                                 ------ 1000 max -------------

 

             >-- SPACE_BEF ---- 1 ------------------------------>

                                decimal value

 

             >-- SPACE_AFT ---- 0 ------------------------------>

                                decimal value

 

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

                               |           row       column   |

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

                                 *TMAPnnn  1  1  (special value)

 

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

                                report number 1 -> 8

 

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

                                *DOWN

 

             >-- IDENTIFY ----- *COLHDG ------------------------>

                                *LABEL

                                *NOID

 

             >-- DOWN_SEP ----- 5 ------------------------------>

                                decimal value

 

             >-- ACROSS_SEP --- 1 ------------------------------>

                                decimal value

 

             >-- HEAD_COND ---- *NONE --------------------------|

                                name of condition