There are two ways to make your list an inline list.
1. Setting the Inline property of your WAM to Lists will make all lists in the WAM inlined by default.
BEGIN_COM ROLE(*EXTENDS #PRIM_WAM) INLINE(Lists)
2. Marking an individual list as inline in the WEB_MAP.
WEBROUTINE NAME(MyWebroutine) DESC('Sample Webroutine')
WEB_MAP FOR(*OUTPUT) FIELDS( (#DEPTLIST *INLINE) )
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) )