× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I am using PSF/400 to create a PDF file from an AFPDS spool file.
I have created a PDF Mapping Program so that I can specify the name of the PDF 
file dynamicaly.
When I attempt to convert the file, I get an error:
                                                                               
 Message ID . . . . . . :   PQT4140                                            
 Date sent  . . . . . . :   08/25/06      Time sent  . . . . . . :   13:53:40  
                                                                               
 Message . . . . :   Incorrect data was returned by email mapping program      
   (QGPL/PDF_MAP).                                                             
                                                                               
 Cause . . . . . :   The email mapping program specified for device PDF_PRINT  
   returned incorrect data.  The reason code is 04.  See the reason codes      
   listed below to determine where the error was detected.                     
     1  -- Disposition of PDF file                                             
     2  -- Re-calling mapping program                                          
     3  -- Reserved field                                                      
     4  -- Message length or message data                                      
     5  -- Email address or email address length                               
 
I have examined the output from the PSFTRACE spool file that shows the data in 
error.
The value for the Email Address Length is 0.
This value is defined as a 10 position Integer field in the program and the 
value is x'00000000'
OFFSET   13:42:07.649 OUTPUT  00000004 HEX:  00000004   
USR VALU 13:42:07.649 00000000 HEX:  00000000           
VALID    13:42:07.649 0-255                             
 
Since I am not emailing the file, this value should be OK.
The valid values indicated in the dump are 0 - 255.
 
Anyone have any idea what my problem is?
 
Thanks,
 
Jeff Young
jyoung@xxxxxxxxxxxx
Sr. Programmer Analyst
Dynax Solutions, Inc.
A wholly owned subsidiary of enherent Corp.
IBM e(logo)server Certified Systems Expert - iSeries Technical Solutions V5R2
IBM Certified Specialist- eServer i5Series Technical Solutions Designer V5R3
IBM Certified Specialist- eServer i5Series Technical Solutions Implementer V5R3
IBM Certified Systems Expert -- eServer i5 iSeries Technical Solutions V5R3
IBM e(logo) Certified Specialist - p5 and pSeries Technical Sales Support 

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.