Re: Using environment variables in JCL and USS

2024-06-25 Thread Paul Gilmartin
On Wed, 26 Jun 2024 03:15:25 +, kekronbekron wrote: >Are you able to share this, Paul? > I no longer have the code. I used ISPF Edit facilities to get LRECL, RECFM of the Edited file. BPXWDYN or ALLOCATE SYSOUT INTRDR with similar attributes. Extracted lines and wrote one-by-one with EXECI

Re: z/OS 3.1 Enhancements & Support News

2024-06-25 Thread Timothy Sipples
Jim Horne asks: >This looks interesting. Is it available for prior releases, or just >z/OS 3.1? I mentioned in my post that the IBM Open Enterprise SDK(*) for Python and IBM Z Open Automation Utilities runs on z/OS 2.4 and higher. The IBM Open Enterprise Foundation for z/OS runs on z/OS 2.5

Re: Using environment variables in JCL and USS

2024-06-25 Thread kekronbekron
Are you able to share this, Paul? -KB On Tuesday, June 25th, 2024 at 23:32, Paul Gilmartin <042bfe9c879d-dmarc-requ...@listserv.ua.edu> wrote: > On Tue, 25 Jun 2024 13:33:59 -0400, Phil Smith III wrote: > > > SWAG but have you tried a trailing semicolon? Or quotes around the value? I > >

Re: CPU and I/O statistics for BPXBATCH executions?

2024-06-25 Thread Andrew Rowley
On 26/06/2024 10:30 am, Farley, Peter wrote: Just a question of curiosity. In recent days I have been running some ad-hoc BPXBATCH jobs that executes some "cp" commands to copy a few z/OS data files down to a Unix directory, then a python script which uses that data. While the job is running

Re: Epoch Index

2024-06-25 Thread Paul Gilmartin
On Tue, 25 Jun 2024 19:09:53 -0700, Ed Jaffe wrote: >... >Years ago, one of our programmers fat-fingered a ZAP that accidentally >turned an MVC into an SCK (SET CLOCK) of =FD'-1'. It took down z/OS. It >kept crashing just a few minutes after everything was brought back up. > Eerily reminiscent

Re: Epoch Index

2024-06-25 Thread Ed Jaffe
On 6/11/2024 10:12 AM, Paul Schuster wrote: So, as of z/os 3.1, there does not seem to be a way to test with dates beyond 09/17/2042? A “R 00,DATE=2042.260 “ works, but a “R 00,DATE=2042.261” generates a “IEE306I RPLY HAS INVALID NUMERICS” message. Years ago, one of our programmers fat-fing

Re: CPU and I/O statistics for BPXBATCH executions?

2024-06-25 Thread Paul Feller
Peter, from what I recall I believe the information around Unix System Services stuff along with zIIP activity should be available to the IEFACTRT exit. There is information in the SMF 30 record related to Unix activity and zIIP activity. I'm guessing it's a matter of updating the exit to pull th

CPU and I/O statistics for BPXBATCH executions?

2024-06-25 Thread Farley, Peter
Hi All, Just a question of curiosity. In recent days I have been running some ad-hoc BPXBATCH jobs that executes some "cp" commands to copy a few z/OS data files down to a Unix directory, then a python script which uses that data. While the job is running I can use SDSF DA and PS to see the va

Re: LOL - AWS brags about 99.9% uptime!

2024-06-25 Thread Ed Jaffe
On 6/10/2024 4:21 PM, Charles Mills wrote: https://graphite.dev/blog/how-amazon-deploys-code Aiming for only (!) four minutes of downtime a month! Three nines?! Yikes! IBM now touts eight nines (99.99) on IBM Z with everything properly configured and fully redundant. https://www.ibm.co

Re: Using environment variables in JCL and USS

2024-06-25 Thread Bernd Oppolzer
I found an example where the environment variables are specified directly in the ENVAR parm and not in a separate file; maybe this could work for your use case too ... //CEEOPTS  DD * ALL31(ON), STACK(3M,1M,ANY,KEEP), HEAP(4K,4K,ANY,KEEP), STORAGE(NONE,NONE,NONE,0), RPTSTG(ON),RPTOPTS(ON), ENVA

Re: TSO PREFIX change

2024-06-25 Thread Tony Harminc
On Tue, 25 Jun 2024 at 12:38, jgmauta...@yahoo.com.ar < 01f9499d67db-dmarc-requ...@listserv.ua.edu> wrote: Is there a way for an administrator to change the TSO PREFIX of another > RACF userid? > There is no IBM-supplied RACF command to do this. But of course since the info is in the RACF dat

Re: Using environment variables in JCL and USS

2024-06-25 Thread Paul Gilmartin
On Tue, 25 Jun 2024 13:33:59 -0400, Phil Smith III wrote: >SWAG but have you tried a trailing semicolon? Or quotes around the value? I >found an example on the web for another product: >ENVAR C='X Y' >...which sorta suggests that the quotes might work. Might try both flavors of >quote, too. > O

Re: Using environment variables in JCL and USS

