Re: Is SMP/E needed for installs?

2023-09-05 Thread Paul Gilmartin
On Tue, 5 Sep 2023 17:34:17 -0400, Phil Smith III wrote: >... >1. Is there a way to say "Do the INCLUDE from the same library where you >found this JCL?" (I expect not, because I don't think the JCL has any >association with that library by the time it's submitted) > Put the mainstream

Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Paul Gilmartin
On Tue, 5 Sep 2023 11:27:15 -0700, Tom Brennan wrote: >Which is a bit strange, because I would expect that every ASM program >ChatGPT looked at would have had something for that at the top and >bottom, even if it was just ENTRY/EXIT macros or similar. > >On 9/5/2023 11:10 AM, David Spiegel wrote:

Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Paul Gilmartin
On Tue, 5 Sep 2023 11:34:13 -0500, Tom Marchant wrote: >[if] it made it to the BR 14, it would loop. > ??? Rather, that appears to be one of the few correct instructions. If R14 hasn't been modified since entry, it returns to caller. SR 15,15 Set return code

Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Paul Gilmartin
On Tue, 5 Sep 2023 10:20:20 -0500, Tom Marchant wrote: >You're right, Tom. That is not a program. Certainly not one that will do what >it claims to do. > Mostly right. A private maaclib might make it come closet. Suppose the private GET reads a floating point number from a POSIX descriptor.

Re: Simple request from chatGPT to write assembler program.

2023-09-04 Thread Paul Gilmartin
On Mon, 4 Sep 2023 19:54:56 +, Seymour J Metz wrote: >The original is the exact octets that chaatGPT gave you. QP encoding is not >the original. > If ChatGPT identified the recipient as a MUA and honored RFC 822++'s USASCII requirement, some encoding was necessary after it had made two

Re: Simple request from chatGPT to write assembler program.

2023-09-04 Thread Paul Gilmartin
On Mon, 4 Sep 2023 18:54:21 +, Seymour J Metz wrote: >I'd have to view the original in hex before I'd even try to guess. > Ask ChatGPT to fix it! What's "the original"? Here's what my MUA shows as "Raw Source". no linebreaks; no trailing spaces; lotsa NBSP: Chatgpt: Certainly!

Re: Simple request from chatGPT to write assembler program.

2023-09-04 Thread Paul Gilmartin
On Mon, 4 Sep 2023 18:32:29 +, Bill Johnson wrote: >Not sure. My experience with chatgpt is minimal. I installed it on the iPhone >a month or two ago and this is my second attempt to get it to do something.  > It's like "Genuine Fractals". It looks like Assembler code only when viewed from

Re: Simple request from chatGPT to write assembler program.

2023-09-04 Thread Paul Gilmartin
On Mon, 4 Sep 2023 18:28:35 +, Seymour J Metz wrote: >I've had situations where pasting to and copying from notepad (not wordpad) >fixes similar issues. > vi expanded the NBSP. Is there a fix for the newlines? Just give ChatGPT D- and a makeup assignment. -- gil

Re: Simple request from chatGPT to write assembler program.

2023-09-04 Thread Paul Gilmartin
On Mon, 4 Sep 2023 17:20:24 +, Bill Johnson wrote: >The formatting was perfect. The cut & paste wasn’t. > Could you direct it to a file instead of the screen, and attach the file? (Teachers look askance at copies of homework.) -- gil

Re: Simple request from chatGPT to write assembler program.

2023-09-04 Thread Paul Gilmartin
On Mon, 4 Sep 2023 10:42:51 -0700, Tom Brennan wrote: >I can't be sure I formatted it properly, ... > What did you do to fix it? (List the steps, or did you just retype t?) Could ChatGPT be instructed to use line breaks and eschew NBSP? >but after looking over the >code, I have nothing to say

Re: Simple request from chatGPT to write assembler program.

2023-09-04 Thread Paul Gilmartin
On Mon, 4 Sep 2023 16:36:14 +, Bill Johnson wrote: >William:  > >Write me an assembler program using high-level assembler for the mainframe. > Fix your damn mailer, or throw it away and get one that works! In particular, do not use NBSP to format code samples. >Chatgpt: > >Certainly! Here’s

Re: Is the IBM Assembler List still alive

2023-09-03 Thread Paul Gilmartin
On Sun, 3 Sep 2023 10:45:28 -0500, g...@gabegold.com wrote: >I've only had three jobs (3, 14, 6 years duration) before switching to >freelance writing/editing/consulting in 1994. But I'll chime in anyway with my >experience using assembler as a critical part of my work. I learned and used >it

Re: Is the IBM Assembler List still alive

