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

2024-04-22 Thread Andrew Rowley
On 23/04/2024 11:55 am, Paul Gilmartin wrote: On Tue, 23 Apr 2024 10:59:47 +1000, Andrew Rowley wrote: ... To me, it is much clearer to be explicit, including the concatenation, e.g. "DELETE " || foo That overkill is apt to confuse a POSIX shell partisan who would see the blank as part of

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

2024-04-22 Thread Paul Gilmartin
On Tue, 23 Apr 2024 10:59:47 +1000, Andrew Rowley wrote: >... >To me, it is much clearer to be explicit, including the concatenation, e.g. >"DELETE " || foo >seems much clearer about exactly what is happening/expected, which are >variables and which are (expected to be) constant etc. > That

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

2024-04-22 Thread Andrew Rowley
On 23/04/2024 12:01 am, Seymour J Metz wrote: delete foo rather than 'DELETE' foo is a simple example. In practise I often need multiple upper case constants in a single expression. In this example, delete *looks like* an instruction rather than a variable - the fact that it is a variable

Re: REXX vs other languages -- EXECIO intuitiveness

2024-04-22 Thread Jon Perryman
On Mon, 22 Apr 2024 18:14:50 +, Farley, Peter wrote: >From the testing I have done so far, > My suspicion (untested) is that the Rexx script itself is automagically > converted to EBCDIC as the interpreter > is reading it, so that the interpreter only sees EBCDIC text. Default REXX input

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

2024-04-22 Thread Jon Perryman
On Mon, 22 Apr 2024 14:01:23 +, Seymour J Metz wrote: >delete foo >rather than >'DELETE' foo >is a simple example. In practise I often need multiple upper case constants in >a single expression. This isn't a valid example because 'delete' will also work. As Andrew said, rarely will you

Re: zOSMF startup on 3.1

2024-04-22 Thread Pommier, Rex
Thank you, Brian and David. That was the issue. We brought our IZUPRM0 over from 2.4. The sample in SAMPLIB has java 11 listed as the java_home. Rex -Original Message- From: IBM Mainframe Discussion List On Behalf Of Jousma, David Sent: Friday, April 19, 2024 1:57 PM To:

Re: Rexx and DSFS

2024-04-22 Thread Rupert Reynolds
On Mon, 22 Apr 2024, 15:44 Paul Gilmartin, < 042bfe9c879d-dmarc-requ...@listserv.ua.edu> wrote: I admit I didn't experiment much, but to make my existing code work under Fedora I just renamed the functions. Or did I create links? I was bored years ago and wrote some Rexx under Windows to add

Re: ooRexx forum?

2024-04-22 Thread Steve Thompson
Try https://www.rexxla.org/  It gives me a page for "The Rexx Language Association" (and has some links that I have not yet tried). Steve Thompson On 4/22/2024 3:15 PM, Bob Bridges wrote: References-in-passing to ooRexx are fine here, I suppose, but if I want to get into details, where

Re: DFSort Report question

2024-04-22 Thread Sri Hari Kolusu
>> What I would like to do is change LEGACY/KDFAES to PASSPHRASE if possible. Lionel, You just want to change the ON value and not the header. Assuming you have a COPY/SORT step to filter the data, you can change the values there. I am showing for position 21, but you can change to that 616

Re: ooRexx forum?

2024-04-22 Thread Seymour J Metz
The rexxla-members list is a good place to start. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר From: IBM Mainframe Discussion List on behalf of Bob Bridges

ooRexx forum?

2024-04-22 Thread Bob Bridges
References-in-passing to ooRexx are fine here, I suppose, but if I want to get into details, where should I go to ask questions? The ooRexx documentation mentions www.rexxla.org/forum.html, but that nets me a 404 error. And I looked at comp.lang.rexx (also recommended by the documentation),

Re: DFSort Report question

2024-04-22 Thread Lionel B. Dyck
In this case here is a sample record HEADER('PassPhrase') ON(616,10,CH) The ON value found in the input could be "LEGACY", "KDFAES" or "NOPHRASE". What I would like to do is change LEGACY/KDFAES to PASSPHRASE if possible. Thanks Lionel B. Dyck <>< Github: https://github.com/lbdyck System Z

