I don't see where the OP is asking for the job number. If he doesn't need it, 
then there's no need for any assembler code.

If he does need the job number, then OUTTRAP won't help, since he doesn't want 
to use SUBMIT. In that case, a small program using ACB/RPL can copy to the 
internal reader and return the jobid. There's probably already something on the 
CBTTAPE that does that.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
ITschak Mugzach [imugz...@gmail.com]
Sent: Thursday, June 24, 2021 8:04 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: ISPF Edit: Introduce New SUBMIT Module

In this case I would write a small rexx program to call the assembler. As
it is rexx, the name typed assumed to be a macro. BTW, the problem can
easily be solved by rexx OUTTRAP (to capture the job number).

ITschak

ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Continuous Monitoring
for z/OS, x/Linux & IBM I **| z/VM coming soon  *




On Thu, Jun 24, 2021 at 2:46 PM Rupert Reynolds <rreyno...@cix.co.uk> wrote:

> >
> >
> >
> If I read this right, OP is asking for a replacement for the edit SUB
> command, which does some alternative processing before the job is
> submitted, but is basically quite similar to the original SUB.
>
> If a Rexx EDIT macro is not acceptable, my first instinct is to look for a
> zOS exit that runs when writing to the internal reader, or a JES2 exit that
> runs when jobs are submitted (there will be more than 1).
>
> As an alternative, can automation do what's required?
>
> Roops
>
> > .
>
> -----Original Message-----
> > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf
> > Of David Spiegel
> > Sent: Thursday, June 24, 2021 5:09 AM
> > To: IBM-MAIN@LISTSERV.UA.EDU
> > 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
> >
> >
> >
>
> ----------------------------------------------------------------------
> 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

----------------------------------------------------------------------
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