× 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.



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
http://www.dekko.com

-----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
http://www.dekko.com

-----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://www.totalbizfulfillment.com/> 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
www.totalbizfulfillment.com<http://www.totalbizfulfillment.com>
--
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
--
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
--
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
--
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.

This thread ...

Follow-Ups:
Replies:

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.