Have a look at ISPF 3.9 (COMMAND). This is the command table where you
define new primary commands to ISPF. At end, copy table ISPCMDS (or ISRCMDS
depending on your APPL id) to the first dataset in ISPTLIB concatanation to
make it public to all users.
As per your second question, There are commands that are built-in in ISPF
and others that are define to the command table. for example. your program
can be defined as CMD($UBMIT) for the name you want to use under ISPF.
TSO parmlib only needed if the program is authorized (TSO, by definition is
unauthorized).
HTH

*| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere
Platform* *|* *Information Security Continuous Monitoring for Z/OS, zLinux
and IBM I **|  *

*|* *Email**: i_mugz...@securiteam.co.il **|* *Mob**: +972 522 986404 **|*
*Skype**: ItschakMugzach **|* *Web**: www.Securiteam.co.il  **|*





On Thu, Jun 24, 2021 at 5:25 AM David Spiegel <dspiegel...@hotmail.com>
wrote:

> Hi,
> I need help to figure out how to add a new Primary Command to ISPF Edit,
> so that I can test a RYO SUBMIT Command written in Assembler.
> Let's assume that my module is called $UBMIT (with an ALIAS of $UB).
> I do not want to write an Edit Macro to do this. (I already wrote one of
> these). nor do want to invoke an Edit Macro which will call the Command
> Processor.
>
> (The user will type $UB on the Edit Command Line and use the RYO program
> instead of the IBM-supplied SUB.)
>
> (As an aside, one of the reasons it has to be written in Assembler is so
> that the program can access the INTRDR's RPLRBAR and thereby TPUT the
> Job Number after SUBMIT.)
>
> Another related question: How does ISPF "know" what SUBMIT means?
>
> Thank you in advance,
> David
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to