2024-06-25 Thread Phil Smith III
SWAG but have you tried a trailing semicolon? Or quotes around the value? I found an example on the web for another product: ENVAR C='X Y' ...which sorta suggests that the quotes might work. Might try both flavors of quote, too. -Original Message- From: IBM Mainframe Discussion List On

Re: TSO PREFIX change

2024-06-25 Thread Binyamin Dissen
On Tue, 25 Jun 2024 16:38:37 + "jgmauta...@yahoo.com.ar" <01f9499d67db-dmarc-requ...@listserv.ua.edu> wrote: :>Is there a way for an administrator to change the TSO PREFIX of another RACF userid? :>Reason for asking:When a new TSO userid is created, we need to set its TSO PREFIX to a val

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread Schmitt, Michael
There's no stats parm in a template. A template is a binary representation of a language copy member, e.g. you take the copy member (a file record layout) and convert it into a template. Then you can apply record selection and other criteria. Many people just have File Manager create templates

Using environment variables in JCL and USS

2024-06-25 Thread Colin Paice
I am writing a program using system SSL (GSK*). If I define the environment variables in USS everything works. If I specified the environment variables in JCL //START1 EXEC PGM=GSKMAIN,REGION=0M, // PARM=('ENVAR("_CEE_ENVFILE=DD:STDENV")/4000') //STDENV DD * GSK_TRACE_FILE=/tmp/zzztrace.file GSK

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread Jack Zukt
Hi You could run a rexx in an ispf batch environment that could use listds to get the member names for each pds and then edit each member with an initial macro that would do the save and end. Best wishes Jack On Tue, Jun 25, 2024, 16:17 Cameron Conacher < 03cfc59146bb-dmarc-requ...@listserv.ua

TSO PREFIX change

2024-06-25 Thread jgmauta...@yahoo.com.ar
Hi! Is there a way for an administrator to change the TSO PREFIX of another RACF userid? Reason for asking:When a new TSO userid is created, we need to set its TSO PREFIX to a value different from "USERID" (the default). Basically, as we generally dont allow USER datasets, we need to set the TSO

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread Sri Hari Kolusu
> I don't think that option is on the template workbench. Michael, I don't use workbench, but I am assuming that it does let you EDIT the template. If it does , then just add/Modify the stats parm in the template. Thanks, Kolusu

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread Schmitt, Michael
I don't think that option is on the template workbench. -Original Message- From: IBM Mainframe Discussion List On Behalf Of Sri Hari Kolusu Sent: Tuesday, June 25, 2024 11:26 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DFSORT Question regarding SORTOUT Library Member Statistics >> It i

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread Sri Hari Kolusu
>> It is a sore point with me that the File Manager template workbench doesn't >> generate ISPF statistics on the templates it creates. It will /maintain/ >> statistics if they already exist, but it won't create them. Michael, Did you try to use the option STATS=FORCE ? The ISPF statistics th

Re: Data Set Commander Monitor (DSCMON) Access Authority

