Re: REXX vs other languages WAS: Rexx numeric digits and scientific notation question

2024-04-20 Thread Paul Gilmartin
On Sat, 20 Apr 2024 23:58:18 -0500, Bruce Hewson wrote: > >I use "cnt" for my loop counters. I stopped using FORTRAN style single >character variable names when I started coding in REXX. > I thought FORTRAN allowed six. (Be careful how you pronounce that!) -- gil

Re: Regular Expressions: DFSORT, ISPF: "$","^"

2024-04-20 Thread Paul Gilmartin
On Sun, 21 Apr 2024 04:03:48 +, Sri Hari Kolusu wrote: >... >I know you are detail-attentive, so I would add it to the next pub refresh, >but it only goes into 3.1 (may be V2R5 but not sure). > >^ >The caret symbol matches the beginning the string. > >$ >The dollar symbol matches the end

Any "standard" way to access the values of the COBOL PROGRAM-ID, COPYRIGHT and/or SERVICE strings?

2024-04-20 Thread Farley, Peter
I am looking to find out if there is any standardized (i.e., not entirely compiler-version dependent) way to access these values. Yes, for a minimum of Enterprise COBOL V5.x one can use the LE Vendor Interfaces manual documentation of the PPA control blocks to extract at least some of this

Re: REXX vs other languages -- EXECIO intuitiveness

2024-04-20 Thread Paul Gilmartin
On Sat, 20 Apr 2024 23:58:18 -0400, Steve Thompson wrote: >I concur about REXX EXECIO I/O is not exactly intuitive. > >REXX, first implemented in CMS used the CMS I/O utilities >Over in TSO they created EXECIO which does not operate in the >same way as does the CMS EXECIO. And it causes me

Re: REXX vs other languages WAS: Rexx numeric digits and scientific notation question

2024-04-20 Thread Bruce Hewson
Hello Bob, I use "cnt" for my loop counters. I stopped using FORTRAN style single character variable names when I started coding in REXX. Except I do use them on occasion for building large stem variable lists. example:- i=i+1;jcl.i="//BRUCESMP JOB (1234546),'Bruce SMP jobn',"

Re: Regular Expressions: DFSORT, ISPF: "$","^"

2024-04-20 Thread Sri Hari Kolusu
Paul, DFSORT does indeed support "^" and "&" for the begin and end. https://www.ibm.com/docs/en/zos/2.4.0?topic=statement-regular-expressions If scroll down a bit in the above link, we do the examples. ^ibm Matches records beginning with "ibm" ibm$ Matches records ending with "ibm"

Re: REXX vs other languages -- EXECIO intuitiveness

2024-04-20 Thread Steve Thompson
I concur about REXX EXECIO I/O is not exactly intuitive. REXX, first implemented in CMS used the CMS I/O utilities Over in TSO they created EXECIO which does not operate in the same way as does the CMS EXECIO. And it causes me headaches when I work on CMS for a year or two and then come

Re: ALESERV rc 15 = 0 and alet = 0

2024-04-20 Thread Joseph Reichman
Thanks > On Apr 19, 2024, at 8:26 PM, Peter Relson wrote: > > The assertion of the subject is surely not correct. I do not choose to guess > in just what way. > > Perhaps more important, the ALESERV is likely creating a system integrity > violation in specifying access=public. > > Please

Re: Value in SDWAEC1

2024-04-20 Thread Joseph Reichman
Peter Thanks for help if I don’t find a RB in the RB chain I do a CSVQUERY in the asid of SDWAPRIM if not I do NUCKLKUP Moving my code to the CBT shortly > On Apr 19, 2024, at 8:04 PM, Peter Relson wrote: > > I think the comment in SDWAEC1 is quite clear: > > Extended control PSW at time

Re: REXX vs other languages WAS: Rexx numeric digits and scientific notation question

2024-04-20 Thread Bob Bridges
Well, they may not be reserved, if you say so. But I think I'd be a fool to try using "is", "if" or "in" as a loop counter, certainly for the sake of the programmer who inherits my work but I'm sure it would confuse me too. --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* When a

Re: Regular Expressions: DFSORT, ISPF: "$","^"

2024-04-20 Thread Paul Gilmartin
On Sat, 20 Apr 2024 19:41:49 +, Farley, Peter wrote: >For the ISPF case, I think the document writers think that they have covered >everything about the accepted regular expression syntax by stating up front on >that page: > >“ISPF uses the IBM® C regcomp() — Compile regular expression and

Re: REXX vs other languages WAS: Rexx numeric digits and scientific notation question

2024-04-20 Thread Bob Bridges
I've inherited a REXX app from a departed coworker who uses (for example) 'complete?' as a Boolean variable name, where in REXX I would use 'fcomplete' for the same purpose ('f' for "flag"). I see the sense of the question mark, but I've been coding too many decades; I can't FEEL it. I

Re: REXX vs other languages WAS: Rexx numeric digits and scientific notation question

