The basic requirements to ensure an EXPORTMSGS job completes normally is that the library name specified in PARM03 exists and the export date specified in PARM04 is a valid date in CCYYMMDD format, the two export files specified in PARM01 and PARM02 are (re)created each time an EXPORTMSGS job is executed.
To Export Developer Messages perform the following command:
LANSA REQUEST(EXPORTMSGS) PARM01(AAAAAAAAAA)
For example, this command:
LANSA REQUEST(EXPORTMSGS) PARM01(MSGFIL1)
will result in all the developer messages that have a create date greater than or equal to "19911231" (31st of December 1991) being exported to the export developer message files "MSGFIL1" and "MSGFIL2" in library "EXPLIB".