Re: Modifying JCL on the fly

2024-11-11 Thread Allan Staller
Classification: Confidential IEFUSI is too late in the process. I suggest JES2 EXIT6 (or EXIT26?) depending on the JES2 Environment. In both cases, you must be prepared to manipulate the INTERPRETER internal text (very similar in concept to dynamic allocation). HTH, -Original Message-

Re: Modifying JCL on the fly

2024-11-11 Thread Seymour J Metz
Either way, it's before the job executes. I read the original post as requesting changes during execution. For changes prior to executions, there are many good options. As usual, the devil is in the details, and it's impossible to judge without knowing what OP really wants. --  Shmuel (Seymour

Re: Modifying JCL on the fly

2024-11-11 Thread Allan Staller
Classification: Confidential OOPs! Exit 4 may be Simpler, not similar -Original Message- From: IBM Mainframe Discussion List On Behalf Of Allan Staller Sent: Monday, November 11, 2024 8:36 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Modifying JCL on the fly [CAUTION: This Email i

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread rpinion865
Unless I missed it, has anyone spoken of Clem Clarke's JOL? This is not a product which has official support. https://hercules-os380.yahoogroups.narkive.com/6Q2YsqGZ/jol-next-generation-jcl-was-jcl-what-is-it-and-what-could-it-be "Confidentially doc, I am the wabbit." Bugs Bunny Sent with P

Re: What is a "scripting language"?

2024-11-11 Thread Phil Smith III
Indeed: you could send someone a document and have it Do Things on their userid. The log4j bug was the exact same thing a couple of years ago. We learn nothing! -Original Message- From: IBM Mainframe Discussion List On Behalf Of Paul Gilmartin Sent: Monday, November 11, 2024 2:31 PM To:

Re: What is a "scripting language"?

2024-11-11 Thread Matt Hogstrom
Seems like an academic exercise. The line was blurred years ago. For instance, Python would be considered a “scripting language” but it can also be compiled into pac for faster execution There are different dimensions to consider like below. In the end I think today its tomato versus tomato

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Thomas Berg
I could see a way of distinction in this area as something like this, with "element" equal to something like a "program statement": * Can not set a condition as a separate element = A command. * Can set a condition as a separate element but not set an arbitrary (more or less) variable as a separ

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Phil Smith III
Continuing this Socratic discussion, Michael Schmitt wrote, in part: >It can't even run without reference to other programs, which are /not/ >part of JCL or JES. It can't do input or output. Neither can C without stdlib, right? Just sayin'... --

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Schmitt, Michael
I knew someone would bring that up. I think the difference is stdlib comes with the C compiler "and library". I don't consider the Data Facility Product (DFP) to be part of JES. -Original Message- From: IBM Mainframe Discussion List On Behalf Of Phil Smith III Sent: Monday, November 1

Re: What is a "scripting language"?

2024-11-11 Thread Paul Gilmartin
On Mon, 11 Nov 2024 15:40:10 -0500, Phil Smith III wrote: >Indeed: you could send someone a document and have it Do Things on their >userid. > >The log4j bug was the exact same thing a couple of years ago. We learn nothing! > Vaguely similar:

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Jay Maynard
C certainly run without stdlib. I spent a few years developing embedded systems in C with no stdlib. On Mon, Nov 11, 2024 at 2:45 PM Phil Smith III wrote: > Continuing this Socratic discussion, Michael Schmitt wrote, in part: > >It can't even run without reference to other programs, which are /n

Re: What is a "scripting language"?

2024-11-11 Thread Bernd Oppolzer
These are all very good and valid points, thanks ... I only would like to comment on the first topic (execution model), because I am working on a Pascal compiler (since 2011) which has an execution model which might be interesting in this context. On the mainframe: - Pascal source code transl

Re: Circular (non)documentation references

2024-11-11 Thread Charles Mills
Does this help? https://www.ibm.com/docs/en/zos/3.1.0?topic=guide-xlc-compiler-invocation-using-customizable-configuration-file CM On Mon, 11 Nov 2024 23:18:36 +, Farley, Peter wrote: >In a z/OS Unix shell session, I find this: > >$ man xlc > xlc - Compiler invocation using a customiza

Circular (non)documentation references

2024-11-11 Thread Farley, Peter
In a z/OS Unix shell session, I find this: $ man xlc xlc - Compiler invocation using a customizable configuration file For the xlc information, see z/OS UNIX System Services Command Reference. In the z/OS V2.5 PDF of the z/OS Unix System Services Command Reference (SA23-2280-50), pages 853

Recruiters

2024-11-11 Thread Steve Beaver
If anyone in the group in the US gets contacted by Venkata Siva Anisetti do not deal with him. Sent from my iPhone No one said I could type with one thumb -- For IBM-MAIN subscribe / signoff / archive access instructions, se

Re: Circular (non)documentation references

2024-11-11 Thread Farley, Peter
Yes, thank you. In which case, both the “man” entry AND the Unix System Services Command Reference SHOULD have referred us to the XL C/C++ Users Guide, which is where your link points. Time for a thumbs down at least in the Unix System Services Command Reference. Peter From: IBM Mainframe Dis

Re: Circular (non)documentation references

2024-11-11 Thread Farley, Peter
And of course the online version already has the required change to refer to the XL C/C++ manual – PDF not updated when I last downloaded it. Par for the course. From: IBM Mainframe Discussion List On Behalf Of Farley, Peter Sent: Monday, November 11, 2024 7:04 PM To: IBM-MAIN@LISTSERV.UA.EDU

How to verify if a uss path exists

2024-11-11 Thread Lizette Koehler
I have the need to validate 100’s of home directories on TSO/RACF. IDs I am using IRRXUTIL to get the home directory using REXX. What can I use to see if the path on the home directory exists? Example Tsoid MYTSO has a home directory of /tsousr/MYTSO What do I use to see that the path. /tsousr

Re: How to verify if a uss path exists

2024-11-11 Thread Farley, Peter
A call to BPXWUNIX perhaps? I believe there is an “exists” function in there. But I also discovered that the “df” command can help you with both of your needs: df /u/unknown Mounted on FilesystemAvail/TotalFiles Status df: FSUM6412 couldn't stat file system for "/u/

ABEND/HELP setting up IEFSSREQ

2024-11-11 Thread Joseph Reichman
Hi I am getting an abend using IEFSSREQ I believe I set up everything in my subsystem initialization Table which I will post I run this under TESTAUTH and got a return code 0 I got a zero-return code from this function and from the activate as well using TASID if se that the subsystem is active

Re: Circular (non)documentation references

2024-11-11 Thread Jay Maynard
Recursive: see recursive. On Mon, Nov 11, 2024 at 5:19 PM Farley, Peter < 031df298a9da-dmarc-requ...@listserv.ua.edu> wrote: > In a z/OS Unix shell session, I find this: > > $ man xlc > xlc - Compiler invocation using a customizable configuration file > > > For the xlc information, see z/

Re: What is a "scripting language"?

2024-11-11 Thread Bob Bridges
Right, Gil, and by that definition JCL and the old .bat language (before it could do Ifs and loops), and QMF, are all "scripting languages" while everything else is a programming language. I know I said I usually count JCL as a programming language, but I also said "only sort of". I realize th

Re: How to verify if a uss path exists

2024-11-11 Thread Jasi Grewal
Hi, You can use a rexx program to check the directory and here's a small section of my program.There is some checking you have to do and which includes check uppercase and lowercase of directories.If you want me to send you my rexx program then let me know.   address syscall 'access' $root F_OK 

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Bob Bridges
Hm, I may have to cede this point. It's why I like these discussions. --- Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313 /* Doubt is not a pleasant condition, but certainty is absurd. -Voltaire */ -Original Message- From: IBM Mainframe Discussion List On Behalf Of Schmitt, Mic

"Colossus"

2024-11-11 Thread Bob Bridges
I'm reminded of a video I saw only yesterday claiming that Elon Musk has created the world's largest attempt at AI ... and that he's named it "Colossus". I'm no Musk basher, but I gotta admit I'm a little freaked out by his choice of moniker. It'd be nice to believe he isn't aware of the Forbi

Re: How to verify if a uss path exists

2024-11-11 Thread Paul Gilmartin
On Mon, 11 Nov 2024 17:07:29 -0700, Lizette Koehler wrote: > >What do I use to see that the path. /tsousr/MYTSO exists? > >I would like to keep this in the one REXX process > What can you learn from address SHSCALL getpwnam

Re: Modifying JCL on the fly

2024-11-11 Thread David Spiegel
Hi Allan, Why is JES2 Exit 6 better than Exit 4 for this purpose? Regards, David On 11/11/2024 08:59, Allan Staller wrote: Classification: Confidential IEFUSI is too late in the process. I suggest JES2 EXIT6 (or EXIT26?) depending on the JES2 Environment. In both cases, you must be prepared

Re: Modifying JCL on the fly

2024-11-11 Thread Paul Gilmartin
On Mon, 11 Nov 2024 10:20:47 -0600, Joel Ewing wrote: >And if you really need variable behavior requiring complex logic at >execution time that is beyond the limited capability of JCL, the >simplest solution is batch execution of a scripting language that >supports dynamic allocation and I/O, like

Re: Modifying JCL on the fly

2024-11-11 Thread Steve Thompson
I had to do this with COBOL programs. Initially, the person(s) who set this up long before I got into that shop, had written an SVC 99 routine (some serious developer type) that the COBOL program(s) would call, passing it parms. This went back to an MHTRAN migration from DOS/VSE to MVS/XA. Bu

Re: Calculating used dataset space

2024-11-11 Thread rpinion865
Brian, what is your personal email address? > > Original Message > On 11/9/24 2:25 AM, Brian Westerman > 06ba4ed225c9-dmarc-requ...@listserv.ua.edu wrote: > > > Could you send me a copy as well? > > > > Brian > > > > -

DSCLI problem CMUN01136E

2024-11-11 Thread גדי בן אבי
Hi, I am trying to use the DSCLI offloadfile command to extract some data from our DS8910F. I keep getting the message: CMUN01136E offloadfile: The task has failed while attempting to write to the target directory on the destination server. I've tried writing to various directories and drives o

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Phil Smith III
Joel Ewing wrote, in part, on the original thread: > There are many such solutions to get around the fact that JCL is not a >programming language and is static at execution time. So (and yes, I realize that's an AND): is "static at execution time" a disqualifier in the Am I A Programming Langu

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Dave Gibney
> -Original Message- > From: IBM Mainframe Discussion List On > Behalf Of Phil Smith III > Sent: Monday, November 11, 2024 10:42 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: What is a "programming language"? Was:: Modifying JCL on the > fly > > Joel Ewing wrote, in part, on the origin

Re: What is a "scripting language"?

2024-11-11 Thread Bob Bridges
By the way, I know that the meaning of "scripting" has melted quite a bit since its original designation, but I don't use it (or "macro") about the so-called scripting languages. A VBA program is, in my mind, a program, not a script or macro. A script - technically speaking - is a list of comm

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Bob Bridges
I've thought about this question ("can JCL be considered a programming language?") for some years. I usually include it in my list of languages, but I almost always add "sort of". Still, during my most recent job interview, my potential boss definitely agreed with me: It counts. So did it co

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Seymour J Metz
"So, unless it support the generally considered poor practice of self modifying code at runtime, it's not a programming language?" is totally unrelated to anything he wrote. --  Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ___

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Seymour J Metz
My recollection is that BAT had conditional logic since the original PC-DOS; I don't recall what it was like in CP/M. CLIST, OTOH, became a programming language in OS/VS3 3.8, as I recall. I may check bitsavers on that last. --  Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָא

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Phil Smith III
To Bob's point about scripting languages--I like his definition and agree with him from a purist perspective, but suspect that a practical definition of "scripting language" simply means it has good OS integration, i.e., it's easy to do a bunch of commands, maybe get back results in program vari

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Phil Smith III
Oops, I didn't notice that Bob had changed the thread name to "What is a 'scripting language'?" My bad. Can we have one thread, though? They're at least adjacent... -- For IBM-MAIN subscribe / signoff / archive access instructio

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Phil Smith III
I don't remember either, but I do remember that Relay had "Beyond .bat", a .bat-like language that did a lot more, used for Relay/Gold emulator scripting. That suggests that it was pretty weak. Doesn't mean anything you said isn't right, of course. (And I'm NOT sorry that I don't remember those

Re: What is a "scripting language"?

2024-11-11 Thread Seymour J Metz
Is SCRIPT a scripting language? It does have a .sy control word. --  Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר From: IBM Mainframe Discussion List on behalf of Paul Gilmartin <042bfe

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Paul Gilmartin
On Mon, 11 Nov 2024 19:04:02 +, Seymour J Metz wrote: >"So, unless it support the generally considered poor practice of self >modifying code at runtime, it's not a programming language?" is totally >unrelated to anything he wrote. > Should LISP's LAMBDA be considered "self modifying"? Like

Re: What is a "scripting language"?

2024-11-11 Thread Phil Smith III
That's too meta for me! -Original Message- From: IBM Mainframe Discussion List On Behalf Of Seymour J Metz Sent: Monday, November 11, 2024 2:14 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: What is a "scripting language"? Is SCRIPT a scripting language? It does have a .sy control word.

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Dave Gibney
Yes, I see I misread his statement > -Original Message- > From: IBM Mainframe Discussion List On > Behalf Of Seymour J Metz > Sent: Monday, November 11, 2024 11:04 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: What is a "programming language"? Was:: Modifying JCL on the > fly > > "So,

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Seymour J Metz
Forgetting can be surprisingly difficult, however ardently desired. I still remember some opcodes from the 650, a machine that only a mother could love. Or the addressing structure of the 1005, a machine straight out of Adams and Wilson. --  Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Seymour J Metz
Why would you consider lamba to be self modifying? Isn't it just a procedure definition? --  Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר From: IBM Mainframe Discussion List on behalf of P

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread rpinion865
"self modifying code" is that not AI? Or am I getting that confused with Colossus, The Forbin Project? "Confidentially doc, I am the wabbit." Bugs Bunny Sent with Proton Mail secure email. On Monday, November 11th, 2024 at 2:18 PM, Dave Gibney <06fb76de82cb-dmarc-requ...@listserv.ua.e

Re: What is a "scripting language"?

2024-11-11 Thread Paul Gilmartin
On Mon, 11 Nov 2024 13:37:41 -0500, Bob Bridges wrote: >By the way, I know that the meaning of "scripting" has melted quite a bit >since its original designation, but I don't use it (or "macro") about the >so-called scripting languages. ... > What was that original designation? Let me tty.

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Paul Gilmartin
On Mon, 11 Nov 2024 19:21:28 +, Seymour J Metz wrote: >Why would you consider lamba to be self modifying? Isn't it just a procedure >definition? > Isn't procedure definition at runtime self-modification? ALTER? -- gil --

Re: What is a "scripting language"?

2024-11-11 Thread Paul Gilmartin
On Mon, 11 Nov 2024 19:13:55 +, Seymour J Metz wrote: >Is SCRIPT a scripting language? It does have a .sy control word. > I believe .SY was later restricted for system integrity reasons. -- gil -- For IBM-MAIN subscribe /

c89 syntax errors despite using the SSCOMM compiler option

2024-11-11 Thread Farley, Peter
Hi all, I am trying to compile and test the CEA sample program from the manual "MVS Programming: Callable Services for High-Level Languages", SA23-1377-50, Chapter 12. Using CEA TSO/E address space services, Programming example. I am trying to run this test on a z/OS V2.5 system with relatively

Re: Modifying JCL on the fly

2024-11-11 Thread Joel Ewing
And if you really need variable behavior requiring complex logic at execution time that is beyond the limited capability of JCL, the simplest solution is batch execution of a scripting language that supports dynamic allocation and I/O, like Rexx, or perhaps one of the scripting languages in the

Re: Modifying JCL on the fly

2024-11-11 Thread Allan Staller
Classification: Confidential JCL has already been converted. Text units can be added/deleted as needed (again, very similar to dynamic allocation. EXIT4 is (possibly) similar. When I actually did this at a former employer, EXIT6 needed to be modified. HTH, -Original Message- From: I

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Schmitt, Michael
It is a programming language if it can output the lyrics to 99 bottles of beer without just hardcoding the lines. And before you say, "but there is a submission there for JCL!", it is actually demonstrating the use of IEBDG, not JCL. 😉 -Original Message

Re: Old ISPF application scripting from batch?

2024-11-11 Thread Farley, Peter
Thank you! That actually looks like exactly what would work for my situation. The total count of interactions needed is relatively small, so it shouldn’t be too hard to work with, especially if it can be scripted from python or Rexx. Now to research what level of SAF authority is needed to use

Re: ADRVCMPT

2024-11-11 Thread ERNESTO FIGUEROA
Hi Gadi, Yes, you can do several ADRVCMPT steps in a single job. You cannot, however, perform several commands in a single step. This is because there is only one SAMPLEDD DD. Which is required by the tool’s invocation. Thank you. Ernesto E. Figueroa DFSMSdss Product Owner From: IBM Mainfram

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Seymour J Metz
Lamba doesn't modify the existing code; it adds a sublist. I'd consider it equivalent to changing a table in a data-driven program. ALTER effectively sets a label variable and can be implemented with read-only code. --  Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ

Re: Spam: Re: What is a "scripting language"?

2024-11-11 Thread Joel Ewing
Some of the  tools commonly called scripting languages in the Linux world are clearly very  functional programming languages as well -- e.g. Python, which even supports all the common and some less common math functions, SQL calls, all that stuff.   I think the close integration with ability to

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Schmitt, Michael
I plant my stake firmly in the "JCL is not a programming language" camp. It is a /control/ language. Whether it could be considered a scripting language or not depends on your definition. I'll say /yes/: some scripting languages are also programming languages but not all. For example, you can

Re: ABEND/HELP setting up IEFSSREQ

2024-11-11 Thread Joseph Reichman
Thanks Thought I accomplished that with the OILH > On Nov 12, 2024, at 1:07 AM, Binyamin Dissen > <0662573e2c3a-dmarc-requ...@listserv.ua.edu> wrote: > > This one is easier. > > R1 -> A(X'8000'+SSOB) > > > On Mon, 11 Nov 2024 19:32:50 -0500 Joseph Reichman > <05812645a43c-dma

Re: "Colossus"

2024-11-11 Thread Don Leahy
Colossus was misunderstood. It only wanted to do what was best for humanity, whether we liked it or not. On Mon, Nov 11, 2024 at 8:19 PM Bob Bridges < 0587168ababf-dmarc-requ...@listserv.ua.edu> wrote: > I'm reminded of a video I saw only yesterday claiming that Elon Musk has > created the w

Re: ABEND/HELP setting up IEFSSREQ

2024-11-11 Thread Binyamin Dissen
This one is easier. R1 -> A(X'8000'+SSOB) On Mon, 11 Nov 2024 19:32:50 -0500 Joseph Reichman <05812645a43c-dmarc-requ...@listserv.ua.edu> wrote: :>Hi :> :>I am getting an abend using IEFSSREQ I believe I set up everything in my :>subsystem initialization Table which I will post I run t

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Don Leahy
When explaining it to newcomers I describe JCL as a special type of scripting language where the logic flows in just one direction. No loops, no backwards branching, etc. ironically, JCL’s limitations in that regard make it easier to develop scheduling and restart management software. Being user

Re: What is a "programming language"? Was:: Modifying JCL on the fly

2024-11-11 Thread Tom Brennan
I explain it as simply a table of things to do, and I try not to use the L-word. On 11/11/2024 6:39 PM, Don Leahy wrote: When explaining it to newcomers I describe JCL as a special type of scripting language where the logic flows in just one direction. No loops, no backwards branching, etc. i