2024-06-25 Thread Mike Cairns
Hi Peter, Radoslaw and I probably spend more time over on the RACF_L list than here on IBM-MAIN, but I still like to keep an eye open here. The use of ID(*) ACCESS(READ) is well known among the RACF community as the 'preferred' option to UACC nowadays, and the reason you cite is indeed mention

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread Schmitt, Michael
It is a sore point with me that the File Manager template workbench doesn't generate ISPF statistics on the templates it creates. It will /maintain/ statistics if they already exist, but it won't create them. Just like the IBM Fault Analyzer IDILANGX utility* won't create ISPF stats on sidefile

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread Cameron Conacher
Fantastic!! Thanks …….Cameron From: IBM Mainframe Discussion List On Behalf Of Sri Hari Kolusu Sent: Tuesday, June 25, 2024 11:42 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DFSORT Question regarding SORTOUT Library Member Statistics >> Or just Enter/SAVE/F3 a couple of hundred times. 😊 Cam

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread David Spiegel
HI Cameron, Another possibility ... Please look at (CBT File 93) PDSLOAD. //PDSLOAD  EXEC PGM=PDSLOADW,PARM='UPDTE(./)' //SYSPRINT  DD  SYSOUT=* //STEPLIB   DD  DISP=SHR,DSN=FILE135.PDS //SYSUT1    DD  DISP=SHR,DSN=SYSUT1.TXT //SYSUT2    DD  DISP=SHR,DSN=MYPDS.CNTL Here is a sample of SYSUT1: ./

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread Paul Gilmartin
On Tue, 25 Jun 2024 18:24:52 +, Robert Prins wrote: >Or if you don't care about stats, just that they are set, ISPF 3.5 > ISRSUPC with the UPDMVS8 option generates a patch file. But is there any tool to apply such a patch and update the stats, and even the revision level in cols. 73-80? --

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread Sri Hari Kolusu
>> Or just Enter/SAVE/F3 a couple of hundred times. 😊 Cameroon, You can use ISPF to Set the statistics. Look at the option 5 in UTILITIES. Menu Options View Utilities Compilers Help EN sss DSLIST - Data Sets M e 5 1. Library e C

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread Paul Gilmartin
On Tue, 25 Jun 2024 15:01:20 +, Sri Hari Kolusu wrote: > >Unfortunately, ... > >DFSORT does NOT copy/generate member statistics when copying. However, if >your shop has FILE-MANAGER, then you can use the following. > >//STEP0100 EXEC PGM=FILEMGR

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread Robert Prins
Or if you don't care about stats, just that they are set, ISPF 3.5 On Tue, 25 Jun 2024 at 18:23, Robert Prins wrote: > In 3.4 enter (and cut & paste) "E" before every member, and then enter > "SAVE;END;SAVE;END;SAVE;END;SAVE;END;RETRIEVE and it will reduce the number > of "Enter"s you have to pr

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread Robert Prins
In 3.4 enter (and cut & paste) "E" before every member, and then enter "SAVE;END;SAVE;END;SAVE;END;SAVE;END;RETRIEVE and it will reduce the number of "Enter"s you have to press significantly...And on a 160x62 screen, you can enter a lot of "SAVE;END;" commands ;) On Tue, 25 Jun 2024 at 15:17, Came

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread Willy Jensen
Wouldn't that set the statistics to the current date and time, plus the userid of the SORT job? Also, if you have File Manager, I assume that it could do the copy, including statistics. As a free alternative to File Manager, see PDS86 at cbttape.org file 182.

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread Farley, Peter
If you have the free PDS tool from the CBTTAPE site, that tool also allows you to add ISPF statistics to an existing member. Peter From: IBM Mainframe Discussion List On Behalf Of Cameron Conacher Sent: Tuesday, June 25, 2024 11:17 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DFSORT Question r

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread Cameron Conacher
Thanks. I can try that. Or just Enter/SAVE/F3 a couple of hundred times. 😊 Appreciate the information as always. Thanks …….Cameron From: IBM Mainframe Discussion List On Behalf Of Sri Hari Kolusu Sent: Tuesday, June 25, 2024 11:01 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: DFSORT Question

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread Sri Hari Kolusu
>> I want to know if I can include an option, or processing clause to ensure >> that Library statistics are generated for each new member as I create them. At the moment, I have a couple of hundred new Library Members that have no member statistics at all (who last changed, when created when last

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread Cameron Conacher
I believe I could use LMCOPY but I just wanted to confirm I was correct in that I could not do this in the SORT utility I had already prepared. Thanks …….Cameron From: IBM Mainframe Discussion List On Behalf Of rpinion865 Sent: Tuesday, June 25, 2024 10:52 AM To: IBM-MAIN@LISTSERV.UA.EDU Su

Re: ZAD SLIP trap

2024-06-25 Thread Peter Relson
The PER SLIP matches only a non-zero register with zeros in it like this: L Rx,PSAAOLD(0,4) <-- SLIP will match if R4 contains zeros And, also, will match for this if R4 contains zeros: L Rx,PSAAOLD(4,0) Peter Relson z/OS Core Technology Design

Re: DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread rpinion865
Would the ISPF LM Services, i.e. LMCOPY, provide the results you want? Sent with Proton Mail secure email. On Tuesday, June 25th, 2024 at 10:42 AM, Cameron Conacher <03cfc59146bb-dmarc-requ...@listserv.ua.edu> wrote: > Hello everyone, > I believe I simply cannot do this using DFSORT, but

DFSORT Question regarding SORTOUT Library Member Statistics

2024-06-25 Thread Cameron Conacher
Hello everyone, I believe I simply cannot do this using DFSORT, but I wanted to confirm with the wider/wiser team. I have create a little DFSORT Utility to clone JCL/PROCs/Control Statement etc... by copying selected members from a Library to another Library with little Market changes. Nothing

Re: [EXTERNAL] z/OS 3.1 Enhancements & Support News

2024-06-25 Thread Horne, Jim
This looks interesting. Is it available for prior releases, or just z/OS 3.1? Jim Horne NOTICE: All information in and attached to the e-mails below may be proprietary, confidential, privileged and otherwise protected from improper or erroneous disclosure. If yo

Re: Data Set Commander Monitor (DSCMON) Access Authority

2024-06-25 Thread Peter Vander Woude
R.S. One of the reasons to use ACCESS(READ) ID(*) and not UACC(READ) would be that the first forces the user accessing the programs to actually be a racf userid. I believe, that if you have a job, come across via NJE, it is possible that the submitting system did not provide a userid, and woul

z/OS 3.1 Enhancements & Support News

2024-06-25 Thread Timothy Sipples
When you place an order for z/OS 3.1 you will (also) receive the following 3 products within your order by default (effective July 1, 2024): IBM Open Enterprise JDK for Python IBM Z Open Automation Utilities IBM Open Enterprise Foundation for z/OS These 3 products have been available at no addit

Re: ZAD SLIP trap

2024-06-25 Thread Binyamin Dissen
Yeah, I should have looked in the POPs rather than just the system commands reference. Thanks. On Mon, 24 Jun 2024 17:38:57 -0400 Tony Harminc wrote: :>On Mon, 24 Jun 2024 at 17:22, Binyamin Dissen < :>0662573e2c3a-dmarc-requ...@listserv.ua.edu> wrote: :> :>From the doc it would appear that