Calling SERXMLRC From Panel Exits
If you add ISPF panel exits to ChangeMan ZMF that call XML Services through SERXMLRC, allocate DD name SERLOAD in your ChangeMan ZMF logon CLIST. Concatenate the same load libraries at SERLOAD as you do in the LIBDEF for ISPLLIB in the logon CLIST.
ALLOC DD (SERLOAD) DSN( +
'somnode.CMNZMF.CUSTOM.LOAD' +
'somnode.SERCOMC.CUSTOM.LOAD' +
'somnode.CMNZMF.LOAD' +
'somnode.SERCOMC.LOAD' +
) SHR REU
SERXMLRC checks for a SERLOAD DD statement before it executes the standard search order of STEPLIB, JOBLIB, etc., which are allocated to your TSO/ISPF session and are difficult to alter dynamically.
Add an ALLOC statement for SERLOAD to other CLISTS and REXX execs that run in a user’s TSO session and call SERXMLRC.
Note
DD name SERLOAD is used only by SERXMLRC. Keep the LIBDEF for ISPLLIB in your ChangeMan ZMF logon CLIST and any other procedures that execute SERXMLRC in an ISPF environment.
DD name SERLOAD remains allocated after you exit from the logon CLIST, which is similar to the current behavior of DD names SER#PARM, SERLIC, and SERPRINT in the logon CLIST.