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 (

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 ( - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal ( - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM. - 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 IBM i Access Family
Created by Guest
Created on Jul 1, 2021

Automatically display a PDF document on the screen after creating the PDF in an interactive 5250 session.

Due to environmental restrictions namely security, we cannot give the users in the plant access to the IFS to see and display PDF documents.

What we need here and this is required for many reports, is to somehow open the PDF programmatically from a 5250 session immediately after the program has created the report. The report will be converted to a PDF in the IFS.

We need a command to execute that will retrieve the last spool file/PDF and open the PDF without the user needing to go to any other screens or sessions.

Use Case:

Reports have been created as AFPDS documents with lines, boxes and other formatting.

These documents are only visible by printing to a printer or converting to a PDF and opening the PDF document.

In most cases, there is no need to print the document.

The example would be to automatically open the PDF document immediately after creation something like rendering a html document without the user need to press any buttons or select a number of options to see the PDF.

Idea priority High
  • Guest
    Jul 9, 2021

    Thank you for submitting your Request For Enhancement. After evaluating your submission, the decision at this time is to not provide this support.
    The user program is better suited at determining what to do with the PDF and when.

  • Guest
    Jul 6, 2021

    To add to SmjBradshaw's comments, you can do this today with the following commands (either in a CL program or in RPG via the QCMDEXC API):
    CHGVAR VAR(&PCCMD) VALUE('explorer.exe "\\' *CAT + <- double quote before the \\
    &SYSNAME *TCAT &pdfpathfilename *TCAT '"') <- single quote, double quote, single quote after the last *TCAT

  • Guest
    Jul 3, 2021


    I agree with Bob, suggested way of doing this.

    You could even launch this url automatically using the strpco functionality


  • Guest
    Jul 2, 2021

    This is a great request but does require a Retrieve last SPOOLED file API or command that is aware of various things such as SQL Server Jobs and QPRTJOB Server Jobs (which the current interfaces do not respect).
    You could create a web link (URL) to the PDF and place it onto the 5250 screen for the end-user and then instruct them to click on it (links do work on green screen). But nothing I'm saying here is to deter IBM from created this RFE feature as it would be beneficial--just trying to help solve the issue "today".