|
On Dec 13, 2018, at 9:32 AM, Barb Hines <BHines@xxxxxxxxxxxxxxxxx> wrote:
It's third party software and they generate two spool files for the document, we don't own the source. I was looking for a quick solution without having to re-write a bunch of code...
Barbara Hines
Allied Machine & Engineering
330.343.4283 Ext. 8251
-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxx> On Behalf Of Charles
Wilt
Sent: Thursday, December 13, 2018 12:13 PM
To: RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
Subject: Re: Append AFPDS files
Brad answered your question...
But why do you do two overlays? If you generate the spool file as AFPDS, you could assign a different overlay for every page in the single spool file.
Charles
On Thu, Dec 13, 2018 at 6:24 AM Barb Hines <BHines@xxxxxxxxxxxxxxxxx> wrote:
Hello group,--
I'm having issues with merging spool files that are being sent to the IFS.
Two AFPDS spool files with overlays are created for our commercial
invoice, a header page and continuation pages. I'm copying them to a
directory as .pdf files.
Here is the command I'm using for each file:
CPYSPLF FILE(spoolfileX) TOFILE(*TOSTMF) +
JOB(12345/xxxxxxx/QPADEV0001) +
SPLNBR(000001) JOBSYSNAME(xxxxxx) +
TOSTMF('/myfolder/splf.PDF') +
WSCST(*PDF) STMFOPT(*NONE) OPNSPLF(*YES)
I run the ftp append command with "namefmt 1".
The files appear to append, the size increases as expected.
The problem is, when I open them in acrobat, I only see the first page.
What am I missing? Should I be using a different command to merge them?
Thank you,
Barbara Hines
[Allied Machine & Engineering]<http://www.alliedmachine.com/>
Barbara Hines
[Allied Machine & Engineering]<http://www.alliedmachine.com/>
Phone: 330.343.4283 Ext. 8251
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list To post a message email:
RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list
options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx 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 RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx 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 RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx 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 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.