Re: strcasecmp() comparing punctuation in ASCII?

2017-06-01 Thread Paul Gilmartin
On Thu, 1 Jun 2017 18:23:09 -0400, Thomas David Rivers wrote: >> >I find that very odd... > >strcasecmp() is obliged to convert all upper-case letters into lower-case >for the comparison. > Wouldn't it be a fiasco if it effectively waffled on ligatures? -- gil

Re: strcasecmp() comparing punctuation in ASCII?

2017-06-01 Thread Paul Gilmartin
On Thu, 1 Jun 2017 20:10:55 -0400, Thomas David Rivers wrote: >> >Dereferencing NULL is undefined behavior - the C implemention >can do whatever it wants... including ordering a cherry pie for >your grandmother. > Back around MVS 5.2, many library functions checked for NULL and returned an

Re: DR Failover

2017-06-01 Thread Wayne Bickerdike
We run a DR test approx 3 times a year. We have never done the full fail over, we just run the DR test in parallel at a remote site. As far Jesse's question, we haven't explored full failover and going back to the primary site. We probably could with our replication solution but currently it's in

Re: strcasecmp() comparing punctuation in ASCII?

2017-06-01 Thread Thomas David Rivers
Paul Gilmartin wrote: On Thu, 1 Jun 2017 11:44:29 -0700, Charles Mills wrote: (For anyone not familiar, strcasecmp() is documented as https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.bpxbd00/rsrccm.htm .) Where I read: o There are no errno values defined.

Re: EXTERNAL: Re: DR Failover

2017-06-01 Thread Charles Mills
What the storm took and what it missed reminded me of my favorite (OT) San Francisco doggerel: https://www.lonelyplanet.com/usa/san-francisco/attractions/ap-hotaling-wareh ouse/a/poi-sig/383939/361858 Charles -Original Message- From: IBM Mainframe Discussion List

Re: strcasecmp() comparing punctuation in ASCII?

2017-06-01 Thread Charles Mills
> strcasecmp() is obliged to convert all upper-case letters into lower-case for the comparison I don't think it is as simple-minded as that (no offense -- you're not simple-minded either ). I think @John McKown pretty much nailed it. It's an "abstract" compare that just happens (well, a little

Re: strcasecmp() comparing punctuation in ASCII?

2017-06-01 Thread Tony Harminc
On 1 June 2017 at 18:23, Thomas David Rivers wrote: > I find that very odd... > > strcasecmp() is obliged to convert all upper-case letters into lower-case > for the comparison. IEEE Std 1003.1-2008, 2016 Edition says: "When the LC_CTYPE category of the locale being used is

Re: EXTERNAL: Re: DR Failover

2017-06-01 Thread Edward Finnell
There were some really good user experiences on DR at SHARE. Think I was most impressed with Ryder's plan. They even had it down to who was taking care of sysprog families while they were busy putting the company back together. Doesn't hurt to be inventive. When we had a big F4 Tornado

Re: strcasecmp() comparing punctuation in ASCII?

2017-06-01 Thread Paul Gilmartin
On Thu, 1 Jun 2017 11:44:29 -0700, Charles Mills wrote: > >(For anyone not familiar, strcasecmp() is documented as > https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.bpxbd00/rsrccm.htm > .) > Where I read: o There are no errno values defined. That's surprising and

Re: EXTERNAL: Re: DR Failover

