Michael
asked on
Input/Output parameter in quote rcmd command
Using FTP and QUOTE RCMD, does anyone know of a way to create an input variable? This variable would be used to call and execute an IBM Supplied API on a remote As/400 system.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It would be much easier t try to answer if we had a couple examples of what the RCMD could look like. It's clear how a "variable" could make any difference to what you might be trying to do. Can you clarify some?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I did not need helping building the FTP QUOTE RCMD commands. I needed help getting feedback from trying to run an API using QUOTE RCMD function. Actually the API requires an INPUT/OUTPUT variable to be passed to it, which cannot be generated or defined in an FTP session. So _b_h suggested help me change my search specs, and found the magazine article. So the pointer from the MIDRANGE magazine about grabbing the FTP server (client session) job log, gave me the ability to use a CL Procedure / Program in the QUOTE RCMD, and get the success or failure details from the job log.
http://www-01.ibm.com/support/docview.wss?uid=nas8N1010065
You can generate the FTPCMDS file dynamically, and populate it with anything you like, including variable parameter values.