Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Lennie Bradshaw
How about TSO EDIT (yes TSO, not ISPF) in batch. Lennie -Original Message- From: IBM Mainframe Discussion List On Behalf Of R.S. Sent: 11 January 2021 10:21 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Request for help with removing sequence numbers from PDS members W dniu 11.01.2021 o

Re: z/OS Git/SSH Help - Configuration Issue ?

2021-01-11 Thread Jousma, David
Speaking of GIT, IBM seems to be distributing Rocket Git z/OS client with their ADFz offering. That is great because we are just moving to mainframe DEVOPS with GIT, etc and support for that piece of software now comes through IBM, instead of paying Rocket for a separate Support offering...

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Paul Gilmartin
On Mon, 11 Jan 2021 15:37:55 +, Sean Gleann wrote: >Many thanks to all who responded. >I opted to adapt and (try to) use the REXX that Andy Styles gave, but I'm >tripping up over something that has to be one of those 'simple, basic' >things. >The "ISPEXEC CONTROL ERRORS RETURN" command gives

z/OS Git/SSH Help - Configuration Issue ?

2021-01-11 Thread Lionel B Dyck
I have a test lpar that I've been given access to and I have installed Git (both 2.14 and 2.26) and have the same issues with either release so I'm thinking it is outside of git. When I issue the command: ssh g...@github.com git-receive-pack lbdyck/racfadm.git I get a

Re: Code to verify LOGON password

2021-01-11 Thread R.S.
That's what we call brute force attack. There is no way to protect against it ...or maybe there are some things to help. 1. Do not give your RACF db to hackers. Never. 2. Enforce periodic password change. 3. Use KDFAES. 4. Use passphrases. First is obvious. Effectiveness of the second is

Re: Code to verify LOGON password

2021-01-11 Thread Chris Hoelscher
Yes - we used one years ago - as part of a govt audit - one year it got accidentally run multiple times and the multiple failed passwords exceeded the RACF/ACF2 threshhold - thousands of accounts were locked until unlocked the next day ... I do not have firsthand knowledge of the name of the

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Sean Gleann
Many thanks to all who responded. I opted to adapt and (try to) use the REXX that Andy Styles gave, but I'm tripping up over something that has to be one of those 'simple, basic' things. The "ISPEXEC CONTROL ERRORS RETURN" command gives me RC(20) as a result. I think I've got to use an 'ADDRESS

SV: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Lars Höglund
Example of ISPF-proc //* PROC ISPFBAT //ISPFBAT PROC //* //*-- //*

YADRO mainframes?

2021-01-11 Thread R.S.
I just found some IBM document showin parameters of ...YADRO mainframes. It is dated 30-04-2017. Yes, the term "mainframe" is used. There are parameters like MSU, keywords like PSLC, zNALC, Coupling Facility, z/OS, z/VSE, etc. YADRO is russian IT company - that's all I know. I'm even not sure

Re: Code to verify LOGON password

2021-01-11 Thread Tom Brennan
Isn't there a program someone wrote (talked about here many years ago) that can try various passwords until something matches the hashed value? If that's the case, hashing doesn't really do as much good as people think it does, once someone gets hold of the RACF dataset of course. On

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Jeremy Nicoll
On Mon, 11 Jan 2021, at 15:37, Sean Gleann wrote: > Many thanks to all who responded. > I opted to adapt and (try to) use the REXX that Andy Styles gave, but I'm > tripping up over something that has to be one of those 'simple, basic' > things. > The "ISPEXEC CONTROL ERRORS RETURN" command gives

z/OS holddata per https?

2021-01-11 Thread Barbara Nitz
Happy New Year to all of you! my employer has decided that ftp is not allowed anymore anywhere. Today I tried to download the newest holddata from http://service.software.ibm.com/holdata/390holddata.html. The file I'm interested in (full data, plain text) is a link to

Re: z/OS holddata per https?

