You can merge (or concat) two PDF files together with the command, APF3812/PDFCONCAT. A valid license, which includes the Advanced PDF module is required. Java version 1.7 is also needed. Java 1.7 is available for OS400 version 7.1 and higher.
PDF concat is covered in this video:
The option to merge PDF files is also possible in the MRGSPLFPDF command via the PDFCON parameter, in the email finish definition, and in the PDF file naming definition.
The command has two parameters:
BASESTMF
The PDF file onto which the second PDF file is to be added. This file will be changed after running the command.
ADDSTMF
The PDF file, that should be added (concatenated) onto the BASESTMF file.
Example for use of the command:
PDF Concat (PDFCONCAT)
Type choices, press Enter.
Base PDF streamfile . . . . . . BASESTMF > '/apf3812home/view/kse.pdf'
Add PDF streamfile . . . . . . . ADDSTMF > '/apf3812home/view/ik.pdf'
|
After running the command above the base file, kse.pdf is changed, and now also includes the ik.pdf file.
Limitations e.g. for encrypted and signed PDF files does apply.