2017-06-01 Thread Jerry Whitteridge
1) Our plan is documented in 2 parts. One for non Sysprog resources and one that contains the "sensitive" technical information. Our current plan requires technical level staff (Mid-level Sysprogs at a minimum). Recovery of the Mainframe systems is by System Programming staff only. (we do

BSAM, DCBBUFOF, DCBBLKSI and buffer sizes

2017-06-01 Thread Thomas David Rivers
When BSAM reads a file that has a block prefix length (the size of which is specified in DCBBUFOF) then the block prefix is returned in the BSAM data (unlike QSAM which skips over that data.) And, there are several accomodations/requirements made regarding the DCBBLKSI field and the sizes of

Re: DR Failover

2017-06-01 Thread Jesse 1 Robinson
Never got traction on two of my questions, which are independent of technology. -- During a failover (test I would presume), who actually performs the DR procedure whatever it is? Sysprogs, operators, production control folks, or someone else? Has anyone dared to bring in a non-technical person

Re: strcasecmp() comparing punctuation in ASCII?

2017-06-01 Thread Thomas David Rivers
Charles Mills wrote: It's clearly doing everything in ASCII: strcasecmp("Z", "0") 122 It's interesting. I use the same compare function for both a sort and for a binary search, so it all works correctly -- it's just not working the way I think it is. Charles I find that very odd...

Re: strcasecmp() comparing punctuation in ASCII?

2017-06-01 Thread Charles Mills
Thanks. I pretty much get all of your first paragraph. I just would have expected on MVS that the letters in the "C" (default) locale would be pretty much the same as the order of *EBCDIC* characters when looked at as plain 8 byte unsigned integers. It's one of those things: std::sort and

Re: SDSF/REXX question

2017-06-01 Thread Hardee, Chuck
I get the job name by chasing control blocks, sorry, it works. I am using ADDRESS SDSF During my testing I, too, retrieved the output that I was writing from within my rexx. It didn't surprise me, but as I worked on the actual task at hand more I was able to get to identify the actual output I

Re: Language Skills

2017-06-01 Thread Jesse 1 Robinson
Gotta jump in here. I know some German. I have training in linguistics, which means I know *about* languages that I could not survive in for a moment. And I have experience with English as a Second Language. I have to take umbrage with the assertion that English is hugely difficult or

Re: strcasecmp() comparing punctuation in ASCII?

2017-06-01 Thread John McKown
On Thu, Jun 1, 2017 at 2:43 PM, Charles Mills wrote: > It's clearly doing everything in ASCII: > > strcasecmp("Z", "0") 122 > > It's interesting. I use the same compare function for both a sort and for a > binary search, so it all works correctly -- it's just not working the

Re: strcasecmp() comparing punctuation in ASCII?

2017-06-01 Thread Charles Mills
Setlocale() tells me my locale is "C". (I am running POSIX(ON) FWIW.) Is this expected behavior for Locale C? Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Charles Mills Sent: Thursday, June 1, 2017 12:44 PM To:

Re: strcasecmp() comparing punctuation in ASCII?

2017-06-01 Thread Charles Mills
It's clearly doing everything in ASCII: strcasecmp("Z", "0") 122 It's interesting. I use the same compare function for both a sort and for a binary search, so it all works correctly -- it's just not working the way I think it is. Charles -Original Message- From: IBM Mainframe

Re: SMF record for FTP

2017-06-01 Thread Ward, Mike S
What about syslog, I have the syslog daemon running and collecting FTP info. Here is a sample. There are some secure and some not secure connections. IP addresses and Userid changed to protect the innocent. There is also more detailed info in the debug.log file. Jun 1 13:50:26 JESH01

Re: ES/9000 microcode

2017-06-01 Thread Jim Stefanik
In that case, it's even better than you're a long-time member! I'm quite surprised that it was still in-use 2 years ago; although I was just as surprised when I found out my system was taken offline a week before I bought it; so I guess people still do run on old hardware. As for DASD, you're

strcasecmp() comparing punctuation in ASCII?

2017-06-01 Thread Charles Mills
I am getting some odd results out of the C library function strcasecmp(). Does someone want to tell me if they see pilot error here? (For anyone not familiar, strcasecmp() is documented as https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.bp xbd00/rsrccm.htm .) I have the

Re: SDSF/REXX question

2017-06-01 Thread Paul Gilmartin
On Thu, 1 Jun 2017 06:37:04 -0500, John Gateley wrote: >I had a similar problem. In my case I was reading JESYSMSG to check the return >codes of preceding steps and usually JESYSMSG was there but occasionally it >was not, and in these cases the job elapsed time was quite low. >I added a call to

Re: ES/9000 microcode

2017-06-01 Thread William Donzelli
> First, congrats, and welcome to the "basement mainframe club"...it's quiet > exclusive. :) I have been part of the club for years! The Cybers outnumber the IBMs here, but we don't talk about them on this list. > Second, a running ES/9000 is crazy-hard to come by; so that's a great score! I

Re: Displacement of ASG View Direct and PRO/JCL

2017-06-01 Thread Longnecker, Dennis
The list is still maintained, but not by John. Very little traffic on it. Dennis -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Edward Finnell Sent: Thursday, June 1, 2017 1:54 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re:

Re: ES/9000 microcode

2017-06-01 Thread Jim Stefanik
First, congrats, and welcome to the "basement mainframe club"...it's quiet exclusive. :) Second, a running ES/9000 is crazy-hard to come by; so that's a great score! Tips: I second what Tom Mathias said - guard that tape better than a nuclear football. One of the first things I did once I got

Re: DFSORT with empty outputs

2017-06-01 Thread Sri h Kolusu
>>All of this with ONE single pass to read the input datasets (which are very very large sometimes). Elardus, I just moved your existing SORT operator as a separate step to check for empty input. It is the same job you had. Thanks, Kolusu DFSORT Development IBM Corporation IBM Mainframe

Re: Language Skills

2017-06-01 Thread Steve Beaver
English is not a mechanical language with a lot of grammatical rules. The was long time known as the mongrels language since it pull parts and pieces from other older languages Steve -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf

Re: ES/9000 microcode

2017-06-01 Thread William Donzelli
I do not know what is on the machine, but I am going to assume that it may indeed be wiped. -- Will On Thu, Jun 1, 2017 at 9:07 AM, W Mainframe <01304632a58d-dmarc-requ...@listserv.ua.edu> wrote: > blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px > #715FFA solid

Re: SDSF/REXX question

2017-06-01 Thread Paul Gilmartin
On Thu, 1 Jun 2017 08:02:12 -0500, John Gateley wrote: >0.7 was by trial and error, 0.6 was not long enough for a single IEFBR14 job. > >I already had the REXX assembler function so I only had to code this >JRGSTIM('7') > That's probably been done enough times by enough programmers to justify an

Re: PIC Z is for zero suppression was Re: A slight regression

2017-06-01 Thread John McKown
On Thu, Jun 1, 2017 at 12:04 AM, Peter Hunkeler wrote: > > ​ > > What is special about COBOL's standard: Truncation also silently occurs > with computational fields. > > @John: > There's the DIAGTRUNC compiler option which causes truncation to be > flagged. > ​Only applies to MOVE

Re: ES/9000 microcode

2017-06-01 Thread W Mainframe
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Hey Will, I am curious...What is your OS running in your big iron?Dan Sent from Yahoo Mail for iPhone On Wednesday, May 31,

Re: SDSF/REXX question

2017-06-01 Thread John Gateley
0.7 was by trial and error, 0.6 was not long enough for a single IEFBR14 job. I already had the REXX assembler function so I only had to code this JRGSTIM('7') also I did not know about SYSCALL :-) -- For IBM-MAIN subscribe /

