***** Some background.
We are trying to email spool file(s) using PSFCFG object with the mail server set to *Local.
TCP/IP, SMTP, and POP are setup and started.
The SNDDST command works.
When we set the User Defined Data on the spool file to MAILTAG with a valid email address and the mapping program on the PSFCFG object to *None, it works.
***** The Problem.
When we set the MAILTAG to routing data and the mapping program to a user written RPGLE program we get the error MCH3601 Pointer not set for location referenced.
We are on V5R3, we've checked for and installed all the PTF's we can find even remotely related to this issue, and I've checked the output data structure including the offsets and lengths multiple times.
Any ideas? Anyone?