Re: DFSort Report question

2024-04-22 Thread Sri Hari Kolusu
>> The ON value could be "LEGACY", "KDFAES", "PASSWORD" or "NOPHRASE". Lionel, How do you determine which header value need to be used? I am guessing that it is going to depend on a value in the file. If So we can dynamically change it. Thanks, Kolusu DFSORT Development IBM Corporation

DFSort Report question - SYMNAMES DD ?

2024-04-22 Thread Nash, Jonathan S.
Can you set up a constant in the SYMNAMES DD to do that ? Or is that for different functions ? -Original Message- From: IBM Mainframe Discussion List On Behalf Of Lionel B. Dyck Sent: Monday, April 22, 2024 2:25 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: DFSort Report question Does

DFSort Report question

2024-04-22 Thread Lionel B. Dyck
Does anyone know who to change the value found in the ON to a more meaningful value: For example this: HEADER('PassPhrase') ON(616,10,CH) The ON value could be "LEGACY", "KDFAES", "PASSWORD" or "NOPHRASE". Thanks in advance Lionel B. Dyck <>< Github: https://github.com/lbdyck System Z

Re: REXX vs other languages -- EXECIO intuitiveness

2024-04-22 Thread Farley, Peter
From the testing I have done so far, the z/OS Unix Rexx interpreter SAY command only writes in EBCDIC. My suspicion (untested) is that the Rexx script itself is automagically converted to EBCDIC as the interpreter is reading it, so that the interpreter only sees EBCDIC text. On a “real ASCII”

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

2024-04-22 Thread Seymour J Metz
I'm not the who encountered it. I'd love to see the trace i output. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר From: IBM Mainframe Discussion List on behalf of Jon Perryman Sent:

Re: zOSMF startup on 3.1

2024-04-22 Thread Wissink, Brad
Is that the correct java.home path /usr/lpp/java/j8.0_64.Mayb need a capital 'J' -> /usr/lpp/java/J8.0_64 Brad Wissink| Sr. Systems Programmer Sammons® Financial Group Member Companies 8300 Mills Civic Parkway, West Des Moines, Ia 50266 Phone 515-267-2735 | ext. 33735 | Cell: 515-231-1511

Re: REXX vs other languages -- EXECIO intuitiveness

2024-04-22 Thread Paul Gilmartin
On Mon, 22 Apr 2024 16:59:21 +, Farley, Peter wrote: > >I have recently done some experiments with Rexx scripts stored in the z/OS >Unix file system encoded in ASCII and they will execute without a problem so >long as the starting script file is properly ... > FSVO "properly". What does

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

2024-04-22 Thread Jon Perryman
On Mon, 22 Apr 2024 01:41:21 +, Seymour J Metz wrote: >I was referring to 'I once found CMS ISPF to reauire "address isredit 'isredit >'". >Otherwise the command went to ISPEXEC.', which clearly is b0rk3n. This seems very unlikely given that IBM does good QA and this would have caused a

Re: REXX vs other languages -- EXECIO intuitiveness

2024-04-22 Thread Jeremy Nicoll
On Sun, 21 Apr 2024, at 04:58, Steve Thompson wrote: > And so, with Windows I/O is different (still talking REXX), same > problem with Linux. I/O is not handled the same for simple reads > and writes from my perspective. There's an EXECIO in ooREXX now, provided by the address hostemu

Re: REXX vs other languages -- EXECIO intuitiveness

2024-04-22 Thread Paul Gilmartin
On Mon, 22 Apr 2024 16:59:21 +, Farley, Peter wrote: >Practically speaking however, starting a Rexx script under one of the z/OS >Unix shell programs is pretty much the only way to get it done. Although if >you use the BPXWUNIX() function from a TSO Rexx script to start another Rexx

Re: REXX vs other languages -- EXECIO intuitiveness

2024-04-22 Thread Paul Gilmartin
On Mon, 22 Apr 2024 11:40:33 -0500, Jon Perryman wrote: > >I've never tried it but a shell should not be required to automatically >integrate REXX & UNIX as long as you start REXX using z/OS Unix facilities in >a Unix address space. Technically, shells are not required by Unix but I doubt >that

