Hi R'Shmuel AMV"SH, I am aware that ISPF EDIT calls SUBMIT.
I want to be able to call a pre-existing Assembler program (which is in a PDS ahead of SYS1.CMDLIB and will be renamed to $UBMIT (thereby "exposing" the IBM SUBMIT)) by changing one character of the ISPF Primary Command, so that for an interim period, users can use either the IBM SUBMIT or the RYO SUBMIT. If all goes well, I am planning to retire the RYO SUBMIT after a trial period.
Thanks and regards, David On 2021-06-24 08:28, Seymour J Metz wrote:
ISPF EDIT SUBMIT calls TSO SUBMIT. Did you mean that you want to RYO? It is easy to copy some or all of the data to an internal reader, followed by a '/*EOF'. If you need to capture the jobid, a small assembler program can do that using the ACB/RPL interface. -- Shmuel (Seymour J.) Metz https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmason.gmu.edu%2F~smetz3&data=04%7C01%7C%7C66e3e9ba8d374ad1013c08d9370b966f%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637601345181896421%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=BkvKEHYwu%2BVSrDCQoAwda4mOndOH0VXjMGGN2FOYLiI%3D&reserved=0 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of David Spiegel [[email protected]] Sent: Thursday, June 24, 2021 6:09 AM To: [email protected] Subject: Re: ISPF Edit: Introduce New SUBMIT Module Hi Brian, I am familiar with the Command Table. I want to set up a command to do an ISPF Edit SUBMIT, not a TSO SUBMIT. That also means no &ZPARM for DSNAME. That is, SUBMIT what is being EDITd/BROWSEd/VIEWd. Thanks and regards, David On 2021-06-24 02:36, Brian Westerman wrote:You can call you program anything you want and create a command table entry for it. That way you can leave IBM's submit where it was/is is SYS1.CMDLIB. i.e. (look in option 3.9 of ISPF) and add YourCMD SELECT PGM(yourPGM PRM('&ZPARM')) NEWAPPL(anything) Then when the user types "yourCMD" it will invoke "yourPGM" The PRM part is to pass a parm to yopur program, (in case they type "SUBMIT 'somedataset(member)'". However, if you call your program SUBMIT then it will work outside of ISPF as well, although it will work if you called it yourPGM just as well. The command table just keeps them from having to type "TSO yourPGM" instead of just yourPGM or yourCMD. In any case, you don't want to replace IBM's submit, you just want to make sure that yours is located before IBM's in either a steplib or in a linklist dataset that occurs BEFORE sys1.cmdlib. I think using the name SUBMIT is a really really bad idea, unless you are going to create a alias for IBM's submit (maybe call it IBMSUB), so that if need be you can use it in case yours fails. ---------------------------------------------------------------------- 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
