Can I get the true jobname in JCL

2022-12-16 Thread Colin Paice
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 control blocks and create a symbol - but want a supported solution. If I use &JOBNAME I get JES2. Colin --

Re: Transmitting SMF records

2022-12-16 Thread Scott Chapman
We have customers (S)FTP(S)ing us data every day directly referencing the output of IFASMFDP with DCB=RECFM=U with no problem. From our standard instructions: //SENDFTP EXEC PGM=FTP,PARM='(EXIT=12' //SYSPRINT DD SYSOUT=* //OUTPUT DD SYSOUT=* //SMFFILEA DD DSN=*.SMFDMP.DUMPOUT,DCB=RECFM=U,BLKSIZE

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

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 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: Interpreting SEND/RECV CIPHERs

2022-12-16 Thread Keith Gooding
In a previous reply I mentioned that I recalled that there were some diagnostic enhancements for AT-TLS in z/os 2.5. They are described in the z/os 2 .5 education articles on GitHub : https://github.com/IBM/IBM-Z-zOS/blob/main/zOS-Education/zOS-V2.5-Education/IEAV2R5%20Communications%20Server.p

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

Re: Can I get the true jobname in JCL

2022-12-16 Thread Tom Brennan
Come for the mainframe, stay for the comedy :) On 12/16/2022 9:29 AM, Lennie Dymoke-Bradshaw wrote: 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

Re: Can I get the true jobname in JCL

2022-12-16 Thread Seymour J Metz
Not only that, but if you don't provide a JOB statement the systems generates one. However, that has only been the case since OS/360. GDR -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.E

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: Transmitting SMF records

2022-12-16 Thread Kirk Wolf
The OP didn't specify IBM FTP, so I'll mention that could use Co:Z SFTP, which has a subcomment "dsput" which will allocate a dataset on the target system matching the source system and then upload the dataset in binary, preserving record formats. Example: //SFTP EXEC PROC=SFTPPROC //SFTPIN D

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: Transmitting SMF records

2022-12-16 Thread Andrew Rowley
On 16/12/2022 11:33 pm, Scott Chapman wrote: We have customers (S)FTP(S)ing us data every day directly referencing the output of IFASMFDP with DCB=RECFM=U with no problem. The OP specified being able to reverse the process, so my understanding was it needed to transfer back to a dataset on z

Re: Transmitting SMF records

2022-12-16 Thread Paul Gilmartin
On Sat, 17 Dec 2022 09:47:39 +1100, Andrew Rowley wrote: > >This seems to be surprisingly difficult - IBM doesn't seem to have >considered round trip capability when they wrote the FTP functions. >(Although I haven't tried it with a RECFM U transfer.) > Surprisingly difficult or predictably IBM?

Re: Transmitting SMF records

2022-12-16 Thread Paul Gilmartin
On Fri, 16 Dec 2022 15:03:54 -0600, Kirk Wolf wrote: >The OP didn't specify IBM FTP, so I'll mention that could use Co:Z SFTP, which >has a subcomment "dsput" which will allocate a dataset on the target system >matching the source system and then upload the dataset in binary, preserving >record

Re: z/OS CP037 and OMVS CP1047

2022-12-16 Thread David Crayford
On 15/12/22 00:11, Paul Peplinski wrote: David, This whole process has been a massive learning experience. It started out being the "simple" task of getting a java11 jar running on the mainframe so we didn't have to stand up Linux servers. Oh, and have a CICS COBOL program talk to it (POST) us