Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help with sending multiple ispf commands

Status
Not open for further replies.

kdrfmr

Programmer
Nov 2, 2012
1
US
Writing REXX application that is required to interface with another REXX/CList application.

The other application is a series of ISPF Panels and REXX that check security and once passed, allow you to do some requests. From ISPF command line you can invoke it by keying "TSO clist;p1;p2;p3;p4". Keying the entire string on the command line in ISPF causes the system to be invoked, all the panels satisfied and the request to be made.

Sending the entire command string through "TSO clist;p1;p2;p3;p4" ends with the first clist being invoked and nothing else. Based on that it appears TSO considers this a single command.

Each parm references a CLIST/REXX job. The first 2 screens I can bypass. The third checks security and, once passed, the last panel/clist is invoked to get P4. I am not allowed to code the security check into my application. I can call the third panel, but not sure how I would pass the parm for it and then pass the parm for the last one.

Ideally I prefer to send the entire command line and collect the RC when it is finished. Can that be done?
 
Let me see if I have this right:

From within an ISPF session, you can fire the application and pass panel parameters such that the application does all the needed processes to completion.

From outside ISPF (what I refer to as "READY-mode") it doesn't work.

If that's what you're describing, it's quite understandable. The "trick" of packing commands together is an ISPF feature. Outside ISPF it won't work.

Frank Clarke
--America's source for adverse opinions since 1943.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top