Re: REXX vs other languages -- EXECIO intuitiveness

2024-04-22 Thread Farley, Peter
Practically speaking however, starting a Rexx script under one of the z/OS Unix shell programs is pretty much the only way to get it done. Although if you use the BPXWUNIX() function from a TSO Rexx script to start another Rexx script stored in the z/OS Unix file system it might work. I will

Re: REXX vs other languages -- EXECIO intuitiveness

2024-04-22 Thread Jon Perryman
On Sun, 21 Apr 2024 22:54:15 +, Seymour J Metz wrote: >>Wait, what? Are you saying TSO-REXXhaas LINEIN, CHAROUT and so on? >Only in a EUnix environment. I don't know if syscalls is enough or if you >actually have t be running under the shell. Syscalls does not setup a full z/OS Unix

Re: S0c4 creation

2024-04-22 Thread Michael Stein
On Mon, Apr 22, 2024 at 02:38:08PM +0100, Rupert Reynolds wrote: > For the record I chose (off the cuff) to use NC on some low storage with > itself, because it would never actually attempt to alter that storage, but > only to store the same values back again. Or perhaps not the same values if

Re: S0c4 creation

2024-04-22 Thread Jon Perryman
>>Is there any sample Jobs or I can enforce a s0c4 abend in a Started task ? >>I am trying to teach SLIP trap to a rookie..Is there any other efficient >>way to do this? > 0c4 is 7BAD and this explicit value is used on purpose by some products > to catch unintended or unwanted reference.

Re: S0c4 creation

2024-04-22 Thread Seymour J Metz
SLIP behaves differently for a program check converted to an ABEND. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר From: IBM Mainframe Discussion List on behalf of Steve Thompson Sent:

Re: Rexx and DSFS

2024-04-22 Thread Paul Gilmartin
On Mon, 22 Apr 2024 15:00:18 +0100, Rupert Reynolds wrote: > >My Linux lapdog uses #!/bin/rexx as the first line > This works on both MVS and several desktops: /*bin/mkdir -p .; exec rexx "$0" "$@" # REXX Magic! */ >... (and external functions >must be saved with upper case filenames to

Re: S0c4 creation

2024-04-22 Thread Steve Thompson
IN line with what was said, you can force it by issuing ABEND (or related) and telling it what ABEND you want. You can also EX an EX and get a S0C3. I've never seen that ABEND by accident (e.g., wild branch into data). And no co-workers I've had (all of us doing ALC based development) have

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

2024-04-22 Thread Seymour J Metz
delete foo rather than 'DELETE' foo is a simple example. In practise I often need multiple upper case constants in a single expression. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר

Re: Rexx and DSFS

2024-04-22 Thread Rupert Reynolds
This is one thing about using Rexx (or any script language AFAICS) that is awkward to remember. My Linux lapdog uses #!/bin/rexx as the first line (and external functions must be saved with upper case filenames to be found from Rexx code) In some environments (TSO via ddname SYSEXEC, is it?)

Re: S0c4 creation

2024-04-22 Thread Seymour J Metz
IBM promised to never use opcode 00, and that's what I use when I want (E)SPIE in the skie. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר From: IBM Mainframe Discussion List on behalf of

Re: S0c4 creation

2024-04-22 Thread Rupert Reynolds
I have to say I find it hard to see an appreciable risk (especially for some innocent code to accidentally issue the MODESET SVC), but of course no risk is zero. For the record I chose (off the cuff) to use NC on some low storage with itself, because it would never actually attempt to alter that

Re: Rexx and DSFS

2024-04-22 Thread Lionel B. Dyck
The dataset is FB 80 Lionel B. Dyck <>< Github: https://github.com/lbdyck System Z Enthusiasts Discord: https://discord.gg/sze “Worry more about your character than your reputation. Character is what you are, reputation merely what others think you are.” - - - John Wooden -Original

Re: Rexx and DSFS