2021-01-11 Thread Kurt Quackenbush
Does anybody a link where these holddata are downloadable via http/s? Not exactly what you asked for, but you can order and download the HOLDDATA, all with HTTPS, using SMP/E RECEIVE ORDER. Read about it here (watch the wrap:

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Paul Gilmartin
On Mon, 11 Jan 2021 17:58:07 +, Lars Höglund wrote: > >You can use SETMSG even in batch that's why ISPMLIB > What is its effect? >-Ursprungligt meddelande- >Fr�n: Seymour J Metz >Skickat: den 11 januari 2021 18:39 > >Why a separate allocation step? > >Why 3120 for ISPPROF? >

Compile error and also possible library bug with Metal/C metal.h

2021-01-11 Thread Dennis Fitzpatrick
I'm a developer working with a client to develop Metal C functions for their products. Up until recently I've defined __METAL_STATIC and linked with SCCR3BND. I decided recently to play with the dynamic library in LPALIB so I removed that #define. What I'm getting is compile errors on the

Re: Code to verify LOGON password

2021-01-11 Thread Charles Mills
https://en.wikipedia.org/wiki/John_the_Ripper There is a downloadable plugin for RACF -- old RACF hashing only, I *think*. @R.S. writes > 1. Do not give your RACF db to hackers. Never. No one "gives" their RACF DB to anyone (I would hope). The problem -- and everyone reading this who is not

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Paul Gilmartin
On Mon, 11 Jan 2021 16:36:35 +, Sean Gleann wrote: > >"ADDRESS ISPEXEC CONTROL ERRORS RETURN" results in >IKJ56500I COMMAND ADDRESS NOT FOUND > +++ RC(-3) +++ > ADDRESS is a Rexx bultin instruction. It should not be quoted as if it were a host command. -- gil

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Paul Gilmartin
On Mon, 11 Jan 2021 16:36:35 +, Sean Gleann wrote: > >The next command in the REXX is "ISREDIT MACRO", but that leads back to the >RC(20) situation >"ISPEXEC CONTROL ERRORS RETURN" >"ISREDIT MACRO" > +++ RC(20) +++ > "ISREDIT MACRO" must be the first command in a MACRO. It may not

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Seymour J Metz
'"ISPEXEC CONTROL ERRORS RETURN"' is just 'address ISPEXEC "CONTROL ERRORS RETURN"' with more overhead. '"ADDRESS ISPEXEC CONTROL ERRORS RETURN"" is wrong because there is no ADDRESS command. '"CONTROL ERRORS RETURN"' is only valid in the ISPEXEC environment, which requires that you be

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Sean Gleann
Jeremy - I tried variants of what you suggest, but all to no avail. "ISPEXEC CONTROL ERRORS RETURN" appears to be OK - at least, there's no error message. "ADDRESS ISPEXEC CONTROL ERRORS RETURN" results in IKJ56500I COMMAND ADDRESS NOT FOUND +++ RC(-3) +++ Splitting the command into two

SV: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Lars Höglund
This is a sample, do as You please. This is the way I do it. Don't use a proc Use INCLUDE Or Don't use INCLUDE. You can use SETMSG even in batch that's why ISPMLIB //Lasse -Ursprungligt meddelande- Från: IBM Mainframe Discussion List För Seymour J Metz Skickat: den 11 januari 2021

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Styles, Andy (ITS zPlatform Services)
Classification: Public ISREDIT MACRO must be the first macro command in a macro. The ISPEXEC doesn't count as a macro command; they can certainly be used prior to an ISREDIT MACRO command. I have many examples of this usage to determine whether a command is being called as a macro or a

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Seymour J Metz
ISPF has an ISPEXEC command in support of clists; '"ISPEXEC CONTROL ERRORS RETURN"' is equivalent to 'ADDRESS ISPEXEC "CONTROL ERRORS RETURN"' with more overhead. That rc 20 means that it is not running under ISPF. Under ISPF, the initial environment is ISPEXEC. -- Shmuel (Seymour J.) Metz

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Paul Gilmartin
On Mon, 11 Jan 2021 16:17:43 +, Lars Höglund wrote: >Example of ISPF-proc > >//* PROC ISPFBAT >//ISPFBAT PROC >//*

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Seymour J Metz
Why a separate allocation step? Why 3120 for ISPPROF? -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Lars Höglund [lars.hogl...@alecta.se] Sent: Monday, January 11,

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Lennie Dymoke-Bradshaw
Apologies, you wanted to do a PDS member. //EDIT EXEC PGM=IKJEFT01 //SYSTSPRT DD SYSOUT=* //SYSTSIN DD * EDIT 'LEN.X.TEST.NVSAM.PDS(#ASM)' DATA LIST UNNUM

Re: z/OS holddata per https?

2021-01-11 Thread Jesse 1 Robinson
I can confirm that HTTPS replaces FTP for downloads very nicely. Our use of FTP depends on a gizmo (Bluecoat) that cannot understand FTPS. We made the switch to HTTPS some time ago. Uploading doc (dumps, etc) is also problematic, but IBM has not pulled the plug yet on FTP. Nonetheless we also

Re: Compile error and also possible library bug with Metal/C metal.h

2021-01-11 Thread Don Poitras
I've never used Metal C, but for the first problem (undeclared __MEMSET), I would look to see if there's a string.h that can be used. That's normally where memcmp is defined. As for the runtime problem, I'd guess it had something to do with using 'sizeof' incorrectly. It looks as if you are

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Lennie Dymoke-Bradshaw
Here's how to do it using TSO EDIT. //EDIT EXEC PGM=IKJEFT01 //SYSTSPRT DD SYSOUT=* //SYSTSIN DD * EDIT 'LEN.X.TEST.NVSAM.FB80' DATA LIST UNNUM

Re: Anyone using IBM Cloud Tape Connector?

2021-01-11 Thread R.S.
W dniu 11.01.2021 o 12:07, David Spiegel pisze: Hi Tim, You said: "... but there are at least three choices ..." Other than RACF, ACF2 and TSS are there others? Yes. However IMHO none of them is active. Examples: 1. Deadbolt. It was announced, but I don't know if any shop implemented it. 2.

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Sean Gleann
Please ignore my last... yep - it was one of those 'simple basic' things. I had a DD statement to define a temporary ISPPROF, where I'd coded 'DSORG=PS' instead of 'PO'. (seems strange that you can code 'SPACE=(TRK,(1,1,1))' along with 'DSORG=PS' without getting at least a warning...) Regards Sean

Ibm macro instructions code clarification

2021-01-11 Thread Jake Anderson
Hello Apologies for my ignorance. One of our product failed with FDBWD : 00141300 FDBK2. I am not able to decode the meaning or explanation for FDBWD. Could someone please help to understand so that I can make sure I understand fully ? Jake

Re: Code to verify LOGON password

2021-01-11 Thread Timothy Sipples
Radoslaw Skorupka wrote: >That's what we call brute force attack. >There is no way to protect against it ...or maybe there are some >things to help. >1. Do not give your RACF db to hackers. Never. >2. Enforce periodic password change. >3. Use KDFAES. >4. Use passphrases. Here are some more

Re: z/OS holddata per https?

2021-01-11 Thread Barbara Nitz
Kurt, >Not exactly what you asked for, but you can order and download the >HOLDDATA, all with HTTPS, using SMP/E RECEIVE ORDER. Read about it here >(watch the wrap: >https://www.ibm.com/support/knowledgecenter/SSLTBW_2.4.0/com.ibm.zos.v2r4.gim3000/dsetup.htm I found SMPHOLD when I had already

Re: Compile error and also possible library bug with Metal/C metal.h

2021-01-11 Thread Charles Mills
The sizeof() a char* in any C implementation is the size of an address (4, 8, or formerly 2 bytes). A char* IS an address, of course. sizeof() is resolved at compile time. If you think about it, there is no way the compiler could know how long a string a char* is going to be pointing to. That's

Re: Compile error and also possible library bug with Metal/C metal.h

2021-01-11 Thread Joe Monk
"I'd be perfectly happy for someone to tell me I missed some obvious compiler option or did something else really stupid." Found this on another website ... The issue was with the search order. Although I did search(/usr/metal/include) from with in my JCL I didn't proceed it with a nosearch

Re: z/OS holddata per https?

2021-01-11 Thread Paul Gilmartin
On Mon, 11 Jan 2021 22:07:04 +, Jesse 1 Robinson wrote: >I can confirm that HTTPS replaces FTP for downloads very nicely. Our use of >FTP depends on a gizmo (Bluecoat) that cannot understand FTPS. We made the >switch to HTTPS some time ago. > How? It doesn't seem to be as simple as

Re: Compile error and also possible library bug with Metal/C metal.h

2021-01-11 Thread Joe Monk
The BRC 7,*+36 is only going to branch if the condition code bits are 7. LLGC doesnt change the condition code, so it would be set off a different instruction. Joe On Mon, Jan 11, 2021 at 9:20 PM Dennis Fitzpatrick wrote: > Thanks for the string.h reference as that seems to have picked up the

Re: z/OS holddata per https?

2021-01-11 Thread Jesse 1 Robinson
The problem is not in the IBM data; it's in the mechanism we use to get through our firewall. We cannot execute FTP at our end. We execute HTTPS. . . J.O.Skip Robinson Southern California Edison Company Electric Dragon Team Paddler SHARE MVS Program Co-Manager 323-715-0595 Mobile 626-543-6132

Re: Compile error and also possible library bug with Metal/C metal.h

2021-01-11 Thread Dennis Fitzpatrick
Thanks for the string.h reference as that seems to have picked up the missing __MEMSET. I'm going to go back to my larger library of functions with my own header complications that wrap all of this up, and apply this and see what happens. I'll report back on that. You show option of LP64 with

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Styles, Andy (ITS zPlatform Services)
Classification: Public Quick and dirty - assumes the profile will put numbers in 73-80, and doesn't do much in the way of error checking: /* REXX */ parse source

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Styles, Andy (ITS zPlatform Services)
Classification: Public Should have pointed out that you obviously needed to have copied your source dataset to your target before running this on the target. DFDSS, IEBCOPY, take your pick. Andy Styles z/Series System Programmer -Original Message- From: IBM Mainframe Discussion List

Re: Anyone using IBM Cloud Tape Connector?

2021-01-11 Thread David Spiegel
Hi Tim, You said: "... but there are at least three choices ..." Other than RACF, ACF2 and TSS are there others? Thanks and regards, David On 2021-01-10 23:23, Timothy Sipples wrote: Brian Westerman asks: Is anyone using IBM's Cloud Tape Connector product that can tell me about the software

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread R.S.
W dniu 11.01.2021 o 10:05, Sean Gleann pisze: This has almost certainly cropped up before but try as I might, I can't spot anything obvious in the archives. I have a need to strip sequence numbers from members in a PDS or PDSE. The input PDS(E) has DCB characteristics of REFCM=FB,LRECL-80, and

Re: Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Chris Hoelscher
Here is something I am doing (for other reasons) but it might help Run IEBPTPCH against the old pds(e) Walk thru the IEBPTPCH output - grabbing the member name and doing what you need to do to each line or build iebgener control cards to clear the columns When you hit a new member, dispose of

Request for help with removing sequence numbers from PDS members

2021-01-11 Thread Sean Gleann
This has almost certainly cropped up before but try as I might, I can't spot anything obvious in the archives. I have a need to strip sequence numbers from members in a PDS or PDSE. The input PDS(E) has DCB characteristics of REFCM=FB,LRECL-80, and contains an unknown number of members. Of those