2.13.1 Creating an Inline List
There are two ways to make your list an inline list.
1. Setting the
FUNCTION OPTIONS(*DIRECT)
BEGIN_COM ROLE(*EXTENDS #PRIM_WAM) INLINE(Lists)
END_COM
2. Marking an individual list as inline in the WEB_MAP.
WEBROUTINE NAME(MyWebroutine) DESC('Sample Webroutine')
WEB_MAP FOR(*OUTPUT) FIELDS( (#DEPTLIST *INLINE) )
ENDROUTINE
If any XSL already exists when you change a list to or from inline, the XSL will need to be regenerated or the list deleted and re-added to the XSL.
If inline lists are turned on at the WAM level, an individual list can be marked as not inline in the WEB_MAP like this:
WEB_MAP FOR(*OUTPUT) FIELDS( (#DEPTLIST *NOINLINE) )