What kind of PLIST does the program expect? What was the full message? Are you saying that an entry of SELECT CMD($MD) called SUB? What was the table name?
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of David Spiegel [[email protected]] Sent: Thursday, June 24, 2021 11:53 AM To: [email protected] Subject: Re: ISPF Edit: Introduce New SUBMIT Module Hi R'Shmuel AMV"SH, I tried PGM(foo) and got ABEND 66D Code 02. I tried CMD(foo), but, that gave me the TSO "version" of SUBMIT, including a prompt for DSNAME. What I really want is to invoke foo the same way that ISPF EDIT/VIEW/BROWSE invokes SUBMIT. That is, it SUBMITs what the user is EDITin/BROWSEing/VIEWing. Thanks and regards, David On 2021-06-24 11:38, Seymour J Metz wrote: > Is there an ISRCMDS tables? If so, that's how EDIT recognizes its command. > Also it's valid to specify SELECT PGM(foo) in a command table. > > > -- > Shmuel (Seymour J.) Metz > https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmason.gmu.edu%2F~smetz3&data=04%7C01%7C%7C8f10a8dd8c93401a105908d937263722%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637601459577261428%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=WD9bJTFgTb9vqcu1%2BTDsYFSUiiFTlOskqq8j%2BHMfg9c%3D&reserved=0 > > ________________________________________ > From: IBM Mainframe Discussion List [[email protected]] on behalf of > Jeremy Nicoll [[email protected]] > Sent: Thursday, June 24, 2021 10:07 AM > To: [email protected] > Subject: Re: ISPF Edit: Introduce New SUBMIT Module > > On Thu, 24 Jun 2021, at 14:55, David Spiegel wrote: >> Hi Jeremy, >> I have an existing RYO SUBMIT Assembler program. >> (Also, without Control Block chasing, I have not a way to access RPLRBAR >> (for Job Number).) > How does that answer my question? > > Why would you not wrap your existing code in just enough ispf macro > assembler to make it work? > > > I noticed that other people talked about ispf command table processing > in answer to your question about how ispf recognises a "submit" command, > but I'm under-convinced that command tables are relevant. Surely ispf edit > recognises all its command line commands because it parses the command > line to determine what it's being asked to do? > > Command tables are (or used to be) only for starting other commands (ie > clists, rexx execs or tso command processors) or programs from any ispf > command line on arbitrary panels in any application. Eg the "tso" that one > can type before a tso command on a commandline executes a "select ..." > via a command-table definition (or it used to). > > -- > Jeremy Nicoll - my opinions are my own. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > . ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
