A few questions, and notes.
Are they all falling through or only some?
You actually do not need any custom programs for this to function.
What release of i5OS, are PTFs current.
End the writer, not immed, make sure all 3 jobs end, PDF, BATCH, WTR
You could check the joblogs of these 3 job before ending, look for errors.
Job User Number Type -----Status----- System
MIS_EMAIL QSPLJOB 148108 PDJ ACTIVE 04/23/13
MIS_EMAIL QSPLJOB 148107 BATCH ACTIVE 04/23/13
MIS_EMAIL QSPLJOB 148106 WTR ACTIVE 04/23/13
Restart, and retest, if still falls through
As a test, last sequence, you could add a PDFMAP entry with all wildcards, this should email.
If it falls through with that, other issues.
Or start from scratch, build a test PDF writer.
Configuration to convert spoolfile to PDF, email, store on IFS
1. Create *PSFCFG object - CRTPSFCFG PSFCFG(QGPL/Youroutq) PDFGEN(*MAIL *STMF) PDFMAILSVR(PENCOREXCH.PENCOR.COM) PDFSENDER(PENCOR05) PDFDIR('/pauls') TEXT('pdf device for email/stmf')
2. Create *IPDS *LAN device (any high unused port) - CRTDEVPRT DEVD(Youroutq) DEVCLS(*LAN) TYPE(*IPDS) MODEL(0) LANATTACH(*IP) AFP(*YES) PORT(19526) FONT(11) FORMFEED(*AUTOCUT) RMTLOCNAME('127.0.0.1') USRDFNOBJ(QGPL/Youroutq *PSFCFG) TEXT('pdf transform device email/stmf')
3. Ensure directory entry exists for QSPLJOB - WRKDIRE
4. Create PDF mapping object - WRKPDFMAPE PDFMAP(Youroutq) - see separate doc for PDFMAPE
5. Change *PSFCFG object (step 1 above)to use IPDS printer from step 2 and mapping object. CHGPSFCFG PSFCFG(Youroutq) PDFMAPPGM(*IBMPGM) PDFMAP(QGPL/Youroutq)
6. Vary on IPDS device above
7. WRKTR - STRPRTWTR Youroutq for device above
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Thomas Garvey
Sent: Tuesday, April 30, 2013 6:06 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: output queue automatically creates email from spool file
I'm sure you know more about this than I but the WRKPSFCFG does specify the PDFMAPPGM parameter, which is a program someone wrote from the template in the InfoPrint Server manual. We have been able to put this program in service break mode and we can't see anything it might be doing wrong. It serves only to take the value passed in (the name of the job which created the spool file), extracts the user profile from that job name, looks up the email for that user profile (in another file), then places that email in the return parameter's data structure. There is also a disposition flag set to instruct the PSF to send the mail.
Is there a way to get more info out of this thing than just the CPF3433 message we are currently getting?
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Steinmetz, Paul
Sent: Tuesday, April 30, 2013 12:38 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: output queue automatically creates email from spool file
Nathan,
The reason they are falling through is because there needs to be a PDFMAP entry (WRKPDFMAPE PDFMAP(your outq) matching the spoolfile attributes.
The map entry determines what process and who to email to.
Also, who ever is designated as the PDF administrator . . . . . . . . . . .
. . . . : for that outq, QSYS/WRKPSFCFG PSFCFG(your outq) gets an email stating that the attached PDF file could not be distributed.
We use this heavily for reports to end users.
Years back it was a chargeable LIC pgm, now included in base i5OS.
Paul
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Nathan Andelin
Sent: Tuesday, April 30, 2013 12:23 PM
To: Midrange Systems Technical Discussion
Subject: Re: output queue automatically creates email from spool file
is there some OTHER way that a process could be monitoring an output
queue for a spool file arrival?
See what programs if any might be registered for the QIBM_QNPS_SPLF exit point.
WRKREGINF
-Nathan
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.