Skip to Main Content
IBM Power Ideas Portal


This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Not under consideration
Workspace IBM i
Categories Print
Created by Guest
Created on Jun 12, 2019

Enable *ADD by using CPYSPLF *TOSTMF (*PDF)

In some cases it would be usefull to merge multiple spoolfiles to one pdf.

Please enable in a further release or TR the option *ADD for pdf-creation via CPYSPLF. Thx


Use Case:

CPYSPLF FILE(AFPPRTF) TOFILE(*TOSTMF) JOB(123456/USER/SESSION) SPLNBR(2) TOSTMF('/tmp/Test.pdf') WSCST(*PDF) STMFOPT(*ADD)


Idea priority Medium
  • Guest
    Reply
    |
    Oct 30, 2020

    .The priority of this requirement does not justify the effort to implement it.

  • Guest
    Reply
    |
    Jul 25, 2019

    We recognize some benefits in the requested enhancement. We also assume that the appended document should remain syntacticly correct. This presents the greatest challenge to providing this new function. Simply opening the existing stream file and appending the results of the second file to it, would not result in a valid document for the
    majority of formats supported by the WSCST parameter. For example, PDF expects to find an index at the end of the file that represents, and references, the entire file. Likewise, a multi-page TIFF image is not simply multiple TIFF images within a single file.

    The CPYSPLF component has no knowledge of the various formats, and the current transforms do not provide a "merge" option. Adding this support to all of them would not
    be trivial. The transforms that output these formats generally lack the ability to parse them as an input.

    Unless we find an open source solution for merging the key document formats, it is unlikely that we would find the benefits provided would justify the significant development effort required.

    The OnDemand product does provide a MRGSPLFOND command that allows users to merge *SCS spooled files into a single spooled file.

  • Guest
    Reply
    |
    Jun 12, 2019

    Attachment (Use case)

  • Guest
    Reply
    |
    Jun 12, 2019

    Sounds like a good idea.
    But instead of MBROPT(*ADD) I think it should be STMFOPT (Stream file option) instead.

    I would like that OVRPRTF also had the parameter STMFOPT ( *NONE, *REPLACE, *ADD ).
    Then you didn't have to delete the stream file first. *REPLACE would be enough.