Brad Stone SPLTOOL, MAILTOOL. Inexpensive and just works.
Sent from my iPhone
On Dec 6, 2022, at 3:52 PM, Roger Harman <roger.harman@xxxxxxxxxxx> wrote:
I used to have to create PDF's *and* keep the spool file for a couple of processes. I used the data queue option on the outq description and had a monitor program that would grab the spool file, do the conversion, email it, etc. The outq was
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
I used to have to create PDF's *and* keep the spool file for a couple of processes. I used the data queue option on the outq description and had a monitor program that would grab the spool file, do the conversion, email it, etc.
The outq was not attached to a writer and you have to be sure the spool file is *not* held but in a *RDY status so the info entry gets placed on the data queue.
Not sure if it's applicable to your situation. Worked great for mine.
Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Greg Wilburn
Sent: Tuesday, December 6, 2022 12:13 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: OVRPRTF WSCST(*PDF)
Rob,
You may have a good idea there.
Previously, someone in Accounting would assign the spooled files to IFSPDF which generated the PDFs in the appropriate folder. A script sweeps the folder and sends all PDF files to our mail service (the folder also contains each day's invoices that weren't able to be emailed).
I may need to just stick these in a different IFS directory (or a subdirectory) and ask Accounting to drag and drop when ready to send.
I just don't understand why IBM wouldn't permit the spooled file to be held - but If I remember correctly, it may not get created when using this method.
I'll review a bit further... I may try to put the OVRPRTF in a conditional statement (if I can determine the correct condition).
Thx,
Greg
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Rob Berendt
Sent: Tuesday, December 6, 2022 9:49 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: OVRPRTF WSCST(*PDF)
Thanks for the explanation.
How did your previous automation system work? Did the user manually change the spool files to your IFSPDF writer which then emailed them?
How does your new system work? Does it sense a pdf file in the directory and automatically send it?
How can you merge these concepts? Can you generate the pdf file into one directory and then, when your ready, move them into the trigger directory?
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.dekko.com%2F&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Yfcu8hSqzEpeoAgFCIDKYHCg31THg3eiNW3tbQOIuZY%3D&reserved=0
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Greg Wilburn
Sent: Tuesday, December 6, 2022 9:30 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: OVRPRTF WSCST(*PDF)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Rob,
But if I override it to go to printer P2 AND override it to HOLD(*YES), I would expect it to remain HELD until the user did something with it.
Yes, we have a good reason for wanting to control when a PDF is created and when it is not. At the end of the month when we run ALL customer statements, they want to create a PDF for the mailing company we use. The upload to them is automated and there are 55 separate PDF files (so we don't want to do it with ACS).
Other times, we just want to run a statement.
Thx,
Greg
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Rob Berendt
Sent: Tuesday, December 6, 2022 9:05 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: OVRPRTF WSCST(*PDF)
Greg,
Think of it this way.
Let's say your printout used to go to printer P1. Then you would move it to printer P2.
Then you changed it and added OVRPRTF to send it to P2. Would you ask why it doesn't remain on P1? No.
However, in an effort to understand what you are asking, I am guessing that there is some reason they want it on a printer. Is there? Do they want a hard copy in addition to the pdf? Or are they just in the habit of looking at spool files instead of the pdf file?
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 7310 Innovation Blvd, Suite 104
Ft. Wayne, IN 46818
Ship to: 7310 Innovation Blvd, Dock 9C
Ft. Wayne, IN 46818
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.dekko.com%2F&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Yfcu8hSqzEpeoAgFCIDKYHCg31THg3eiNW3tbQOIuZY%3D&reserved=0
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Greg Wilburn
Sent: Tuesday, December 6, 2022 8:56 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: OVRPRTF WSCST(*PDF)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
For the past hundred years, we've had a CL program that created a PDF when a user printed a customer statement. We used a writer configured to do this and populated USRDFNDTA(MAILTAG(/directory/statement.pdf)).
The "old" method has been a PITA over the years because of the print writer. So I've been slowly moving everything to use OVRPRTF instead.
My problem is that previously, the spooled file would remain until the user assigned it to a printer (either a real printer or my IFSPDF writer).
Since I'm now using OVRPRTF, it creates the PDF immediately. I tried using HOLD(*YES), but It seems OVRPRTF WSCST(*PDF) doesn't honor HOLD(*YES)?
This is my current CL:
OVRPRTF FILE(STMT) DEVTYPE(*AFPDS) PAGESIZE(66 105) +
FRONTMGN(0 0) HOLD(*YES) TOSTMF(&STMF) WSCST(*PDF) Where &STMF = path & filename
Suggestions appreciated.
Greg
[Logo]<
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.totalbizfulfillment.com%2F&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=SL4lIvnSRbLCJd1NoM2Uip69zn0H3z8z82WmaNjttNc%3D&reserved=0> Greg Wilburn
Director of IT
301.895.3792 ext. 1231
301.895.3895 direct
gwilburn@xxxxxxxxxxxxxxxxxxxxxxx<mailto:gwilburn@xxxxxxxxxxxxxxxxxxxxxxx>
1 Corporate Dr
Grantsville, MD 21536
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.totalbizfulfillment.com%2F&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ZlQ17pnmFYATHPkcN%2BVzbvOdF3Qvguc7ne04QbY2vxs%3D&reserved=0<
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.totalbizfulfillment.com%2F&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ZlQ17pnmFYATHPkcN%2BVzbvOdF3Qvguc7ne04QbY2vxs%3D&reserved=0>
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fmidrange-l&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KeyCNgU3UD4UNO1k%2FXqG82oxcho3kWDEXaiCzHZClFA%3D&reserved=0
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fmidrange-l&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Qd9PNkL%2Fs9LE7qAhFL4WDgRmICw6MGG8lap2SsaLsFY%3D&reserved=0.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com%2F&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=cun0aWmfdfFkIF1r%2F2sgWTCvDcmCjFNGBNBjy383Vs4%3D&reserved=0
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fmidrange-l&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KeyCNgU3UD4UNO1k%2FXqG82oxcho3kWDEXaiCzHZClFA%3D&reserved=0
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fmidrange-l&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Qd9PNkL%2Fs9LE7qAhFL4WDgRmICw6MGG8lap2SsaLsFY%3D&reserved=0.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com%2F&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=cun0aWmfdfFkIF1r%2F2sgWTCvDcmCjFNGBNBjy383Vs4%3D&reserved=0
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fmidrange-l&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KeyCNgU3UD4UNO1k%2FXqG82oxcho3kWDEXaiCzHZClFA%3D&reserved=0
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fmidrange-l&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Qd9PNkL%2Fs9LE7qAhFL4WDgRmICw6MGG8lap2SsaLsFY%3D&reserved=0.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com%2F&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=cun0aWmfdfFkIF1r%2F2sgWTCvDcmCjFNGBNBjy383Vs4%3D&reserved=0
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fmidrange-l&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KeyCNgU3UD4UNO1k%2FXqG82oxcho3kWDEXaiCzHZClFA%3D&reserved=0
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fmidrange-l&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Qd9PNkL%2Fs9LE7qAhFL4WDgRmICw6MGG8lap2SsaLsFY%3D&reserved=0.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com%2F&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=cun0aWmfdfFkIF1r%2F2sgWTCvDcmCjFNGBNBjy383Vs4%3D&reserved=0
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.midrange.com%2Fmailman%2Flistinfo%2Fmidrange-l&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=KeyCNgU3UD4UNO1k%2FXqG82oxcho3kWDEXaiCzHZClFA%3D&reserved=0
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchive.midrange.com%2Fmidrange-l&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Qd9PNkL%2Fs9LE7qAhFL4WDgRmICw6MGG8lap2SsaLsFY%3D&reserved=0.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Famazon.midrange.com%2F&data=05%7C01%7C%7Cf6118df03dcc4748a0ad08dad7c647d7%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638059543856194782%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=cun0aWmfdfFkIF1r%2F2sgWTCvDcmCjFNGBNBjy383Vs4%3D&reserved=0
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.