7.26.3 DEF_LIST Comments / Warnings

 

Note: Once defined, an RDML working list has an aggregate length limit of 256 bytes in the primary list. To overcome this limit Appendage Lists may be specified by invoking the Transform_LIST Built-In Function. Another solution is to use an RDMLX Function with a dynamic working list.

Working lists are not an infinite resource - use a realistic and sensible size for the number of entries.

DEF_LIST   NAME(#ORDERLINE) FIELDS(#ORDLIN  #PRODUCT #QUANTITY #PRICE)

May cause a list to be displayed that looks like this on the screen:

 

     No       Product              Quantity              Price 

     99       9999999               99999               99999.99 

     99       9999999               99999               99999.99 

     99       9999999               99999               99999.99 

 

 

If more fields were added to the DEF_LIST command like this:

DEF_LIST   NAME(#ORDERLINE) FIELDS(#ORDLIN #PRODUCT #PDESC #QUANTITY #PRICE #TAXRTE)

then when the list was displayed it might now look like this:

 

     No     Product          Description 

     99      9999999           XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 

     Quantity 99999      Price 99999.99     Tax rate 99.99 

     99      9999999           XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 

     Quantity 99999      Price 99999.99      Tax rate 99.99 

     99     9999999          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX 

     Quantity 99999      Price 99999.99     Tax rate 99.99  

 

 

Field attributes and/or the screen design facility can be used to modify the automatically designed screen layout in any way.

For information refer to: 

In this guide, for details of:

In the LANSA for i User Guide, for details of: