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 IBM i Access Family
Created by Guest
Created on Mar 22, 2017

STRPCCMD PAUSE(*NO) needs to work again

In IBM i Access (Client Access, PC5250) STRPCCMD PAUSE(*NO) used to work properly in that it would not pause and be input inhibited while a program is still running. That's what PAUSE(*YES) is for. Now PAUSE(*NO) works the same as PAUSE(*YES) when launching GUI programs which is incorrect.

From the help text for the parameter:
*YES
The computer will pause after running the command before
returning to the PC Organizer menu.
*NO
The computer returns immediately to the PC Organizer menu after
the command runs.


Use Case:

We use various programs that are very slow to load initially, as part of our document imaging system. With the current (broken) behavior, we have to exit the GUI to regain control of the green screen before we can load the next image. When the GUI program is already running, images load quickly. Loading the program after exiting each time is slow.


Idea priority Urgent
  • Guest
    Reply
    |
    Apr 11, 2017

    In IBM i Access for Windows, the STRPCCMD PAUSE(*YES/*NO) has an unfortunate and long history of behaving differently depending on which version (eg ServicePack) of the product was being used. For the initial release of IBM i Access Client Solutions, the decision was made to ignore the previous behavior and make it match the behavior you are requesting. As more and more customers began migrating from our legacy product, additional variations and uses of the STRPCCMD have surfaced that have required us to make changes so that it perfectly matches the behavior of IBM i Access for Windows. That has made it impossible for us to support the behavior you are requesting and also match what the majority of our customers expect. The confusion is that the parameter should really be named PROMPT and not PAUSE. In all cases, the command issued to the PC must finish. You will notice that the help text you provided for *NO says "...returns...after the command runs". That really means, after the PC command, not the STRPCCMD itself. The PAUSE parameter was provided for cases when the user wanted a "pause" command issued on the PC side which would cause a prompt to appear (waiting for user intervention).

    As a possible solution for the scenario you have described where you want the PC command to run in the background on the PC while the STRPCCMD returns immediately, consider adding the "start" keyword in front of your PC command in combination with PAUSE(*NO). That will make the PC command run in the background and your STRPCCMD should return immediately. For example:
    STRPCCMD PCCMD('start Start_Programs\Windows_x86-64\acslaunch_win-64.exe') PAUSE(*NO)

  • Guest
    Reply
    |
    Mar 30, 2017

    The behaviour you describe for PAUSE(*NO) is the faulty way it was implemented in ACS. In Client Access STRPCCMD PAUSE(*NO) waited until the called program had finished processing.
    The changed behaviour caused many problems and was reported in
    https://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=91554

    The behaviour you want could be implemented by expanding the possible STRPCCMD PAUSE values. For example if PAUSE(*NONE) is specified then it could behave like you want. It could also be a time interval fx PAUSE(10) for a 10 second delay, PAUSE(0) for no delay etc.