2023-09-02 Thread Paul Gilmartin
On Sat, 2 Sep 2023 16:02:43 -0400, Bob Bridges wrote: > >(Naming an assembler language "Macro" probably seemed as clever a marketing >choice as naming a z/OS security product "Top Secret", but the same difficulty >applies to both: When you want to look up something about either on the

Re: Is the IBM Assembler List still alive

2023-09-02 Thread Paul Gilmartin
On Sat, 2 Sep 2023 09:03:47 -0400, Bob Bridges wrote: >... I used a ~lot~ of assembler on a DEC-10, ... > >(Actually I think the problem is the difficulty in writing a hello-world >program. It's mind-numbingly simple in REXX or indeed in almost any >interpreted language; before I can do

Re: Is the IBM Assembler List still alive

2023-09-01 Thread Paul Gilmartin
On Fri, 1 Sep 2023 08:28:41 -0600, Robert Raicer wrote: > >It's been several months since I've received anything from >the IBM Assembler List Server.  The last I knew, the list server >e-mail address was: assembler-l...@listserv.uga.edu > The newest post in the archives is: Re: Define Flag (DF)

JOBPROC and extensions (was: Is SMP/E ...)

2023-08-31 Thread Paul Gilmartin
On Fri, 1 Sep 2023 05:47:51 +1000, Wayne Bickerdike wrote: > >It was internal code developed by one of our systems programmers. It worked >but sometimes broke. > Or, perhaps, "It was broken but sometimes worked." I had a co-worker who had previously worked for an ISV which he lauded for

Re: [EXTERNAL] Re: Is SMP/E needed for installs?

2023-08-31 Thread Paul Gilmartin
On Thu, 31 Aug 2023 19:16:25 +, Schmitt, Michael wrote: >It they had used DD, imagine all the customer code that would break that >parses JCL looking for DDs, and never expects to see a DD outside of a step. >... > I'm unsympathetic. Even as all the customer code that broke when PROC

Re: Is SMP/E needed for installs?

2023-08-31 Thread Paul Gilmartin
On Thu, 31 Aug 2023 11:58:23 -0400, Phil Smith III wrote: >... >//SYSUT1 DD DSN= >... >STMT NO. MESSAGE > > 6 IEFC624I INCORRECT USE OF PERIOD IN THE DSN FIELD >I understand the latter error (because the SET didn't happen), >... I could find that behavior useful.

Re: [EXTERNAL] Re: Is SMP/E needed for installs?

2023-08-31 Thread Paul Gilmartin
On Thu, 31 Aug 2023 10:39:34 -0700, Tom Brennan wrote: > >I thought ORDER= was done because you can code more than one dataset. > DD concatenation should have sufficed for that. -- gil -- For IBM-MAIN subscribe / signoff /

Re: [EXTERNAL] Re: Is SMP/E needed for installs?

2023-08-31 Thread Paul Gilmartin
On Thu, 31 Aug 2023 17:19:38 +, Pommier, Rex wrote: >Yeah, I don't understand why IBM didn't just use DD card syntax instead of >coming up with this. > I conjecture sequence of operations. DD statements aren't elaborated until job initiation. JCLLIB is needed earlier. Isn't there a

Temporary DSN (was: ???)

2023-08-30 Thread Paul Gilmartin
de it DSN=&foo just in case. > >Then, decades later, // SET came alon,, with similar rules.. > > >From: Mike Schwab >Sent: Wednesday, August 30, 2023 4:59 PM >Subject: Re: Threading (was: LISTSERV Trivia: Deleting drafts?) >

Re: Threading (was: LISTSERV Trivia: Deleting drafts?)

2023-08-30 Thread Paul Gilmartin
On Wed, 30 Aug 2023 15:59:02 -0500, Mike Schwab wrote: >On Wed, Aug 30, 2023 at 3:32 PM Paul Gilmartin wrote: > >> And I've seen no good explanation for "&TEMPDSN" >> As s test, I posted that, not via WWW but by Mail, which I rarely do. The paired ampersands were p

Re: Threading (was: LISTSERV Trivia: Deleting drafts?)

2023-08-30 Thread Paul Gilmartin
On Wed, 30 Aug 2023 13:18:22 -0400, Phil Smith III wrote: > > An interesting topic, even if not directly on-topic (the other "OT"). > Thanks for the research. List behavior should be a valid metatopic. One recent ply begins with "Re: [EXTERNAL] Re: [EXT] Re:". If I were emperor of the RFCs,

Re: Threading (was: LISTSERV Trivia: Deleting drafts?)

2023-08-30 Thread Paul Gilmartin
On Wed, 30 Aug 2023 13:18:22 -0400, Phil Smith III wrote: > > An interesting topic, even if not directly on-topic (the other "OT"). > Thanks for the research. List behavior should be a valid metatopic. One recent ply begins with "Re: [EXTERNAL] Re: [EXT] Re:". If I were emperor of the RFCs,

Re: Threading (was: LISTSERV Trivia: Deleting drafts?)

2023-08-29 Thread Paul Gilmartin
On Tue, 29 Aug 2023 14:05:59 -0400, Phil Smith III wrote: >... >https://developers.google.com/gmail/api/guides/threads >... >1. The requested threadId must be specified on the Message or >Draft.Message you supply with your request. >2. The References and In-Reply-To headers must

Re: LISTSERV Trivia: Deleting drafts?

2023-08-29 Thread Paul Gilmartin
On Tue, 29 Aug 2023 09:26:34 -0500, Grant Taylor wrote: >> ... >> > >> & To identify a temporary data set name, for example, >> &TEMPDS, and, to identify an in-stream or sysout data set name, >> for example,

Re: LISTSERV Trivia: Deleting drafts?

2023-08-28 Thread Paul Gilmartin
On Mon, 28 Aug 2023 18:09:57 -0500, Grant Taylor wrote: >... >What you have written in quotes on the second line seems broken to me. >I'm seeing ampersand, ampersand, a, m, p, semicolon, S, Y, M, B, O, L, >period. > >I have no idea what you were trying to write. > I'll copy/paste a couple

Re: LISTSERV Trivia: Deleting drafts?

2023-08-28 Thread Paul Gilmartin
On Mon, 28 Aug 2023 15:28:25 -0500, Kirk Wolf wrote: >Gil, >Not your question, but is the WWW interface why all of your posts break into a >new thread? ( at least in a few mailers that I have used). > Yes. I see your message has headers: X-Mailer: MessagingEngine.com Webmail Interface

Re: LISTSERV Trivia: Deleting drafts?

2023-08-28 Thread Paul Gilmartin
lick the quote icon. Where's Darren when we need him? Too many things don't work, and L-Soft requires account credentials. >http:// <http://dovetail.com/>coztoolkit.com > >On Mon, Aug 28, 2023, at 3:21 PM, Paul Gilmartin wrote: >> I use the WWW interface to post to IBM-MAIN.

LISTSERV Trivia: Deleting drafts?

2023-08-28 Thread Paul Gilmartin
I use the WWW interface to post to IBM-MAIN. At times it tells me I have lingering drafts. Each shows a trashcan icon. Clicking it usually fails or causes a window hang. Is there a trick? I may have just discovered that it works better to delete in (reverse) chronological order. Is that

Re: Syncsort > DFsort migration

2023-08-28 Thread Paul Gilmartin
On Mon, 28 Aug 2023 15:11:05 +, Sri h Kolusu wrote: > >EQUALS is the parm which comes into picture when your input has duplicates on >the key, and you want to retain the order of the duplicates. OPTION EQUALS >specifies whether the original sequence of records that collate identically >for

Re: Setup Filezila for MF to PC transfers

2023-08-26 Thread Paul Gilmartin
On Sat, 26 Aug 2023 08:14:48 -0700, Lizette Koehler wrote: > >I am hoping someone is using Filezila that can help me with a configuration >issue. > Filezila server or client? >Everything is working well. Only challenge I have is getting FZ to use my >TSOID for mainframe datasets. > Which is

Re: Is SMP/E needed for installs?

2023-08-25 Thread Paul Gilmartin
On Fri, 25 Aug 2023 16:40:57 -0400, Phil Smith III wrote: > >>install JCL? Do you think we can't write rexx, use ISPF JCL tailoring, > >Not sure who "we" is. If you mean customers, then no, I know from experience >that many of "you" cannot do many of those things, or have trouble with it. >Even

Re: Is SMP/E needed for installs?

2023-08-25 Thread Paul Gilmartin
On Fri, 25 Aug 2023 18:49:49 +, Jon Perryman wrote: > >Does anyone believe that symbols is causing the problem with SMP/e install >JCL? Do you think we can't write rexx, use ISPF JCL tailoring, ISPF edit >macros or the many other tools that everyone else uses to tailor JCL? > I believe that

Re: Is SMP/E needed for installs?

2023-08-25 Thread Paul Gilmartin
On Fri, 25 Aug 2023 10:15:59 -0400, David Spiegel wrote: >Hi Phil, >You said: "...The SYMBOLS= stuff might help here ..." >"might"??? -- No! ... "will" > Your approach was similar to mine. We agree; we must be right. Phil suspected problems with instream SYMBOLS-. I envision a couple.

Re: Is SMP/E needed for installs?

2023-08-24 Thread Paul Gilmartin
On Thu, 24 Aug 2023 18:45:23 -0400, Phil Smith III wrote: > >Well, maybe; I didn't write this stuff but the guy who did was pretty sharp, >and couldn't figure out ways around the above. He also noted this: > Is he too sharp tobe wrong? >//****NOTE*** Some references to variable values are in

Re: "XYZZY"?

2023-08-24 Thread Paul Gilmartin
On Thu, 24 Aug 2023 17:21:39 -0400, Bob Bridges wrote: >It's only just now occurring to me to wonder: How should "XYZZY" be >pronounced? I've always said "KSIZZ-ee", but it occurs to me now that there >are other possibilities. > GIYF. -- gil

Re: Is SMP/E needed for installs?

2023-08-24 Thread Paul Gilmartin
On Thu, 24 Aug 2023 17:02:48 -0400, Phil Smith III wrote: > >>JCL SET? Where is its behavior inconsistent? > >It's not SET that's inconsistent, it's support for it in SMP/E. There are >places in SMP/E jobs that can't use symbols. So you can't just have a chunk at >the top that job where you

Re: Is SMP/E needed for installs?

2023-08-24 Thread Paul Gilmartin
On Thu, 24 Aug 2023 15:35:13 -0400, Phil Smith III wrote: >Gil wrote: >>How much of the need for symbols might be satisfied nowadays by: >>o JCLLIB INCLUDE members containing numerous // SET statements? > >Sure.if // SET worked consistently. That's what I meant by "symbols", which >was

Re: Is SMP/E needed for installs?

2023-08-24 Thread Paul Gilmartin
On Thu, 24 Aug 2023 14:57:53 -0400, Phil Smith III wrote: >I don't think SMP/E is evil, I think it's unfinished. As I wrote before, the >inconsistent support for symbols > How much of the need for symbols might be satisfied nowadays by: o JCLLIB INCLUDE members containing numerous // SET

Re: Is SMP/E needed for installs?

2023-08-24 Thread Paul Gilmartin
On Thu, 24 Aug 2023 19:06:17 +0100, Colin Paice wrote: >... >Only if you need >additional< fixes before the next download - do you need >to do any SMP/E work. It would still be there if you need it. > This leads to personnel with little recent SMP/E practice performing emergency maintenance.

Re: Creating an SMP install tape

2023-08-24 Thread Paul Gilmartin
On Thu, 24 Aug 2023 10:07:13 -0400, Phil Smith III wrote: >>... >>Load modules and macros were in PDS form. It wasn't "difficult". > >Glad you found it thus. We found it tedious, with many un- or poorly >documented wrinkles, and the error messages are horrendous. While we've done >it for

Re: Creating an SMP install tape

2023-08-23 Thread Paul Gilmartin
On Thu, 24 Aug 2023 07:00:29 +1000, Wayne Bickerdikewrote: >I used to package a software product I maintained. It was a simple >template. We built the SMPE zones, defined the FMID and APPLY / ACCEPT. >Load modules and macros were in PDS form. It wasn't "difficult". > Do you mean "totally copied

Re: Converting Assembler TPUTS to ISPF

2023-08-23 Thread Paul Gilmartin
On Wed, 23 Aug 2023 09:37:06 -0500, Lionel B. Dyck wrote: >Check out https://zosopentools.github.io/meta/#/ for an ncurses port to z/OS >OMVS, along with A LOT more (git, curl, ...) > > EBCDIC or Enhanced ASCII? I once made a contribution to an EBCDIC port of Lynx. I noted that the bug was

Re: Converting Assembler TPUTS to ISPF

2023-08-22 Thread Paul Gilmartin
On Tue, 22 Aug 2023 20:13:25 +0100, Lennie Dymoke-Bradshaw wrote: >Clem Clarke wrote >>> How would I put output text at a particular row/column, for example? > >There is a TSO/E macro called STLINENO which may do what you want. >I wrote a TSO command processor to use it about 40 years ago, and

Re: Creating an SMP install tape

2023-08-22 Thread Paul Gilmartin
On Tue, 22 Aug 2023 14:09:25 +, Kurt Quackenbush wrote: >> I have some PDSes that need to be installed with SMP on Z/OS. > >> A couple are text files, one an object file and one a load module PDS. They >> all have multiple members. > >> What would be the easiest way to create a files that

Re: Looking for A Solution

2023-08-20 Thread Paul Gilmartin
On Sun, 20 Aug 2023 13:08:02 -0500, Scott Barry wrote: >On Sun, 20 Aug 2023 10:14:16 -0500, Steve Beaver wrote: > >>On the zSeries I have created a .CSV. >> >>The issue is I need a solution to send this .CSV to a list of email >>Users that are very low skilled to their email accounts. And this

Re: Looking for A Solution

2023-08-20 Thread Paul Gilmartin
On Sun, 20 Aug 2023 10:17:12 -0500, Lionel B. Dyck wrote: >Use XMITIP assuming you have CSSMTP enabled and active on your system. The >CSV will arrive as an attachment that they can click on to open and use. >This can easily be a step within your job. > Must the user supply MIME headers? In an

Re: BLDL User Data

2023-08-20 Thread Paul Gilmartin
On Sun, 20 Aug 2023 13:05:39 +, Seymour J Metz wrote: >What about FUNC=GET_NAMES? Which DESERV function are PDSE only and which work >for PDS as well? > And which, if any, work for allocated UNIX directories as BLDL does? I noticed that when I bound a program object with SYSLMOD allocated

Re: BLDL User Data

2023-08-19 Thread Paul Gilmartin
On Sat, 19 Aug 2023 17:14:41 -0500, Dave Kreiss wrote: >... If the real member is deleted but not all alias(s), those alias(s) are > orphaned member(s) but the tensing member(s) data (load module) still exist. > Did that change with PDSE? -- gil

Re: vi

2023-08-18 Thread Paul Gilmartin
On Fri, 18 Aug 2023 20:37:35 +, Seymour J Metz wrote: >> The early 1970s PDP-10 (and PDP-8) were the Digital Equipment forerunners of >> the later DECSYSTEM and VAX computers. > >No; the PDP-6 and PDP-10 were 36-bit machines. The PDP-5 and PDP-8 were 12 bit >machines unrelated to the

Re: vi

2023-08-18 Thread Paul Gilmartin
On Fri, 18 Aug 2023 19:42:41 +, Hayim Sokolsky wrote: >The early 1970s PDP-10 (and PDP-8) were the Digital Equipment forerunners of >the later DECSYSTEM and VAX computers. They were 6- and 7-bit machines. The >Operating System of the PDP-10 that my High School timeshared on in 1973 was

Re: vi

2023-08-18 Thread Paul Gilmartin
On Fri, 18 Aug 2023 17:08:09 +, Gibney, Dave wrote: >In 1978, the class in PDP assembler used ed. Didn't mention vi. >Discovering vi was quite helpful to my progress in the class. > Mavens have cautioned me that I should master ed lest I am ever confined to a terminal lacking the

Re: zsh (was: Strange results for the PS1 prompt ...)

2023-08-18 Thread Paul Gilmartin
On Fri, 18 Aug 2023 12:25:22 -0400, Rick Troth wrote: >... >DASH is an excellent test shell for shaking out compatibility problems. > But as delivered with many systems it lacks command recall. >Acorse, the best option would be to run scripts against *several* shells >(and DASH, BASH, ZSH,

Re: zsh (was: Strange results for the PS1 prompt ...)

2023-08-18 Thread Paul Gilmartin
On Fri, 18 Aug 2023 15:16:13 +, Seymour J Metz wrote: >As long as they included something that looked like the Bourne shell, adding >other shells as options wouldn't have affected POSIX and X.OPEN compliance. > Bourne shell falls considerable short of POSIX and X.OPEN compliance. I once told

zsh (was: Strange results for the PS1 prompt ...)

2023-08-18 Thread Paul Gilmartin
(Please change the Subject: as the topic drifts.) On Fri, 18 Aug 2023 11:07:29 +, Seymour J Metz wrote: >While, IMHO, zsh should have been included in MVS/ESA SP V4.3 OpenEdition, I >don't see it killing bash, due to compatibility. > POSIX non-compliance or incompatibility. with bash? My

Re: REFRPROT

2023-08-18 Thread Paul Gilmartin
On Fri, 18 Aug 2023 11:19:29 +, Mark Jacobs wrote: >Has anyone enabled it? I'm not concerned about operating system/ISV problems >in 2023, but was wondering if anyone who has enabled it had negative >experiences with user programs marked REFR but actually weren't. > REFRPROT is a misdesign.

Re: Strange results for the PS1 prompt with z/OS Unix

2023-08-17 Thread Paul Gilmartin
On Thu, 17 Aug 2023 16:16:46 -0400, Bob Bridges wrote: >Not QUITE the same. Your first example starts in position 4; the second in >position 3. > >(Heh, heh, I just slay myself.) > That's not frivolous. It's valuable to verify similarity of profiles by such as on system2: ssh -f system1

Re: Strange results for the PS1 prompt with z/OS Unix

2023-08-17 Thread Paul Gilmartin
On Thu, 17 Aug 2023 13:39:54 -0500, Tom Longfellow wrote: >I have not done any play with TERMINFO > >Don't know how. > >Don't even know where it is stored. >

Re: Strange results for the PS1 prompt with z/OS Unix

2023-08-17 Thread Paul Gilmartin
On Thu, 17 Aug 2023 11:42:28 -0500, Tom Longfellow wrote: >... >The PS1 setting string is being Cut from Session 1 and then Pasted to Session >2 (under the same emulator and session switcher (netmaster) session. > I'd distrust screen copy/paste for anything with metacharacters. Especially

Re: Pass PARM by reference to COBOL

2023-08-16 Thread Paul Gilmartin
On Wed, 16 Aug 2023 18:23:33 +, Seymour J Metz wrote: >> Irrelevant pedantry. > >Nonsense. > Projection. >> I hope that my explicit qualification, "as an Assembler program might" >> precludes cases in which the PARM is in R/O storage, > >It doesn't. If the caller is RENT from an authorized

Re: Pass PARM by reference to COBOL

2023-08-16 Thread Paul Gilmartin
On Wed, 16 Aug 2023 14:33:53 -0400, Steve Thompson wrote: >What would that accomplish? Telling the INIT the AMODE of the >program; That is going to be gotten from the PDS/PDSE directory. > It would tell the INIT to ATTACH the program with • an 8-bytes-per-entry parameter list with

Re: Pass PARM by reference to COBOL

2023-08-16 Thread Paul Gilmartin
e done so. Second choice would be to add an option to EXEC indicating the AMODE of the PGM. ____ From: Paul Gilmartin Sent: Wednesday, August 16, 2023 9:18 AM PARM is uniformly passed to a program by reference: R1 -> x'8000' + -> halfword length

Re: Has anyone

2023-08-16 Thread Paul Gilmartin
On Wed, 16 Aug 2023 11:23:33 -0400, Bob Bridges wrote: >...; TECO (anyone ever use >that?) is a powerful editor - it was on the PDP platform as I recall - with >early automation features that I used extensively, and it was full of odd >uses for and '$' and some other characters, but it did a

Pass PARM by reference to COBOL

2023-08-16 Thread Paul Gilmartin
PARM is uniformly passed to a program by reference: R1 -> x'8000' + -> halfword length || parameter string If a COBOL program is called by a program other than Initiator, can it modify that parameter string as an Assembler program might to return a value to the caller? (If a program is

Re: Has anyone

2023-08-15 Thread Paul Gilmartin
On Tue, 15 Aug 2023 16:58:27 -0400, Bob Bridges wrote: > >... My little sister reminds me from time to time that OpenOffice is just > as good, but I don't want to write something for a client and then find out > that it isn't QUITE the same as the real thing. > "Real thing" depends on

Re: How can a REXX data stack pass information from a program?

2023-08-15 Thread Paul Gilmartin
On Tue, 15 Aug 2023 19:30:32 +, Schmitt, Michael wrote: >In a universe that is running an emulation of TSO/E but not actual TSO/E. >Which is why ADDRESS SH isn't available either. > I believe that LINKPGM, etc. pass a copy of the argument string, but copy any modified value back to the REXX

Re: How can a REXX data stack pass information from a program?

2023-08-15 Thread Paul Gilmartin
On Tue, 15 Aug 2023 19:08:07 +, Schmitt, Michael wrote: >I believe that the TSO CALL is passing a string that is a copy of the >variable(s) used to build it. > Can you omit the "TSO"? >COBOL won't give e access to R1. But even so, as mentioned above, I don't >think that would help. >

Re: How can a REXX data stack pass information from a program?

2023-08-15 Thread Paul Gilmartin
On Tue, 15 Aug 2023 19:01:07 +, Schmitt, Michael wrote: >If I DISPLAY something UPON SYSPUNCH it goes to the SYSPUNCH DD. Is that what >you mean? > He may have been sarcastic. Or an antiques dealer. >Meanwhile, I thought of passing through an environment variable. But as far as >I can

Re: How can a REXX data stack pass information from a program?

2023-08-15 Thread Paul Gilmartin
On Tue, 15 Aug 2023 17:48:39 +, Schmitt, Michael wrote: >... >Please don't say, run using ISPF, it's easy! Or, call program with LINKMVS, >it's easy! Or, use the IRXECOM variable access routine, it is easy! I know it >is, but it can't be used in this case. It has to be the way I

Re: How can a REXX data stack pass information from a program?

2023-08-15 Thread Paul Gilmartin
On Tue, 15 Aug 2023 17:48:39 +, Schmitt, Michael wrote: >... >What I'm trying to do is pass an 8 character field from a COBOL program to a >calling exec. The constraints are: >... I.e. almost anything that's likely to work. Why? >... >..., so the parm is one-way, and would

Re: TRSMAIN AMATERSE

2023-08-12 Thread Paul Gilmartin
On Sat, 12 Aug 2023 20:12:32 +, Farley, Peter wrote: >At a guess, in the IBM and Unisys patent files that have expired at the US >Patent Office. Not sure if USPO requires any payment to view/print patent >files, but they are supposed to be “public record” so should be available. > >For

Re: ISPF in batch

2023-08-10 Thread Paul Gilmartin
On Thu, 10 Aug 2023 16:32:06 +, Sri h Kolusu wrote: >>> Do any one of the group have any experience editing a file under 3.4 And >>> executing an Init MACRO > >Steve, > >Check this >https://groups.google.com/g/bit.listserv.ispf-l/c/8IxI7mY2hhY/m/e8AnYi2QTrkJ > Yes. The doc is

Re: DD SYSOUT=(,),DSN=?

2023-08-09 Thread Paul Gilmartin
On Wed, 9 Aug 2023 13:47:41 +, Hayim Sokolsky wrote: >... > * As an, DSN=& can be used to cause substitution as if > DSN=&userid was specified. (See below) >... >//SYSUT2 DD SYSOUT=A,DSN=&SYSUT2 = .SYSUT2 > >//SYSUT1 DD DATA,DSN=& = .IBMMAIN >... > hello world!

Re: DD SYSOUT=(,),DSN=?

2023-08-09 Thread Paul Gilmartin
d serves to prevent symbol resolution. So &SYSUID should not be resolved as a JCL symbol. ____ From: Paul Gilmartin Sent: Wednesday, August 9, 2023 12:01 PM On Wed, 9 Aug 2023 13:57:21 +, Seymour J Metz wrote: >The form DSN=&amp; may not be expli

Re: DD SYSOUT=(,),DSN=?

2023-08-09 Thread Paul Gilmartin
On Wed, 9 Aug 2023 13:57:21 +, Seymour J Metz wrote: >The form DSN=& may not be explicitly documented, but its expansion >is a direct consequence of the documented rules. > I trust Hayim's explanation. DSN=& should not be the same as DSN=&userid if the two differ. What documented rules

Re: DD SYSOUT=(,),DSN=?

2023-08-09 Thread Paul Gilmartin
On Wed, 9 Aug 2023 13:47:41 +, Hayim Sokolsky wrote: > > * As an undocumented trick, DSN=& can be used to cause > substitution as if DSN=&userid was specified. (See below) > You should submit an RCF. Things such as this should be documdnted. Or an APAR if the behavior is unintended. --

Re: DD SYSOUT=(,),DSN=?

2023-08-09 Thread Paul Gilmartin
On Wed, 9 Aug 2023 12:11:31 +, Allan Staller wrote: >Classification: Confidential > >SYSOUT= & DSN= are mutually exclusive on a given DD statement. Not possible. > Quite false. The JCL ref describes the effect of using both. -- gil

Re: DD SYSOUT=(,),DSN=?

2023-08-09 Thread Paul Gilmartin
On Wed, 9 Aug 2023 11:22:13 +0100, Jeremy Nicoll wrote: >On Wed, 9 Aug 2023, at 08:24, Paul Gilmartin wrote: >>> >> I am trying to improve my understanding of JCL C/I processing. > >Ages ago (mid 1990s I think) I had a problem with temporary datasets >used DISP=(,PASS

Re: DD SYSOUT=(,),DSN=?

2023-08-09 Thread Paul Gilmartin
On Wed, 9 Aug 2023 07:17:31 +0100, Jack Zukt wrote: >What is it that you are trying to acomplish? >Best wishes > I am trying to improve my understanding of JCL C/I processing. -- gil -- For IBM-MAIN subscribe / signoff /

Re: DD SYSOUT=(,),DSN=?

2023-08-08 Thread Paul Gilmartin
On Tue, 8 Aug 2023 16:04:48 -0500, Doug Henry wrote: >... > For sysout datasets the first level is the Userid of the Job not the jobname. > Thanks. So the user ID is available. Is it possible to code so that a JCL symbol or a PRO symbol becomes the last qualifier? And, I see in

DD SYSOUT=(,),DSN=?

2023-08-08 Thread Paul Gilmartin
How should the user code DD SYSOUT=(,),DSN= in order that the last qualifier of the system-generated name for the sysout data set be the user ID under whose authority the job runs? How many ampersands? How many apostrophes? Is it even possible? -- gil

Re: Automount (was USS Features)

2023-08-07 Thread Paul Gilmartin
On Mon, 7 Aug 2023 10:00:45 -0400, Steve Smith wrote: > >I appreciate that you haven't continued the conflation of "automount" with >what we're really talking about, which is individual home filesystems. > I can hardly imagine not having a private home directory. It hardly matters to me whether

Re: Automount (was USS Features)

2023-08-06 Thread Paul Gilmartin
On Sat, 5 Aug 2023 15:08:31 +0200, Radoslaw Skorupka wrote: >... >However it is not reality show or beauty contest, rather I'd like to see >some real advantages of automount. > At one time our site had an open-system NFS client so users could access traditional MVS data sets on their desktops.

Re: Accessing JCL SETs in Rexx

2023-08-04 Thread Paul Gilmartin
On Fri, 4 Aug 2023 17:33:18 +, Jon Perryman wrote: > > On Friday, August 4, 2023 at 09:24:10 AM PDT, Tom Marchant  wrote: > >> What if you copy the JCL to a new data set, replacing all the EXEC PGM=xxx> >> to EXEC PGM=IEFBR14? and submit it? > >Substituting IEFBR14 only stops program

Re: Accessing JCL SETs in Rexx

2023-08-04 Thread Paul Gilmartin
On Fri, 4 Aug 2023 11:24:06 -0500, Tom Marchant wrote: >What if you copy the JCL to a new data set, replacing all the EXEC PGM=xxx >to EXEC PGM=IEFBR14? and submit it? > >JCL errors would be pretty obvious. > Where's JES3 Setup processing when you need it? -- gil

Re: Accessing JCL SETs in Rexx

2023-08-04 Thread Paul Gilmartin
On Fri, 4 Aug 2023 10:02:29 +0300, Itschak Mugzach wrote: >... > - Substitution is more complex since you have several END options and to > ignore temporary datasets such as those starting with '&' What's an END option? (Example?) I need to submit an RCF that the JCL Ref. fails to

Re: Accessing JCL SETs in Rexx

2023-08-03 Thread Paul Gilmartin
On Fri, 4 Aug 2023 03:32:01 +, Jon Perryman wrote: > > On Thursday, August 3, 2023 at 12:21:34 PM PDT, David Spiegel  wrote: >> My intention is to read a Job and make sure that all datasets are available,  >> but, the dsnames contain SET variables. > >The converter / interpreter will resolve

Re: Accessing JCL SETs in Rexx

2023-08-03 Thread Paul Gilmartin
On Fri, 4 Aug 2023 02:32:02 +, Robert Garrett wrote: >There are no native REXX functions or easily callable services you can use to >get your hands on them. However, if you're handy with Assembler you could >write your own callable service to get them. The service you need in order to

Re: Accessing JCL SETs in Rexx

2023-08-03 Thread Paul Gilmartin
On Fri, 4 Aug 2023 00:02:06 +, Sri h Kolusu wrote: > >Does this work for symbols that are NOT exported? > >// SET HLQ= >// ... >//SYMEX EXEC PGM=COZBATCH >/* Doesn't that result in "SYSIN DD * GENERATED STATEMENT"? >//STDIN DD * >ENV | GREP "JES_" >/* ITYM 'env | grep "JES_"' Is the

Re: Accessing JCL SETs in Rexx

2023-08-03 Thread Paul Gilmartin
On Thu, 3 Aug 2023 19:21:27 +, David Spiegel wrote: > >My intention is to read a Job and make sure that all datasets are available, >but, the dsnames contain SET variables. > By "read a Job" do you mean that JCL resides in a file or PDS member and you want to read that JCL with EXECIO or

Re: Accessing JCL SETs in Rexx

2023-08-03 Thread Paul Gilmartin
On Thu, 3 Aug 2023 17:48:56 +, Seymour J Metz wrote: >The short answer is use ADDRESS LINKMVS. It's probably easier to write a >REXX-aware function in HLASM. > I have an Idea: Exported JCL symbols should automatically be available under OMVS as environment variables. -- gil

Re: Accessing JCL SETs in Rexx

2023-08-03 Thread Paul Gilmartin
On Thu, 3 Aug 2023 17:11:08 +, David Spiegel wrote: > >Does anyone know how to access the JCL SET variables from Rexx. > What are your constraints? I could envision invoking your REXX with BPXWUNIX or BPXBATCH and passing your symbols in //STDPARM DD *,SYMBOLS=JCLONLY ... --

Re: Preferred FTP Client for Windows

2023-07-31 Thread Paul Gilmartin
On Mon, 31 Jul 2023 17:16:20 -0500, Kirk Wolf wrote: >Here's the direct URL to the User's Guide: >https://coztoolkit.com/docs/sftp/index.html > >for FILEDATA=Record, here's an example: > >ls /+mode=binary,linerule=L4 > >(There are a number of different linerule options, including rdw, crlf, nl,

Re: bitmapped displays [was: Definition of mainframe?]

2023-07-31 Thread Paul Gilmartin
rote: >On 7/31/23 9:54 AM, Paul Gilmartin wrote: >> A benefit of xterm on MVS (any system, in fact) is the ability to >> launch a child job with the same environment tediously built by >> the parent. >... >I don't see how this is limited to XTerm nor MVS. I'd expect t

Re: USS Features

2023-07-31 Thread Paul Gilmartin
On Mon, 31 Jul 2023 09:43:38 -0500, Grant Taylor wrote: >On 7/31/23 8:06 AM, Rick Troth wrote: >> per-user automount does not necessarily waste space > >IMHO automount is completely independent of shared / separate per user >disk space. > >> The thing which is mounted might be a sub-directory of

Re: bitmapped displays [was: Definition of mainframe?]

2023-07-31 Thread Paul Gilmartin
On Mon, 31 Jul 2023 10:08:34 -0400, Rick Troth wrote: >... >On MVS (USS), I remember using 'xterm', which is the X11 app I use most. >Lately, I'm more likely to run 'xterm' on some other platform and then >SSH-in to USS. Works. > A benefit of xterm on MVS (any system, in fact) is the ability

Re: Definition of mainframe? Was: Ars Technica

2023-07-30 Thread Paul Gilmartin
On Mon, 31 Jul 2023 08:50:39 +1000, Andrew Rowley wrote: > >An automounted filesystem per user has always been a terrible idea. I >think it was given as an example of how you could use automount and >somehow morphed into a recommendation. (Other OSes can e.g. use >automount to mount a remote user

Re: Definition of mainframe? Was: Ars Technica

2023-07-30 Thread Paul Gilmartin
On Sun, 30 Jul 2023 17:32:54 -0400, Bob Bridges wrote: > >... But it never seemed to me that COBOL statements were any easier to > learn, or more intuitive, than those of FORTRAN or Basic. > In defense of verbosity: Once in the late 1960s I counseled a physics graduate student who was

Re: Definition of mainframe? Was: Ars Technica

2023-07-30 Thread Paul Gilmartin
On Sun, 30 Jul 2023 12:11:11 -0400, Rick Trot wrote: >On 7/30/23 11:49, Paul Gilmartin wrote: >> On Sun, 30 Jul 2023 10:38:59 -0500, Dave Jones wrote: >>> 3) The original web browse was written of a Next, but the web server that >>> served out the pages ran on IBM's V

<    1   2   3   4   5   6   7   8   9   10   >