Re: Can I get the true jobname in JCL

2022-12-16 Thread Roger W Suhr
Try &SYSJOBNM. Roger W. Suhr suhr...@gmail.com -Original Message- From: IBM Mainframe Discussion List On Behalf Of Colin Paice Sent: Friday, December 16, 2022 4:07 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Can I get the true jobname in JCL If I start OMPROUTE.OMP1, or issue Start OMPROUTE

Re: Can I get the true jobname in JCL

2022-12-16 Thread Michael Oujesky
Just remember to add it to MSTRJCL asIEFJOBS. Michael At 10:39 AM 12/16/2022, Carmen Vitullo wrote: Content-Transfer-Encoding: 8bit I'm not sure this was a question or a statement but yes, I use SYS1.STCJOBS and place jobcards for STC's I want to add, accounting info or change the msgclass

Re: Can I get the true jobname in JCL

2022-12-16 Thread Seymour J Metz
-MAIN@LISTSERV.UA.EDU] on behalf of Jay Maynard [jaymayn...@gmail.com] Sent: Friday, December 16, 2022 11:32 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Can I get the true jobname in JCL You can now put a JOB statement in an STC PROC?! On Fri, Dec 16, 2022 at 10:10 AM Steve Smith wrote: > Well, I'

Re: Can I get the true jobname in JCL

2022-12-16 Thread Tom Brennan
32 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Can I get the true jobname in JCL You can now put a JOB statement in an STC PROC?! -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu

Re: Can I get the true jobname in JCL

2022-12-16 Thread Lennie Dymoke-Bradshaw
Yes, but that's quite a new feature. Only about 25 years old. Lennie -Original Message- From: IBM Mainframe Discussion List On Behalf Of Jay Maynard Sent: 16 December 2022 16:32 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Can I get the true jobname in JCL You can now put a JOB stat

Re: Can I get the true jobname in JCL

2022-12-16 Thread Carmen Vitullo
I'm not sure this was a question or a statement but yes, I use SYS1.STCJOBS and place jobcards for STC's I want to add, accounting info or change the msgclass or any other valid jobcard parms. I learn something almost daily, I didn't know about &SYSJOBNM, good to know Carmen On 12/16/2022 10

Re: Can I get the true jobname in JCL

2022-12-16 Thread Jay Maynard
You can now put a JOB statement in an STC PROC?! On Fri, Dec 16, 2022 at 10:10 AM Steve Smith wrote: > Well, I've only used the new &SYSJOBNM for batch jobs, as the old &JOBNAME > seems to work well for STCs. However! I found (in MVS System Commands) > the following description of the rabbit h

Re: Can I get the true jobname in JCL

2022-12-16 Thread Steve Smith
Well, I've only used the new &SYSJOBNM for batch jobs, as the old &JOBNAME seems to work well for STCs. However! I found (in MVS System Commands) the following description of the rabbit hole that is names of STCs: The job name for a given started task can be assigned based on a variety of > inpu

Re: Can I get the true jobname in JCL

2022-12-16 Thread Colin Paice
Wth S OMPROUTE.OMP4 &SYSJOBNM gives OMROUTE S OMPROUTE,JOBNAME=OMP4 gives OMP4 I can live with this Colin On Fri, 16 Dec 2022 at 14:31, Colin Paice wrote: > Thank you .. I'll raise some doc comments, as it is not well documented. > It is only mentioned in the > *what's changed in 2.3 * > Colin

Re: Can I get the true jobname in JCL

2022-12-16 Thread Colin Paice
Thank you .. I'll raise some doc comments, as it is not well documented. It is only mentioned in the *what's changed in 2.3 * Colin On Fri, 16 Dec 2022 at 13:04, Steve Smith wrote: > This was asked and answered before. &SYSJOBNM > > sas > > On Fri, Dec 16, 2022 at 4:07 AM Colin Paice wrote: >

Re: Can I get the true jobname in JCL

2022-12-16 Thread Steve Smith
This was asked and answered before. &SYSJOBNM sas On Fri, Dec 16, 2022 at 4:07 AM Colin Paice wrote: > If I start OMPROUTE.OMP1, or issue Start OMPROUTE,JOBNAME=OMP1, can I get > the > OMP1 as a JCL symbol so I can use it to pick up different configuration > members? > I can crawl around the c