Using PDF Mapping program as the PDF User Program in a PSFCFG object. Modified program to write a log when an email with PDF attachment is created. Program is called from within PSFCFG twice each time - but I only need one record, anyone have any suggestions or has anyone resoved this problem in the past???? Since the program is called twice - I get two records per email. I only need one record per email. I call a program and that program writes the record to the log file.
Code at end of mapping program pdfnam = PDF attachment name
temail = To Email
femail = From Email
if temail <> *blank; EmailLog (pdfnam:temail:femail); endif;
Software/Hardware used:
iSeries
ASKED:
February 8, 2010 11:41 PM
UPDATED:
February 9, 2010 10:03 PM
I understand that the mapping program is called multiple times. I have tried changing the activation group to *CALLER.
I don’t understand how to use the ‘buffer size comparison’ technique or what that technique is. Could you provide some clarification on an example of the ‘buffer size comparison’ technique.