2024-04-20 Thread Bob Bridges
Ooh, I'm sure I've read that I can do that but I forgot. I like that - think I'll start doing it myself. Normally I'm rabid about indentation, but occasionally in a longer program I lose track of something and have to spend a of time searching for where I left out an End. --- Bob Bridges,

Re: Regular Expressions: DFSORT, ISPF: "$","^"

2024-04-20 Thread Farley, Peter
For the ISPF case, I think the document writers think that they have covered everything about the accepted regular expression syntax by stating up front on that page: “ISPF uses the IBM® C regcomp() — Compile regular expression and regexec() — Execute compiled regular expression functions to

Re: REXX vs other languages WAS: Rexx numeric digits and scientific notation question

2024-04-20 Thread Paul Gilmartin
On Sat, 20 Apr 2024 19:50:56 +0200, Rony G. Flatscher wrote: >... >There are *no* reserved words in Rexx like in many other languages. (This >alleviates one to have to >learn them by heart. But more importantly, should the language get additional >keywords over time > I disagree. Although

Re: REXX vs other languages WAS: Rexx numeric digits and scientific notation question

2024-04-20 Thread Rony G. Flatscher
On 20.04.2024 19:52, Paul Gilmartin wrote: On Sat, 20 Apr 2024 20:17:36 +, Robert Prins wrote: Try the two characters that are pretty much unique to REXX, "!" and "?" especially for small local loops. Ugh! But I confess I've done likewise at times. I tried to refresh my memory and

Re: REXX vs other languages WAS: Rexx numeric digits and scientific notation question

2024-04-20 Thread Paul Gilmartin
On Sat, 20 Apr 2024 20:17:36 +, Robert Prins wrote: >Try the two characters that are pretty much unique to REXX, "!" and "?" >especially for small local loops. > Ugh! But I confess I've done likewise at times. I tried to refresh my memory and observed that the Rexx Ref., SA32-0972-60, is

Re: REXX vs other languages WAS: Rexx numeric digits and scientific notation question

2024-04-20 Thread Rony G. Flatscher
On 20.04.2024 17:40, Paul Gilmartin wrote: On Sat, 20 Apr 2024 11:08:03 -0400, Bob Bridges wrote: It was while I was coding in REXX that I tried abutting a variable named 'x' with another string, and couldn't figure out why the program behaved as it did. Eventually figured out I had

Re: REXX vs other languages WAS: Rexx numeric digits and scientific notation question

2024-04-20 Thread Robert Prins
Try the two characters that are pretty much unique to REXX, "!" and "?" especially for small local loops. Robert -- Robert AH Prins robert(a)prino(d)org The hitchhiking grandfather Some REXX code for use on z/OS

Re: REXX vs other languages WAS: Rexx numeric digits and scientific notation question

2024-04-20 Thread Paul Gilmartin
On Sat, 20 Apr 2024 11:08:03 -0400, Bob Bridges wrote: >It was while I was coding in REXX that I tried abutting a variable named 'x' >with another string, and couldn't figure out why the program behaved as it >did. Eventually figured out I had inadvertently created a hex constant. >Maybe as

Re: Anyone exploiting ZEDC?

2024-04-20 Thread Steve Estle
David, We are using it - biggest benefit so far has been with our backups in converting DFSMSDSS (ADRDSSU) backups using "ZPREF" option. It reduced runtime on backups significantly (50%+) with also some reduction in CPU cycles. We also are using it in other scenarios. You do need to test

Re: REXX vs other languages WAS: Rexx numeric digits and scientific notation question

2024-04-20 Thread Bob Bridges
It was while I was coding in REXX that I tried abutting a variable named 'x' with another string, and couldn't figure out why the program behaved as it did. Eventually figured out I had inadvertently created a hex constant. Maybe as an overreaction, I have never since used one-character

Regular Expressions: DFSORT, ISPF: "$","^"

2024-04-20 Thread Paul Gilmartin
The description of regular expressions for DFSORT: mentions "$" to match the end of a string, but not "^" to match the beginning. The description of regular expressions for ISPF:

Re: Big LPAR vs small LPAR and DataSharing.

2024-04-20 Thread Graham Harris
"It doesn't take an extremely large number of CPUs before a single-image system will deliver less capacity than a sysplex configuration of two systems, each with half as many CPUs". In the original context of the GSE material, does "system" here mean physical CEC, or LPAR? It is unclear, and "It

Re: Big LPAR vs small LPAR and DataSharing.

2024-04-20 Thread Colin Paice
IBM provides tables of the cpu available with different processors and different numbers of engines. Search for LSPR . https://www.ibm.com/support/pages/ibm-z-lspr-itr-zosv2r4#ibmz16A02 gives 1 CPU 13 MSU 2 25

Re: zOSMF startup on 3.1

2024-04-20 Thread Brian Westerman
No it doesn't, you have to use the new Java. When I installed 3.1 the first time, I found that they did not automatically create several of the directories. I ended up just going through the log and fixing things one at a time. Some of the errors were permission related. I ended up doing