Re: SDSF/REXX question

2017-06-01 Thread Barkow, Eileen
You can code a WAIT on the ISFSLASH command. Options for slash (/) commands INTERNAL specifies that console ID 0 (INTERNAL) should be used to issue the command WAIT specifies that SDSF should wait the full delay interval before retrieving responses. This option is strongly recommended to ensure

Re: SDSF/REXX question

2017-06-01 Thread Paul Gilmartin
On Thu, 1 Jun 2017 06:37:04 -0500, John Gateley wrote: >.. >I added a call to an assembler program at the start of the REXX to issue a >STIMER for 0.7 seconds and then JESYSMSG was always there. > How did you arrive at the number, 0.7? Ratner than simply using SYSCALL 'sleep 1', you wrote a

Re: ES/9000 microcode

2017-06-01 Thread William Donzelli
> From my memory, there were 2 or 3 major levels of 9221 microcode that was > released and each major release had updates (MCLs). The problem is that even > if you had a could find the base 9221 microcode that would work with a > system, the microcode for a specific system includes files that

Re: SDSF/REXX question

2017-06-01 Thread John Gateley
I had a similar problem. In my case I was reading JESYSMSG to check the return codes of preceding steps and usually JESYSMSG was there but occasionally it was not, and in these cases the job elapsed time was quite low. I added a call to an assembler program at the start of the REXX to issue a

Re: ES/9000 microcode

2017-06-01 Thread Tom Mathias
From my memory, there were 2 or 3 major levels of 9221 microcode that was released and each major release had updates (MCLs). The problem is that even if you had a could find the base 9221 microcode that would work with a system, the microcode for a specific system includes files that are

Re: Displacement of ASG View Direct and PRO/JCL

2017-06-01 Thread Edward Finnell
Does John Anderson still maintain his ISV list in Canada? I googled a little but there's tons of Andersons. In a message dated 6/1/2017 3:28:55 A.M. Central Daylight Time, sipp...@sg.ibm.com writes: Adding to the list of candidate alternatives, for ASG-ViewDirect it might be IBM Tivoli

Re: Displacement of ASG View Direct and PRO/JCL

2017-06-01 Thread Timothy Sipples
Adding to the list of candidate alternatives, for ASG-ViewDirect it might be IBM Tivoli Output Manager for z/OS or IBM Content Manager OnDemand for z/OS. For ASG-PRO/JCL, I agree with the RES suggestion. The full product name is RES Suite J-Man. You might also take a look at SmartJCL from

Re: Language Skills

2017-06-01 Thread Elardus Engelbrecht
Vernooij, Kees (ITOPT1) - KLM wrote: >> If I could only speak Afrikaans on IBM-MAIN, but I believe I'm in the >> minority... ;-D >We would understand each other. Indeed. But some words in both Afrikaans and Dutch have totally different meaning despite identical spelling. Many years ago,

Re: DFSORT with empty outputs

2017-06-01 Thread Elardus Engelbrecht
Sri h Kolusu wrote: >Here is a JCL which will give you the desired results. I rearrange your >INCLUDE conditions in the order of positions and it is easy to read and >Understand. Many thanks for your kind help. After looking at your job, I see that the output datasets are primed first with

Re: Language Skills

2017-06-01 Thread Vernooij, Kees (ITOPT1) - KLM
> -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Elardus Engelbrecht > Sent: 31 May, 2017 18:36 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Language Skills > > > If I could only speak Afrikaans on IBM-MAIN, but I believe I'm