All is good, except the header. The header values are the identifiers in the list.
How can I get more "friendly" values in the header?
I am using the SVHEAD(*LIST) and SERVICE_LIST(Header Values) but that does not seem to be working.
Code: Select all
#JSMXCMD := ('WRITE FILE(' + #wk_FilePath + ') SVHEAD(*LIST) CONTENT(*CSV) SERVICE_LIST(NUMBER,NAME,TOTAL_OPEN,CURRENT_OPEN,31-60,61-75,67-90,90-120, OVER_120)')
#SYS_APPLN.TraceMessageData( "Executing &1" #JSMXCMD )
use builtin(JSMX_COMMAND) with_args(#JSMXHDLE #JSMXCMD) to_get(#JSMXSTS #JSMXMSG #DataList)
if (#COM_OWNER.CheckStatus( #JSMXSTS #JSMXMSG ) = ER)
return
endif