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 Feb 21, 2018

Add API to IBM i that initiates file transfer to ACS Client PC

Provide an API for the IBM i operating system that shall initiate a "File transfer" of the specified file to the ACS Client PC running the ACS session. For example, a ACS client is running on Mac OS or Windows and runs a server (green screen) app that generates a PDF, Excel, JSON, or XML file. Today we have to EMAIL that file to the client or force them to initiate the file transfer of some obscure file name. This is too complex. What is needed is a new API, I'll call it QUSDXFR that when called, communicates with the ACS client to send the specified file to the Client using whatever method IBM chooses. For example, call QUSDXFR('/home/cozzi/sales.xls') -- this would initiate a transfer of the SALES.XLS file to the PC whose ACS session is running the job that called the QUSDXFR API. The end-user (the ACS user that evoked the QUSDXFR API) will be prompted with a popup dialog box to Save As, Cancel, or Cancel and report to QSYSOPR. There should also be a Quiet Mode job attribute to avoid the popup dialog, but I haven't thought enough about that option as yet to give advice on it.


Use Case:

On client/customer systems, we are generating between 50 and 150 Excel and PDF images per day in a high volume shipping/receiving enterprise. Currently we send these files via EMAIL to the client, which has its own set of complexities, such as asking the end-user for their email address. The client has requested that the files be transferred directly to the user's PC (via the ACS session) because the Internet connection is down in their country much more frequently then you would expect and when it is, they cannot receive these files.


Idea priority High
  • Guest
    Reply
    |
    Feb 18, 2019

    That you for the sample code. I can attempt to use it on Windows PCs at customers, however we are an entirely Apple Mac shop and have no used for examples that leverage PC-based .EXE programs that are not provided with macOS versions.

  • Guest
    Reply
    |
    Mar 2, 2018

    We would need to detect the PC operating system (Windows, MAC OSX, Linux) and then know the path where the ACS plug-in was located and so on. There needs to be a host-side API that just works to allow a new level in ease of use.

  • Guest
    Reply
    |
    Feb 22, 2018

    There is already an IBM i command that interacts with the PC where a 5250 session is running. The STRPCCMD provides the ability to run a command on the PC. If you need to automate that interaction, you could make use of a CL program.

    Here is an example of a CL program which uses STRPCCMD to call the ACS plugin CLDOWNLOAD to pull the contents of QIWS/QCUSTCDT on the host LP13UT28 to a local PC file C:\TMP7\QCUSTCDT.TXT:

    PGM
    STRPCO
    STRPCCMD PCCMD('START_PROGRAMS\WINDOWS_X86-64\ACSLAUNCH_WIN-64.EXE +
    /PLUGIN=CLDOWNLOAD +
    /SYSTEM=LP13UT28 +
    /HOSTFILE=QIWS/QCUSTCDT +
    /CLIENTFILE=C:\TMP7\QCUSTCDT.TXT +
    ')
    ENDPGM