2024-04-22 Thread Paul Gilmartin
On Mon, 22 Apr 2024 06:50:15 -0500, Lionel B. Dyck wrote: >I ran a test and this is what I found - IT WORKS FINE > >/dsfs/txt/lbdyck/lionel.exec>dir whoson >t IBM-1047T=on -rwxrwxrwx 1 BPXROOT OMVSGRP11367 Jan 31 15:14 >whoson > Interesting:

Re: Rexx and DSFS

2024-04-22 Thread Lionel B. Dyck
One more point on this - the very 1st line of the REXX code *must* have /* REXX */ starting in column 1. While TSO and VM REXX just care that the word rexx is in a comment on the 1st line - the shell REXX requires it begin in column 1 with the 1st word being REXX. hth Lionel B. Dyck <><

Re: S0c4 creation

2024-04-22 Thread Rob Scott
Easiest way to create a deliberate 0C1 is to branch to (or inject insteam to your executing code) a halfword of zeroes. Rob Scott Rocket Software -Original Message- From: IBM Mainframe Discussion List On Behalf Of Darrold Usher Sent: Monday, April 22, 2024 1:26 PM To:

Re: SMP/E download anomaly

2024-04-22 Thread Kurt Quackenbush
> All cases, the CLIENT DD referenced the same PDS member. Then I cannot easily explain the observed behavior. If you want to pursue, then I suggest opening a support case and be prepared to supply the output for both a job that used HTTPS, and a job whose CLIENT DD uses the same PDS member

Re: S0c4 creation

2024-04-22 Thread Darrold Usher
How about create a S0C1? On Mon, Apr 22, 2024 at 7:21 AM Peter Relson wrote: > Bernd O wrote > > I'd suggest to be very careful with such codings; > a co-worker some years ago did this and - by accident - the code ran > privileged, > which caused the whole LPAR to hang. > > Same goes for ST at

Re: S0c4 creation

2024-04-22 Thread Peter Relson
Bernd O wrote I'd suggest to be very careful with such codings; a co-worker some years ago did this and - by accident - the code ran privileged, which caused the whole LPAR to hang. Same goes for ST at address zero, which was suggested by another poster. I challenge both of those. The first

Re: Continuing a reply during IPL

2024-04-22 Thread Binyamin Dissen
Saw the example, tried with and without quotes. No luck. On Mon, 22 Apr 2024 05:58:20 -0500 Steve Horein <05b0b4f1358b-dmarc-requ...@listserv.ua.edu> wrote: :>I found this example in the doc ( :>https://www.ibm.com/docs/en/zos/2.4.0?topic=command-specifying-system-parameters1 :>): :>R

Re: Rexx and DSFS

2024-04-22 Thread Lionel B. Dyck
I ran a test and this is what I found - IT WORKS FINE /dsfs/txt/lbdyck/lionel.exec>dir whoson t IBM-1047T=on -rwxrwxrwx 1 BPXROOT OMVSGRP11367 Jan 31 15:14 whoson /dsfs/txt/lbdyck/lionel.exec>./whoson Interactive Users on 1 Systems: TSO Users: 1 SSH Users: 2

Re: Continuing a reply during IPL

2024-04-22 Thread Steve Horein
I found this example in the doc ( https://www.ibm.com/docs/en/zos/2.4.0?topic=command-specifying-system-parameters1 ): R 00,'MLPA=(00,01,02,CONT' IEA116A CONTINUE SYSTEM PARAMETERS R 00,'03,L),BLDL=02' Perhaps single quotes are required, or fully padded '00' replyID? A search in the commands doc

Continuing a reply during IPL

2024-04-22 Thread Binyamin Dissen
I had an occasion where the IEASYS PROG= entry was messed up (period in place of a comma). Cannot access the data. Using a similar system I worked out a PROG= list to use, however the list was too long for the reply command. I was able to specify R 00,PROG=(list,CONT and was prompted to

Re: SMP/E download anomaly

2024-04-22 Thread Norbert Gál
Hello Kurt, All cases, the CLIENT DD referenced the same PDS member. Regards, Norbert -Original Message- From: IBM Mainframe Discussion List On Behalf Of Kurt Quackenbush Sent: Friday, April 19, 2024 5:03 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: [EXTERNAL] Re: SMP/E download