Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Tom Brennan
Your sample assembled fine but abended 0C1.  I made some minor mods. 
Hope you don't mind my pretend German in the comments :)


The biggest problem is trying to use R15 as a base.  That gets messed up 
by OPEN.  The other problem is LA instead of L when loading R13 for the 
return.  I mix those up a lot myself.


https://www.mildredbrennan.com/mvs/hello.png

P.S. My wife and I were in München last May.  Beautiful city and it was 
fun trying to understand the language based on a high-school class.


On 9/5/2023 6:19 PM, Bernd Oppolzer wrote:

FWIW:

ChatGPT could have used this ASSEMBLER program, which I posted some 
years ago
to German Wikpedia ... this does not do the addition of two integers, 
but instead it
is a simple Hello World program. In contrast to the program provided by 
ChatGPT,

it has no errors (I hope) and it will work.

https://de.wikipedia.org/wiki/Liste_von_Hallo-Welt-Programmen/Assembler#IBM-Mainframe-ASSEMBLER 



Kind regards

Bernd



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Ray Mullins on Assembler demand.

2023-09-05 Thread Andrew Rowley

On 6/09/2023 12:22 pm, Seymour J Metz wrote:

What is "Java"? If it's just the language, it's not that big. But if it's all 
of the classes as well, ...


I think it would have to include the libraries/classes that are included 
in a standard distribution. I'm sure there is a specification for what 
must be included in each Java version.


--
Andrew Rowley
Black Hill Software

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Tom Brennan
Well, it depends.  My #ENTER allocates a large stack area for all parms 
and save areas used within the macro set (and associated programs). 
That way each subprogram doesn't have to do it's own getmain and 
chaining.  The plan was to be able to code ASM with some of the ease of 
C coding, especially around string processing which can be pretty 
difficult in ASM.


On 9/5/2023 7:27 PM, Paul Gilmartin wrote:

On Tue, 5 Sep 2023 19:03:53 -0700, Tom Brennan wrote:


Oops... Yes!  I was thinking ENTER/EXIT.  My own macro set uses #ENTER
and #EXIT.  I put the pound sign on everything so there's no confusion
with real instructions or IBM macros (well, at least I hope!)


At that, I'll switch to the Dark Side for a while.  If IBM's macros were good
enough programmers wouldn't be tempted to devise alternatives.

I've worked for a couple projects that did so.  One enhancement was to
extend the RSA so R13 could be used as a base for working storage,
a practice that others have harshly criticized as dangerous.  Another
was to preserve the CC through exit, which I disliked (didn't work on 370
because it used IPM, SPM.)



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Ray Mullins on Assembler demand.

2023-09-05 Thread Seymour J Metz
Learning a useful subset is not that hard. Learning everything in HLASM and in 
the architecture is much harder. As a practical matter, you have to concentrate 
on the z, HLASM, z/OS, etc. facilities that are most relevant to your job and 
pick up more as time allows.


From: IBM Mainframe Discussion List  on behalf of 
Matt Hogstrom 
Sent: Tuesday, September 5, 2023 12:36 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Ray Mullins on Assembler demand.

My take is that Assembler is just a language and honestly I don’t think its
all that hard to learn.  What it does require is more understanding of the
OS and the ability to setup for calls to other services.

The higher languages simply obscure, or encapsulate, those low level
services.

I use Metal C for new code as it is more easily understood by developers.
That said, there are times for pure assembler code and I enjoy it.  I
started out as a batch assembler programmer but I was drawn to understand
the OS and its structure.  Assembler was the way to interface and now there
are other options.

As an ISV we want Assembler programmers.  In a business, I’d focus on the
languages that the market understands.  The important thing is to not be
religious about a language.  Its just a tool.

On Tue, Sep 5, 2023 at 08:22 David Elliot  wrote:

> Very little from what I see. What little
>  there is is stupid stuff like reverse engineering code so that the client
> can rewrite it in JAVA or whatever the language of the day is.
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Paul Gilmartin
On Tue, 5 Sep 2023 19:03:53 -0700, Tom Brennan wrote:

>Oops... Yes!  I was thinking ENTER/EXIT.  My own macro set uses #ENTER
>and #EXIT.  I put the pound sign on everything so there's no confusion
>with real instructions or IBM macros (well, at least I hope!)
>
At that, I'll switch to the Dark Side for a while.  If IBM's macros were good
enough programmers wouldn't be tempted to devise alternatives.

I've worked for a couple projects that did so.  One enhancement was to
extend the RSA so R13 could be used as a base for working storage,
a practice that others have harshly criticized as dangerous.  Another
was to preserve the CC through exit, which I disliked (didn't work on 370
because it used IPM, SPM.)

-- 
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Ray Mullins on Assembler demand.

2023-09-05 Thread Seymour J Metz
What is "Java"? If it's just the language, it's not that big. But if it's all 
of the classes as well, ...


From: IBM Mainframe Discussion List  on behalf of 
Matt Hogstrom 
Sent: Tuesday, September 5, 2023 1:07 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Ray Mullins on Assembler demand.

Yup.  Context is King.  People talk about languages like Java, etc.  The real 
question in my opinion is what Runtime?  CICS, IMS, WebSphere, …   Language is 
only part of the equation; where it runs is the key.

Matt Hogstrom
PGP key 0F143BC1

> On Sep 5, 2023, at 10:58, Tom Brennan  wrote:
>
> The instructions, registers, etc. are not that difficult to learn.  It's the 
> macros, control blocks, subsystems, interrupts, memory layout, SVC's, (and I 
> could go on and on) that can be the real value in doing ASM programming.
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Ray Mullins on Assembler demand.

2023-09-05 Thread Seymour J Metz
In most languages these days, the most productive thing to do is to initially 
learn some core concepts to get you up and running, then gradually learn more. 
Both the assembler and the architecture that it supports are more complicated 
than in S/360 days, to say nothing of operating systems and application 
subsystems.


From: IBM Mainframe Discussion List  on behalf of M. 
Ray Mullins 
Sent: Tuesday, September 5, 2023 1:16 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Ray Mullins on Assembler demand.

Thank you, Matt. I'm humbled. I keep forgetting how long ago that was.

For context - this response was to a specific question regarding
learning assembler. Basic assembler programming knowledge is a good
thing to have on your resume, because it gives you the insights to how
programs work on the platform.

A "cheap" way to learn some assembler basics is to turn on the LIST
options for the COBOL, C/C++, PL/I, and FORTRAN compilers. You can see
how language statements get converted to the machine instructions. It's
very helpful in understanding how COBOL deals with MOVEs with mixed
USAGE and computational verbs with different USAGE and PIC clauses.

On 2023-09-05 09:37, Matt Hogstrom wrote:
> FWIW, I’ve known Ray for as long as I’ve been programming in Assembler.
> Ray is the man.
>
>
>>> You guys know who Ray Mullins is right?
>>>
>>> Sent from Yahoo Mail for iPhone
>>>
>>> --
>>> For IBM-MAIN subscribe / signoff / archive access instructions,
>>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>>>
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bernd Oppolzer
The "version history" of the German Wikipedia article shows that I added 
this ASSEMBLER source code in 2015.
The page already existed, but there was no Mainframe example, which 
motivated me to add one.
I thought some minutes about adding another source using the ASSEMBLER 
of the German Telefunken TR 440 mainframe
of the 1970s (TAS = Telefunken Assembler Sprache), but I didn't succeed 
so far. That was the machine which
impressed me most when I started my studies of computer science in 1977 
at Stuttgart university.

https://www.gettyimages.de/detail/nachrichtenfoto/grossrechner-tr-440-von-telefunken-1970-nachrichtenfoto/542347199

The comments under the article which tell some facts about ASSEMBLER 
source code layout (columns 10 and 16 etc.)

have been added later by another Wikipedia author and are partly wrong.

This conversation motivated me to correct the comments ... we'll see how 
long it takes until my corrections are

verified by the Wikipedia people and online.

All in German ... sorry about that.

Kind regards

Bernd


Am 06.09.2023 um 03:35 schrieb Bernd Oppolzer:

Maybe the program disqualifies because of the German comments?
But: this should be no problem for ChatGPT ... translation to english ...

Kind regards

Bernd


Am 06.09.2023 um 03:31 schrieb Bernd Oppolzer:

What I meant to say:

it would have been better, if ChatGPT had used this (my) ASSEMBLER 
program from German Wikipedia ...

but apparently, it found the bad program from another source ???
Bill did not ask for a certain logic in his request; he simply asked 
for some mainframe Assembler program

(not specific). So my Hello World program would qualify, too.

It would be interesting to know how ChatGPT determines which sources 
are more reliable than others ...


Kind regards

Bernd


Am 06.09.2023 um 03:19 schrieb Bernd Oppolzer:

FWIW:

ChatGPT could have used this ASSEMBLER program, which I posted some 
years ago
to German Wikpedia ... this does not do the addition of two 
integers, but instead it
is a simple Hello World program. In contrast to the program provided 
by ChatGPT,

it has no errors (I hope) and it will work.

https://de.wikipedia.org/wiki/Liste_von_Hallo-Welt-Programmen/Assembler#IBM-Mainframe-ASSEMBLER 



Kind regards

Bernd


Am 06.09.2023 um 01:47 schrieb Bill Johnson:

I never presented it as a working model.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 7:36 PM, Bernd Oppolzer 
 wrote:


I am not bashing it. I am simply telling you that it has a bunch of
errors and it will not work.

It's kind of interesting to me that, while I try to answer repectfully
to your mails,
almost every answer from you contains the word "idiot" or "idiotic",
which is the same in German, so I understand that well.
Is that a specific way to support your arguments?


Am 06.09.2023 um 01:31 schrieb Bill Johnson:
I find it stunning the technology people are trying to hang onto 
the past (assembler) and bashing the future. (ChatGPT) Or perhaps 
that’s what aging people do.





--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Ray Mullins on Assembler demand.

2023-09-05 Thread Seymour J Metz
The name of the song is called Haddock's Eyes.


From: IBM Mainframe Discussion List  on behalf of 
David Spiegel <0468385049d1-dmarc-requ...@listserv.ua.edu>
Sent: Tuesday, September 5, 2023 2:07 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Ray Mullins on Assembler demand.

Hi Ray,
You said: "... SAMPLIB(IEEACTRT) ..."
Don't you mean SAMPLIB(SMFEXITS) //IEFACTRT?
(IEEx is Console-related; IEFx is SMF-related)

Regards,
David

On 2023-09-05 13:23, M. Ray Mullins wrote:
> There's a bit of context that is lost here. I purposely said
> "invisible hand", playing on the imagery. But just because that's what
> the owner of the "invisible hand" wants doesn't necessarily mean
> that's happening.
>
> Metal C in a JES2 environment is extremely difficult to implement,
> which is why you're now seeing the JES2 policy direction. IMHO if IBM
> had provided Metal C PROLOG/EPILOG for JES2 and z/OS exits, as well as
> APIs covering the common macros*, I think would have seen more Metal C
> take-up. I presented a few times at SHARE about converting
> SAMPLIB(IEEACTRT) to Metal C. I originally envisioned it as a
> "how-to", but it became instead a user experience, as my experience
> was mixed.
>
> On 2023-09-05 09:39, Bill Johnson wrote:
>> Metal C, exactly what Mullins said is replacing assembler. In the
>> end, my contention in the beginning is proving truer by the day. And
>> you’re right, assembler isn’t that hard to learn and not hard to
>> replace,
>>
>>
>> Sent from Yahoo Mail for iPhone
>>
>>
>> On Tuesday, September 5, 2023, 12:36 PM, Matt Hogstrom
>>  wrote:
>>
>> My take is that Assembler is just a language and honestly I don’t
>> think its
>> all that hard to learn.  What it does require is more understanding
>> of the
>> OS and the ability to setup for calls to other services.
>>
>> The higher languages simply obscure, or encapsulate, those low level
>> services.
>>
>> I use Metal C for new code as it is more easily understood by
>> developers.
>> That said, there are times for pure assembler code and I enjoy it.  I
>> started out as a batch assembler programmer but I was drawn to
>> understand
>> the OS and its structure.  Assembler was the way to interface and now
>> there
>> are other options.
>>
>> As an ISV we want Assembler programmers.  In a business, I’d focus on
>> the
>> languages that the market understands.  The important thing is to not be
>> religious about a language.  Its just a tool.
>>
>> On Tue, Sep 5, 2023 at 08:22 David Elliot  wrote:
>>
>>> Very little from what I see. What little
>>>there is is stupid stuff like reverse engineering code so that
>>> the client
>>> can rewrite it in JAVA or whatever the language of the day is.
>>>
>>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Tom Brennan
Oops... Yes!  I was thinking ENTER/EXIT.  My own macro set uses #ENTER 
and #EXIT.  I put the pound sign on everything so there's no confusion 
with real instructions or IBM macros (well, at least I hope!)


On 9/5/2023 6:52 PM, Paul Gilmartin wrote:

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.


Isn't ENTRY an Assembler instruction, not a macro?



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Tom Brennan

True, but you certainly implied it in the notes I pasted below.

And yes, my comprehension of basic English are terrible.  My biggest 
problem is with singular and plural verbs.


On 9/5/2023 5:46 PM, Bill Johnson wrote:

I never once said it would assemble or run. I can see why you guys went into 
IT. Your comprehension of basic English are terrible.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 8:22 PM, Tom Brennan 
 wrote:

Oh that's funny!  Then what are these notes from you I found in my trash
folder?  Sounds like you were sure it would assemble and run perfectly,
and also be able to take over someone's job today.

   Why do you doubt it? Is it because you hope it doesn’t? Certainly, one
   of you assembler geniuses could test it.

   Lol, how about going to chatgpt and asking the same question. So that
   cut and paste isn’t a factor.

   What are you afraid of? That a computer can do what you do? That your
   “skills” aren’t all that impressive and can be automated away?

On 9/5/2023 4:47 PM, Bill Johnson wrote:

I never presented it as a working model.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


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.
> 
Isn't ENTRY an Assembler instruction, not a macro?

-- 
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bernd Oppolzer

Maybe the program disqualifies because of the German comments?
But: this should be no problem for ChatGPT ... translation to english ...

Kind regards

Bernd


Am 06.09.2023 um 03:31 schrieb Bernd Oppolzer:

What I meant to say:

it would have been better, if ChatGPT had used this (my) ASSEMBLER 
program from German Wikipedia ...

but apparently, it found the bad program from another source ???
Bill did not ask for a certain logic in his request; he simply asked 
for some mainframe Assembler program

(not specific). So my Hello World program would qualify, too.

It would be interesting to know how ChatGPT determines which sources 
are more reliable than others ...


Kind regards

Bernd


Am 06.09.2023 um 03:19 schrieb Bernd Oppolzer:

FWIW:

ChatGPT could have used this ASSEMBLER program, which I posted some 
years ago
to German Wikpedia ... this does not do the addition of two integers, 
but instead it
is a simple Hello World program. In contrast to the program provided 
by ChatGPT,

it has no errors (I hope) and it will work.

https://de.wikipedia.org/wiki/Liste_von_Hallo-Welt-Programmen/Assembler#IBM-Mainframe-ASSEMBLER 



Kind regards

Bernd


Am 06.09.2023 um 01:47 schrieb Bill Johnson:

I never presented it as a working model.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 7:36 PM, Bernd Oppolzer 
 wrote:


I am not bashing it. I am simply telling you that it has a bunch of
errors and it will not work.

It's kind of interesting to me that, while I try to answer repectfully
to your mails,
almost every answer from you contains the word "idiot" or "idiotic",
which is the same in German, so I understand that well.
Is that a specific way to support your arguments?


Am 06.09.2023 um 01:31 schrieb Bill Johnson:
I find it stunning the technology people are trying to hang onto 
the past (assembler) and bashing the future. (ChatGPT) Or perhaps 
that’s what aging people do.





--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bernd Oppolzer

What I meant to say:

it would have been better, if ChatGPT had used this (my) ASSEMBLER 
program from German Wikipedia ...

but apparently, it found the bad program from another source ???
Bill did not ask for a certain logic in his request; he simply asked for 
some mainframe Assembler program

(not specific). So my Hello World program would qualify, too.

It would be interesting to know how ChatGPT determines which sources are 
more reliable than others ...


Kind regards

Bernd


Am 06.09.2023 um 03:19 schrieb Bernd Oppolzer:

FWIW:

ChatGPT could have used this ASSEMBLER program, which I posted some 
years ago
to German Wikpedia ... this does not do the addition of two integers, 
but instead it
is a simple Hello World program. In contrast to the program provided 
by ChatGPT,

it has no errors (I hope) and it will work.

https://de.wikipedia.org/wiki/Liste_von_Hallo-Welt-Programmen/Assembler#IBM-Mainframe-ASSEMBLER 



Kind regards

Bernd


Am 06.09.2023 um 01:47 schrieb Bill Johnson:

I never presented it as a working model.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 7:36 PM, Bernd Oppolzer 
 wrote:


I am not bashing it. I am simply telling you that it has a bunch of
errors and it will not work.

It's kind of interesting to me that, while I try to answer repectfully
to your mails,
almost every answer from you contains the word "idiot" or "idiotic",
which is the same in German, so I understand that well.
Is that a specific way to support your arguments?


Am 06.09.2023 um 01:31 schrieb Bill Johnson:
I find it stunning the technology people are trying to hang onto the 
past (assembler) and bashing the future. (ChatGPT) Or perhaps that’s 
what aging people do.





--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bernd Oppolzer

FWIW:

ChatGPT could have used this ASSEMBLER program, which I posted some 
years ago
to German Wikpedia ... this does not do the addition of two integers, 
but instead it
is a simple Hello World program. In contrast to the program provided by 
ChatGPT,

it has no errors (I hope) and it will work.

https://de.wikipedia.org/wiki/Liste_von_Hallo-Welt-Programmen/Assembler#IBM-Mainframe-ASSEMBLER

Kind regards

Bernd


Am 06.09.2023 um 01:47 schrieb Bill Johnson:

I never presented it as a working model.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 7:36 PM, Bernd Oppolzer 
 wrote:

I am not bashing it. I am simply telling you that it has a bunch of
errors and it will not work.

It's kind of interesting to me that, while I try to answer repectfully
to your mails,
almost every answer from you contains the word "idiot" or "idiotic",
which is the same in German, so I understand that well.
Is that a specific way to support your arguments?


Am 06.09.2023 um 01:31 schrieb Bill Johnson:

I find it stunning the technology people are trying to hang onto the past 
(assembler) and bashing the future. (ChatGPT) Or perhaps that’s what aging 
people do.




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Next SMP/E question

2023-09-05 Thread David Spiegel

Hi Phil,
That is true provided the DDDEFs are instead coded as JCL.

Regards,
David

On 2023-09-05 20:47, Phil Smith III wrote:

Mark Jacobs wrote:

Apply check doesn't open any target traditional datasets, or Unix
System Services paths, so it's WAD. Whether it should is a different
question.

And in my experience (limited, obviously) with traditional target data sets, 
you'll get a JCL error earlier. So this may just be How It Works, unless 
someone else has another idea.

Thanks.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread David Spiegel

Hi Bill,
You said: "...Your comprehension of basic English are terrible. ..."
Doorknob, it should have been "is terrible".

Another case of the pot calling the kettle black.
Open mouth, change feet.

Regards,
David

On 2023-09-05 20:46, Bill Johnson wrote:

I never once said it would assemble or run. I can see why you guys went into 
IT. Your comprehension of basic English are terrible.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 8:22 PM, Tom Brennan 
 wrote:

Oh that's funny!  Then what are these notes from you I found in my trash
folder?  Sounds like you were sure it would assemble and run perfectly,
and also be able to take over someone's job today.

   Why do you doubt it? Is it because you hope it doesn’t? Certainly, one
   of you assembler geniuses could test it.

   Lol, how about going to chatgpt and asking the same question. So that
   cut and paste isn’t a factor.

   What are you afraid of? That a computer can do what you do? That your
   “skills” aren’t all that impressive and can be automated away?

On 9/5/2023 4:47 PM, Bill Johnson wrote:

I never presented it as a working model.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Next SMP/E question

2023-09-05 Thread Attila Fogarasi
The rationale is simple:  the target libraries may not be accessible on the
system performing the APPLY CHECK ... for example, golden master
environment, where APPLY CHECK is to validate the fix pre/coreq before
distribution.  Another example is security rights, APPLY cauld run under a
more powerful userid than APPLY CHECK, which affects dataset access.

On Wed, Sep 6, 2023 at 10:42 AM Mark Jacobs <
0224d287a4b1-dmarc-requ...@listserv.ua.edu> wrote:

> Apply check doesn't open any target traditional datasets, or Unix System
> Services paths, so it's WAD. Whether it should is a different question.
>
> Mark Jacobs
>
> Sent from ProtonMail, Swiss-based encrypted email.
>
> GPG Public Key -
> https://api.protonmail.ch/pks/lookup?op=get=markjac...@protonmail.com
>
>
> --- Original Message ---
> On Tuesday, September 5th, 2023 at 8:25 PM, Phil Smith III <
> li...@akphs.com> wrote:
>
>
> > I have a statement in the allocate job:
> >
> > ADD DDDEF(VSHZFSX) PATH'/u/some/directory') .
> >
> >
> >
> > The later Apply Check job just does:
> >
> > //SMPCNTL DD *
> >
> > SET BOUNDARY(TARGET) .
> >
> > APPLY S(VVSH840) CHECK .
> >
> >
> >
> > So it doesn't validate access to or even existence of that directory.
> Could/should it? I don't know whether this is even reasonable, which makes
> it a bit hard to research! Obviously we'll document it in great detail, but
> as previously noted, I'm trying to make this as easy as possible for the
> users, and failing on Apply Check seems more correct than on Apply (which
> is where it fails now if that directory isn't there or the user doesn't
> have R/W access).
> >
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Next SMP/E question

2023-09-05 Thread Phil Smith III
Mark Jacobs wrote:
>Apply check doesn't open any target traditional datasets, or Unix
>System Services paths, so it's WAD. Whether it should is a different
>question.

And in my experience (limited, obviously) with traditional target data sets, 
you'll get a JCL error earlier. So this may just be How It Works, unless 
someone else has another idea.

Thanks.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bill Johnson
I never once said it would assemble or run. I can see why you guys went into 
IT. Your comprehension of basic English are terrible.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 8:22 PM, Tom Brennan 
 wrote:

Oh that's funny!  Then what are these notes from you I found in my trash 
folder?  Sounds like you were sure it would assemble and run perfectly, 
and also be able to take over someone's job today.

  Why do you doubt it? Is it because you hope it doesn’t? Certainly, one
  of you assembler geniuses could test it.

  Lol, how about going to chatgpt and asking the same question. So that
  cut and paste isn’t a factor.

  What are you afraid of? That a computer can do what you do? That your
  “skills” aren’t all that impressive and can be automated away?

On 9/5/2023 4:47 PM, Bill Johnson wrote:
> I never presented it as a working model.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bill Johnson
Here’s a prime example Bernd. Dummy Dave always likes his superior cut downs. 
Thinks he’s intelligent.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 8:39 PM, David Spiegel 
<0468385049d1-dmarc-requ...@listserv.ua.edu> wrote:

Hi Tom,
+1
You forget that it took Bill and 2 colleagues to modify IEFUSI.

Regards,
David

On 2023-09-05 20:21, Tom Brennan wrote:
> Oh that's funny!  Then what are these notes from you I found in my 
> trash folder?  Sounds like you were sure it would assemble and run 
> perfectly, and also be able to take over someone's job today.
>
>   Why do you doubt it? Is it because you hope it doesn’t? Certainly, one
>   of you assembler geniuses could test it.
>
>   Lol, how about going to chatgpt and asking the same question. So that
>   cut and paste isn’t a factor.
>
>   What are you afraid of? That a computer can do what you do? That your
>   “skills” aren’t all that impressive and can be automated away?
>
> On 9/5/2023 4:47 PM, Bill Johnson wrote:
>> I never presented it as a working model.
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Next SMP/E question

2023-09-05 Thread Mark Jacobs
Apply check doesn't open any target traditional datasets, or Unix System 
Services paths, so it's WAD. Whether it should is a different question.

Mark Jacobs 

Sent from ProtonMail, Swiss-based encrypted email.

GPG Public Key - 
https://api.protonmail.ch/pks/lookup?op=get=markjac...@protonmail.com


--- Original Message ---
On Tuesday, September 5th, 2023 at 8:25 PM, Phil Smith III  
wrote:


> I have a statement in the allocate job:
> 
> ADD DDDEF(VSHZFSX) PATH'/u/some/directory') .
> 
> 
> 
> The later Apply Check job just does:
> 
> //SMPCNTL DD *
> 
> SET BOUNDARY(TARGET) .
> 
> APPLY S(VVSH840) CHECK .
> 
> 
> 
> So it doesn't validate access to or even existence of that directory. 
> Could/should it? I don't know whether this is even reasonable, which makes it 
> a bit hard to research! Obviously we'll document it in great detail, but as 
> previously noted, I'm trying to make this as easy as possible for the users, 
> and failing on Apply Check seems more correct than on Apply (which is where 
> it fails now if that directory isn't there or the user doesn't have R/W 
> access).
> 
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bill Johnson
As always happens here. I am attacked and disrespected. Then when I respond in 
kind, your cult feigns innocence. 


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 8:19 PM, Bernd Oppolzer 
 wrote:

I told you "I try to answer respectfully" ...
doesn't work always, especially if I am called an idiot in the very same 
mail that I am answering to.

Kind regards

Bernd


Am 06.09.2023 um 01:53 schrieb Bill Johnson:
> If you consider this respectful, there’s something wrong with you.
>
> “So your JCL expertise qualifies you as a systems programmer ... that's
> interesting.”
>
>
> Sent from Yahoo Mail for iPhone
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is SMP/E needed for installs?

2023-09-05 Thread Andrew Rowley

On 6/09/2023 9:39 am, Steve Thompson wrote:
But, doesn't that take a long time and burn many cycles to get it 
done? I'm only asking to verify what I have been told about z/OSMF in 
the past few weeks.


Good question. SMP/E itself doesn't have a reputation for being 
lightweight, and the z/OSMF install would avoid most of the SMP/E steps. 
Hopefully, a simple restore of a basic SMP/E environment in z/OSMF 
wouldn't be too intensive. Particularly compared to someone muddling 
through trying to understand SMP/E, re-running steps etc.


For a product install, the CPU time etc. is probably not significant 
compared to everyday workload.


--

Andrew Rowley
Black Hill Software

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread David Spiegel

Hi Tom,
+1
You forget that it took Bill and 2 colleagues to modify IEFUSI.

Regards,
David

On 2023-09-05 20:21, Tom Brennan wrote:
Oh that's funny!  Then what are these notes from you I found in my 
trash folder?  Sounds like you were sure it would assemble and run 
perfectly, and also be able to take over someone's job today.


  Why do you doubt it? Is it because you hope it doesn’t? Certainly, one
  of you assembler geniuses could test it.

  Lol, how about going to chatgpt and asking the same question. So that
  cut and paste isn’t a factor.

  What are you afraid of? That a computer can do what you do? That your
  “skills” aren’t all that impressive and can be automated away?

On 9/5/2023 4:47 PM, Bill Johnson wrote:

I never presented it as a working model.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Next SMP/E question

2023-09-05 Thread Phil Smith III
I have a statement in the allocate job:

 ADD DDDEF(VSHZFSX)  PATH'/u/some/directory') .

 

The later Apply Check job just does:

//SMPCNTL  DD *   

  SET BOUNDARY(TARGET) .  

  APPLY S(VVSH840) CHECK .

 

So it doesn't validate access to or even existence of that directory. 
Could/should it? I don't know whether this is even reasonable, which makes it a 
bit hard to research! Obviously we'll document it in great detail, but as 
previously noted, I'm trying to make this as easy as possible for the users, 
and failing on Apply Check seems more correct than on Apply (which is where it 
fails now if that directory isn't there or the user doesn't have R/W access).


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is SMP/E needed for installs?

2023-09-05 Thread Phil Smith III
Andrew Rowley wrote, in part:
>IBM's answer to this would be to recommend installing using a portable
>software instance through z/OSMF.

Yep, on my future todo list, but I'm not there at this point. Nor am I 
convinced that I can require z/OSMF yet (that's probably another topic for 
another thread, which I may start).


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Switching between SMT-1 and SMT-2

2023-09-05 Thread Andrew Rowley

On 5/09/2023 10:30 pm, Martin Packer wrote:

And “100% busy” is the wrong criterion – if you want your system to be 
performant.


Isn't that what WLM is for?

25 years ago I did a WLM conversion on a single CPU system. A single CPU 
is probably the most difficult to tune. By necessity, it ran at 100% for 
hours at a time. With appropriate WLM settings it performed fine. You do 
need a mix of work so you have work that can afford to wait, but it's 
not like the system needs time to to rest. There's no major difference 
between idle time and time running lower priority work.


Is the situation worse now?

There were a lot of things we had to do that went against the 
conventional wisdom for WLM at the time - the conventional wisdon did 
NOT work well at 100% or on a single CPU.


--
Andrew Rowley
Black Hill Software

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Tom Brennan
Oh that's funny!  Then what are these notes from you I found in my trash 
folder?  Sounds like you were sure it would assemble and run perfectly, 
and also be able to take over someone's job today.


  Why do you doubt it? Is it because you hope it doesn’t? Certainly, one
  of you assembler geniuses could test it.

  Lol, how about going to chatgpt and asking the same question. So that
  cut and paste isn’t a factor.

  What are you afraid of? That a computer can do what you do? That your
  “skills” aren’t all that impressive and can be automated away?

On 9/5/2023 4:47 PM, Bill Johnson wrote:

I never presented it as a working model.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bernd Oppolzer

I told you "I try to answer respectfully" ...
doesn't work always, especially if I am called an idiot in the very same 
mail that I am answering to.


Kind regards

Bernd


Am 06.09.2023 um 01:53 schrieb Bill Johnson:

If you consider this respectful, there’s something wrong with you.

“So your JCL expertise qualifies you as a systems programmer ... that's
interesting.”


Sent from Yahoo Mail for iPhone



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Switching between SMT-1 and SMT-2

2023-09-05 Thread Andrew Rowley

On 5/09/2023 10:13 pm, Peter Relson wrote:

I don't think that that is a correct conclusion. It is far more complicated 
than thinking that this is simply about one LPAR.
It depends what your logical vs physical configuration is. It depends what 
resources your other LPARs need. And a lot more.


I understand that this is designed to manage the dispatching between 
multiple LPARs. However, if the result is that experts advise to "only 
use SMT when [adding real zIIPs] was not (or no longer) feasible" and 
"not enable SMT until you have a defined reason to and where it's then 
proven to be beneficial", and customers are commonly seeing workloads 
degraded by enabling SMT, I'm not sure that the objectives are being 
achieved.


Considering the interactions wth other LPARs, is there a significant 
difference between using the same dispatching pattern for SMT-2 as SMT-1 
until all CPUs are busy, versus disabling SMT-2 completely?


SMT should be all gravy. It's supposed to be extra capacity, and ideally 
undetectable until you hit the limits without SMT.



And it is expected that zIIPs are not run "consistently 100% busy". That would 
not be an appropriate usage of zIIPs.


Why not? Is WLM unable to manage dispatching priorities for zIIP? I know 
a lot of zIIP work is short transactions like DDF, but there's also 
Java, which is great for CPU intensive work. Java has functions that 
will check how many CPUs the system has, and parallelize work onto N-1 
threads. It's a bit antisocial on z/OS I know, but that's what WLM is 
for. That would definitely drive zIIPs to 100%, potentially for extended 
periods.


--
Andrew Rowley
Black Hill Software

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bill Johnson
If you consider this respectful, there’s something wrong with you. 

“So your JCL expertise qualifies you as a systems programmer ... that's 
interesting.”


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 7:36 PM, Bernd Oppolzer 
 wrote:

I am not bashing it. I am simply telling you that it has a bunch of 
errors and it will not work.

It's kind of interesting to me that, while I try to answer repectfully 
to your mails,
almost every answer from you contains the word "idiot" or "idiotic",
which is the same in German, so I understand that well.
Is that a specific way to support your arguments?


Am 06.09.2023 um 01:31 schrieb Bill Johnson:
> I find it stunning the technology people are trying to hang onto the past 
> (assembler) and bashing the future. (ChatGPT) Or perhaps that’s what aging 
> people do.
>
>
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bill Johnson
No, but someone who extrapolates my JCL expertise as my only expertise deserves 
that response. Or perhaps dummkopf. Yes, I have 3 years of German, which served 
me well in Munich, Regensburg, Austria, & Switzerland. 


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 7:36 PM, Bernd Oppolzer 
 wrote:

I am not bashing it. I am simply telling you that it has a bunch of 
errors and it will not work.

It's kind of interesting to me that, while I try to answer repectfully 
to your mails,
almost every answer from you contains the word "idiot" or "idiotic",
which is the same in German, so I understand that well.
Is that a specific way to support your arguments?


Am 06.09.2023 um 01:31 schrieb Bill Johnson:
> I find it stunning the technology people are trying to hang onto the past 
> (assembler) and bashing the future. (ChatGPT) Or perhaps that’s what aging 
> people do.
>
>
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bill Johnson
I never presented it as a working model.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 7:36 PM, Bernd Oppolzer 
 wrote:

I am not bashing it. I am simply telling you that it has a bunch of 
errors and it will not work.

It's kind of interesting to me that, while I try to answer repectfully 
to your mails,
almost every answer from you contains the word "idiot" or "idiotic",
which is the same in German, so I understand that well.
Is that a specific way to support your arguments?


Am 06.09.2023 um 01:31 schrieb Bill Johnson:
> I find it stunning the technology people are trying to hang onto the past 
> (assembler) and bashing the future. (ChatGPT) Or perhaps that’s what aging 
> people do.
>
>
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Joe Monk
It will abend for sure.

Joe



On Tue, Sep 5, 2023 at 5:52 PM Bernd Oppolzer 
wrote:

> It will not work, because almost every single instruction has an error
> or two.
> Every programmer with a little bit ASSMBLER experience can see this;
> this ChatGPT program has no grasp of instruction formats, DCBs or the
> proper
> use of I/O macros. I will not go into the details here ... the ASSEMBLER
> people know
> what I'm talking about, and the others are not interested.
>
> Kind regards
>
> Bernd
>
>
> Am 05.09.2023 um 18:00 schrieb Bill Johnson:
> > Why do you doubt it? Is it because you hope it doesn’t? Certainly, one
> of you assembler geniuses could test it.
> >
> > Like Mullins said, and others mentioned, most companies that run z/OS
> don’t need assembler programmers. That numbers in the thousands if not ten
> thousand. Whereas ISV’s who are the likely users of Assembler programming,
> number in the hundreds, maybe. So install on Systems Programmers.
> >
> >
> > Sent from Yahoo Mail for iPhone
> >
> >
> > On Tuesday, September 5, 2023, 11:43 AM, Steve Thompson 
> wrote:
> >
> > I doubt it will assemble. And even if it does, the results are
> > unpredictable, other than it will probably ABEND for one reason
> > or another.
> >
> > There are no DCB, OPEN, CLOSE macros while GET and PUT are being
> > used.
> >
> > Me thinks this AI system is confusing a few different assembly
> > languages together. I wonder how close they came for DOS I/O.
> > Steve Thompson
> >
> >
> >
> > On 9/5/2023 11:20 AM, Tom Marchant wrote:
> >> You're right, Tom. That is not a program. Certainly not one that will
> do what it claims to do.
> >>
> >> -- Tom Marchant On Mon, 4 Sep 2023 10:42:51 -0700, Tom Brennan
> >>  wrote:
> >>> I can't be sure I formatted it properly, but after looking over the
> >>> code, I have nothing to say but WTF? 
> >>>
> >>>PRINT NOGEN
> >>>TITLE 'Simple Addition Program'
> >>> ** Define storage for input numbers and result
> >>> *
> >>> NUM1DSFFirst input number
> >>> NUM2DSFSecond input number
> >>> RESULT  DSFResult of addition
> >>> ** Main program
> >>> *
> >>> MAINC  0NUM1  Check if NUM1 is zero
> >>>BEZEROBranch to ZERO if true
> >>> ** Read the first number from input
> >>> *
> >>>GETNUM1,NUMIN  Read NUM1 from input
> >>>LA0,NUM1  Load NUM1 into register
> >>> ** Read the second number from input
> >>> *
> >>>GETNUM2,NUMIN  Read NUM2 from input
> >>>A  NUM1,NUM2  Add NUM1 and NUM2
> >>>STNUM1,RESULTStore the result in RESULT
> >>> ** Print the result
> >>> *
> >>>PUTRESULT,NUMOUT  Print the result
> >>> ** Terminate the program
> >>> *
> >>>SR15,15  Set return code to 0
> >>>BR14  Return to caller
> >>> ** Define input and output areas
> >>> *
> >>> NUMINDCF'0'  Input buffer for numbers
> >>> NUMOUT  DCF'0'  Output buffer for result
> >>> ZERODCF'0'  Constant zero
> >>>END  MAINEnd of program
> >> --
> >> For IBM-MAIN subscribe / signoff / archive access instructions,
> >> send email tolists...@listserv.ua.edu  with the message: INFO IBM-MAIN
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
> >
> >
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is SMP/E needed for installs?

2023-09-05 Thread Steve Thompson
But, doesn't that take a long time and burn many cycles to get it 
done? I'm only asking to verify what I have been told about 
z/OSMF in the past few weeks.


Steve Thompson

On 9/5/2023 7:23 PM, Andrew Rowley wrote:

On 6/09/2023 7:34 am, Phil Smith III wrote:
To recap, the goal here is just to make our SMP/E installation 
as easy as possible for the increasing number of customers for 
whom it seems to be a mystery. Yes, that's worrisome; no, I 
can't fix it. What I can do is try to keep them from blowing 
their fingers off as much as possible by making it as easy as 
possible.


IBM's answer to this would be to recommend installing using a 
portable software instance through z/OSMF. That will deliver 
the whole SMP/E environment pre-built, and the customer doesn't 
need to do any SMP/E for installation. They can still install 
maintenance using SMP/E, and you can be reasonably confident 
that the SMP/E environment is configured correctly so they can 
install maintenance.


There are some downsides (new stuff to learn etc.) but given 
your goal and the fact that IBM is pushing people to z/OSMF 
installation anyway, it's worth considering.




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bernd Oppolzer
I am not bashing it. I am simply telling you that it has a bunch of 
errors and it will not work.


It's kind of interesting to me that, while I try to answer repectfully 
to your mails,

almost every answer from you contains the word "idiot" or "idiotic",
which is the same in German, so I understand that well.
Is that a specific way to support your arguments?


Am 06.09.2023 um 01:31 schrieb Bill Johnson:

I find it stunning the technology people are trying to hang onto the past 
(assembler) and bashing the future. (ChatGPT) Or perhaps that’s what aging 
people do.





--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is the IBM Assembler List still alive

2023-09-05 Thread Bernd Oppolzer
I did regular ASSEMBLER training, provided by training companies here in 
Germany,
in the 1990 to 2005 time frame. Since then, there indeed was not much 
demand.


I worked for different mainframe customers since 2000 until today (I'm a 
freelancer),
and every one of them had some ASSEMBLER programs (more or less). In 
fact, there was one,
who used C on the mainframe heavily; this customer didn't have much 
ASSEMBLER, IIRC.

Only C and PL/1.

The co-workers at two of my current customer's sites are asking for 
ASSEMBLER training,

but the management there doesn't want to pay the price,
because they don't see the need. But they both have ASSEMBLER programs 
(one more,
the other less), and so I have to fix the problems with the ASSEMBLER 
code bases myself.


At one of these sites (which has a large ASSEMBLER code base),
they once made me hold a class for ASSEMBLER sysprogs in the 2010 time 
frame (IIRC).
I always told them (since 2000 ca.): if you don't want to run into 
problems, send me 10 guys
or young ladies at the age of 30, but they sent me 3, which were 45 
years old already.

2 of them are still there, but they don't do much.

IMO, the ASSEMBLER expertise and the support is still needed until 2030, 
at least,
at this particular company. But I'm 71 then ... not sure, how this can 
work.


I am not marketing ASSEMBLER trainings beyond the scope of my current 
customers.

Because it is not necessary; I am in charge all the time.
But, of course, if someone reads this and is interested, feel free to 
ask. I will set up
an ASSEMBLER class for you ... somewhere in Europe, at best. Languages 
are German,
English and French. Other classes, too, like DB2 or PL/1. Call  me 
offline or look

at my website.

Kind regards

Bernd


Am 06.09.2023 um 00:49 schrieb Bill Johnson:

Offering? To me it sounds like there’s no demand or there would actually be 
classes available to select as we write. There’s really nothing scheduled and 
likely won’t be. Because there’s no demand.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 6:38 PM, Bernd Oppolzer 
 wrote:

I offer training classes,
Steve Thompson does.

If a company really wants ASSEMBLER training, they can find it here.


Am 04.09.2023 um 22:35 schrieb Bill Johnson:

I love how many of you downplay others who don’t do what you do. And act like 
it’s inferior. Plus, puff yourselves up simply for programming in Assembler. I 
made a boatload of money in 40+ years performing nearly every task on the 
mainframe. I can also code in Assembler, just never needed to. Assembler is 
still dying, as the Assembler listserv attests. Plus, the fact it’s nearly 
impossible to find a company that offers training classes in it.



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bill Johnson
I find it stunning the technology people are trying to hang onto the past 
(assembler) and bashing the future. (ChatGPT) Or perhaps that’s what aging 
people do.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 7:04 PM, Bill Johnson 
<0047540adefe-dmarc-requ...@listserv.ua.edu> wrote:

You people are idiots. Chatgpt just came out. Nobody, including me, said it was 
going to replace you today, or tomorrow. But, it will replace you.

Autonomous vehicles are coming too. In fact, they are already on the road. 
Perfect? Not yet. But getting closer daily.

Flying cars are a few decades away. Although flying taxis are closer than you 
think. 

https://www.npr.org/2023/07/01/1185060325/joby-electric-flying-taxi




Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 6:52 PM, Bernd Oppolzer 
 wrote:

It will not work, because almost every single instruction has an error 
or two.
Every programmer with a little bit ASSMBLER experience can see this;
this ChatGPT program has no grasp of instruction formats, DCBs or the 
proper
use of I/O macros. I will not go into the details here ... the ASSEMBLER 
people know
what I'm talking about, and the others are not interested.

Kind regards

Bernd


Am 05.09.2023 um 18:00 schrieb Bill Johnson:
> Why do you doubt it? Is it because you hope it doesn’t? Certainly, one of you 
> assembler geniuses could test it.
>
> Like Mullins said, and others mentioned, most companies that run z/OS don’t 
> need assembler programmers. That numbers in the thousands if not ten 
> thousand. Whereas ISV’s who are the likely users of Assembler programming, 
> number in the hundreds, maybe. So install on Systems Programmers.
>
>
> Sent from Yahoo Mail for iPhone
>
>
> On Tuesday, September 5, 2023, 11:43 AM, Steve Thompson  
> wrote:
>
> I doubt it will assemble. And even if it does, the results are
> unpredictable, other than it will probably ABEND for one reason
> or another.
>
> There are no DCB, OPEN, CLOSE macros while GET and PUT are being
> used.
>
> Me thinks this AI system is confusing a few different assembly
> languages together. I wonder how close they came for DOS I/O.
> Steve Thompson
>
>
>
> On 9/5/2023 11:20 AM, Tom Marchant wrote:
>> You're right, Tom. That is not a program. Certainly not one that will do 
>> what it claims to do.
>>
>> -- Tom Marchant On Mon, 4 Sep 2023 10:42:51 -0700, Tom Brennan
>>  wrote:
>>> I can't be sure I formatted it properly, but after looking over the
>>> code, I have nothing to say but WTF? 
>>>
>>>            PRINT NOGEN
>>>            TITLE 'Simple Addition Program'
>>> ** Define storage for input numbers and result
>>> *
>>> NUM1    DS    F            First input number
>>> NUM2    DS    F            Second input number
>>> RESULT  DS    F            Result of addition
>>> ** Main program
>>> *
>>> MAIN    C      0        NUM1  Check if NUM1 is zero
>>>            BE    ZERO            Branch to ZERO if true
>>> ** Read the first number from input
>>> *
>>>            GET    NUM1,NUMIN      Read NUM1 from input
>>>            LA    0,NUM1          Load NUM1 into register
>>> ** Read the second number from input
>>> *
>>>            GET    NUM2,NUMIN      Read NUM2 from input
>>>            A      NUM1,NUM2      Add NUM1 and NUM2
>>>            ST    NUM1,RESULT    Store the result in RESULT
>>> ** Print the result
>>> *
>>>            PUT    RESULT,NUMOUT  Print the result
>>> ** Terminate the program
>>> *
>>>            SR    15,15          Set return code to 0
>>>            BR    14              Return to caller
>>> ** Define input and output areas
>>> *
>>> NUMIN    DC    F'0'          Input buffer for numbers
>>> NUMOUT  DC    F'0'          Output buffer for result
>>> ZERO    DC    F'0'          Constant zero
>>>            END  MAIN            End of program
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email tolists...@listserv.ua.edu  with the message: INFO IBM-MAIN
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
>
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff 

Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Joe Monk
It doesn't even establish addressability.

Joe

On Tue, Sep 5, 2023 at 5:52 PM Bernd Oppolzer 
wrote:

> It will not work, because almost every single instruction has an error
> or two.
> Every programmer with a little bit ASSMBLER experience can see this;
> this ChatGPT program has no grasp of instruction formats, DCBs or the
> proper
> use of I/O macros. I will not go into the details here ... the ASSEMBLER
> people know
> what I'm talking about, and the others are not interested.
>
> Kind regards
>
> Bernd
>
>
> Am 05.09.2023 um 18:00 schrieb Bill Johnson:
> > Why do you doubt it? Is it because you hope it doesn’t? Certainly, one
> of you assembler geniuses could test it.
> >
> > Like Mullins said, and others mentioned, most companies that run z/OS
> don’t need assembler programmers. That numbers in the thousands if not ten
> thousand. Whereas ISV’s who are the likely users of Assembler programming,
> number in the hundreds, maybe. So install on Systems Programmers.
> >
> >
> > Sent from Yahoo Mail for iPhone
> >
> >
> > On Tuesday, September 5, 2023, 11:43 AM, Steve Thompson 
> wrote:
> >
> > I doubt it will assemble. And even if it does, the results are
> > unpredictable, other than it will probably ABEND for one reason
> > or another.
> >
> > There are no DCB, OPEN, CLOSE macros while GET and PUT are being
> > used.
> >
> > Me thinks this AI system is confusing a few different assembly
> > languages together. I wonder how close they came for DOS I/O.
> > Steve Thompson
> >
> >
> >
> > On 9/5/2023 11:20 AM, Tom Marchant wrote:
> >> You're right, Tom. That is not a program. Certainly not one that will
> do what it claims to do.
> >>
> >> -- Tom Marchant On Mon, 4 Sep 2023 10:42:51 -0700, Tom Brennan
> >>  wrote:
> >>> I can't be sure I formatted it properly, but after looking over the
> >>> code, I have nothing to say but WTF? 
> >>>
> >>>PRINT NOGEN
> >>>TITLE 'Simple Addition Program'
> >>> ** Define storage for input numbers and result
> >>> *
> >>> NUM1DSFFirst input number
> >>> NUM2DSFSecond input number
> >>> RESULT  DSFResult of addition
> >>> ** Main program
> >>> *
> >>> MAINC  0NUM1  Check if NUM1 is zero
> >>>BEZEROBranch to ZERO if true
> >>> ** Read the first number from input
> >>> *
> >>>GETNUM1,NUMIN  Read NUM1 from input
> >>>LA0,NUM1  Load NUM1 into register
> >>> ** Read the second number from input
> >>> *
> >>>GETNUM2,NUMIN  Read NUM2 from input
> >>>A  NUM1,NUM2  Add NUM1 and NUM2
> >>>STNUM1,RESULTStore the result in RESULT
> >>> ** Print the result
> >>> *
> >>>PUTRESULT,NUMOUT  Print the result
> >>> ** Terminate the program
> >>> *
> >>>SR15,15  Set return code to 0
> >>>BR14  Return to caller
> >>> ** Define input and output areas
> >>> *
> >>> NUMINDCF'0'  Input buffer for numbers
> >>> NUMOUT  DCF'0'  Output buffer for result
> >>> ZERODCF'0'  Constant zero
> >>>END  MAINEnd of program
> >> --
> >> For IBM-MAIN subscribe / signoff / archive access instructions,
> >> send email tolists...@listserv.ua.edu  with the message: INFO IBM-MAIN
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
> >
> >
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is SMP/E needed for installs?

2023-09-05 Thread Andrew Rowley

On 6/09/2023 7:34 am, Phil Smith III wrote:

To recap, the goal here is just to make our SMP/E installation as easy as 
possible for the increasing number of customers for whom it seems to be a 
mystery. Yes, that's worrisome; no, I can't fix it. What I can do is try to 
keep them from blowing their fingers off as much as possible by making it as 
easy as possible.


IBM's answer to this would be to recommend installing using a portable 
software instance through z/OSMF. That will deliver the whole SMP/E 
environment pre-built, and the customer doesn't need to do any SMP/E for 
installation. They can still install maintenance using SMP/E, and you 
can be reasonably confident that the SMP/E environment is configured 
correctly so they can install maintenance.


There are some downsides (new stuff to learn etc.) but given your goal 
and the fact that IBM is pushing people to z/OSMF installation anyway, 
it's worth considering.


--
Andrew Rowley
Black Hill Software

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bill Johnson
You people are idiots. Chatgpt just came out. Nobody, including me, said it was 
going to replace you today, or tomorrow. But, it will replace you.

Autonomous vehicles are coming too. In fact, they are already on the road. 
Perfect? Not yet. But getting closer daily.

Flying cars are a few decades away. Although flying taxis are closer than you 
think. 

https://www.npr.org/2023/07/01/1185060325/joby-electric-flying-taxi




Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 6:52 PM, Bernd Oppolzer 
 wrote:

It will not work, because almost every single instruction has an error 
or two.
Every programmer with a little bit ASSMBLER experience can see this;
this ChatGPT program has no grasp of instruction formats, DCBs or the 
proper
use of I/O macros. I will not go into the details here ... the ASSEMBLER 
people know
what I'm talking about, and the others are not interested.

Kind regards

Bernd


Am 05.09.2023 um 18:00 schrieb Bill Johnson:
> Why do you doubt it? Is it because you hope it doesn’t? Certainly, one of you 
> assembler geniuses could test it.
>
> Like Mullins said, and others mentioned, most companies that run z/OS don’t 
> need assembler programmers. That numbers in the thousands if not ten 
> thousand. Whereas ISV’s who are the likely users of Assembler programming, 
> number in the hundreds, maybe. So install on Systems Programmers.
>
>
> Sent from Yahoo Mail for iPhone
>
>
> On Tuesday, September 5, 2023, 11:43 AM, Steve Thompson  
> wrote:
>
> I doubt it will assemble. And even if it does, the results are
> unpredictable, other than it will probably ABEND for one reason
> or another.
>
> There are no DCB, OPEN, CLOSE macros while GET and PUT are being
> used.
>
> Me thinks this AI system is confusing a few different assembly
> languages together. I wonder how close they came for DOS I/O.
> Steve Thompson
>
>
>
> On 9/5/2023 11:20 AM, Tom Marchant wrote:
>> You're right, Tom. That is not a program. Certainly not one that will do 
>> what it claims to do.
>>
>> -- Tom Marchant On Mon, 4 Sep 2023 10:42:51 -0700, Tom Brennan
>>  wrote:
>>> I can't be sure I formatted it properly, but after looking over the
>>> code, I have nothing to say but WTF? 
>>>
>>>            PRINT NOGEN
>>>            TITLE 'Simple Addition Program'
>>> ** Define storage for input numbers and result
>>> *
>>> NUM1    DS    F            First input number
>>> NUM2    DS    F            Second input number
>>> RESULT  DS    F            Result of addition
>>> ** Main program
>>> *
>>> MAIN    C      0        NUM1  Check if NUM1 is zero
>>>            BE    ZERO            Branch to ZERO if true
>>> ** Read the first number from input
>>> *
>>>            GET    NUM1,NUMIN      Read NUM1 from input
>>>            LA    0,NUM1          Load NUM1 into register
>>> ** Read the second number from input
>>> *
>>>            GET    NUM2,NUMIN      Read NUM2 from input
>>>            A      NUM1,NUM2      Add NUM1 and NUM2
>>>            ST    NUM1,RESULT    Store the result in RESULT
>>> ** Print the result
>>> *
>>>            PUT    RESULT,NUMOUT  Print the result
>>> ** Terminate the program
>>> *
>>>            SR    15,15          Set return code to 0
>>>            BR    14              Return to caller
>>> ** Define input and output areas
>>> *
>>> NUMIN    DC    F'0'          Input buffer for numbers
>>> NUMOUT  DC    F'0'          Output buffer for result
>>> ZERO    DC    F'0'          Constant zero
>>>            END  MAIN            End of program
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email tolists...@listserv.ua.edu  with the message: INFO IBM-MAIN
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
>
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is SMP/E needed for installs?

2023-09-05 Thread Phil Smith III
Paul Gilmartin wrote:
>Put the mainstream JCL in that same JCLLIB and invoke it with a stub/wrapper 
>INCLUDE.
>(Can INCLUDEs be nested?)
>(I've done similar with Assembler using a script to generate a SYSIN 
>consisting of only
>a single COPY statement.)

Sorry, I'm not grokking this. I have a library that includes the "real" JCL and 
the member with the SET statements. Then I put a third stub in that library 
that does an INCLUDE of both. Doesn't that stub need the same tailoring, to 
name the library? If so, what am I gaining?

>It's dismaying that JCL and many other IBM products provide no way of 
>explicitly
>asserting a default value.

I think you're agreeing with me that there's no workaround?


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bernd Oppolzer
It will not work, because almost every single instruction has an error 
or two.

Every programmer with a little bit ASSMBLER experience can see this;
this ChatGPT program has no grasp of instruction formats, DCBs or the 
proper
use of I/O macros. I will not go into the details here ... the ASSEMBLER 
people know

what I'm talking about, and the others are not interested.

Kind regards

Bernd


Am 05.09.2023 um 18:00 schrieb Bill Johnson:

Why do you doubt it? Is it because you hope it doesn’t? Certainly, one of you 
assembler geniuses could test it.

Like Mullins said, and others mentioned, most companies that run z/OS don’t 
need assembler programmers. That numbers in the thousands if not ten thousand. 
Whereas ISV’s who are the likely users of Assembler programming, number in the 
hundreds, maybe. So install on Systems Programmers.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 11:43 AM, Steve Thompson  wrote:

I doubt it will assemble. And even if it does, the results are
unpredictable, other than it will probably ABEND for one reason
or another.

There are no DCB, OPEN, CLOSE macros while GET and PUT are being
used.

Me thinks this AI system is confusing a few different assembly
languages together. I wonder how close they came for DOS I/O.
Steve Thompson



On 9/5/2023 11:20 AM, Tom Marchant wrote:

You're right, Tom. That is not a program. Certainly not one that will do what 
it claims to do.

-- Tom Marchant On Mon, 4 Sep 2023 10:42:51 -0700, Tom Brennan
 wrote:

I can't be sure I formatted it properly, but after looking over the
code, I have nothing to say but WTF? 

           PRINT NOGEN
           TITLE 'Simple Addition Program'
** Define storage for input numbers and result
*
NUM1    DS    F            First input number
NUM2    DS    F            Second input number
RESULT  DS    F            Result of addition
** Main program
*
MAIN    C      0        NUM1  Check if NUM1 is zero
           BE    ZERO            Branch to ZERO if true
** Read the first number from input
*
           GET    NUM1,NUMIN      Read NUM1 from input
           LA    0,NUM1          Load NUM1 into register
** Read the second number from input
*
           GET    NUM2,NUMIN      Read NUM2 from input
           A      NUM1,NUM2      Add NUM1 and NUM2
           ST    NUM1,RESULT    Store the result in RESULT
** Print the result
*
           PUT    RESULT,NUMOUT  Print the result
** Terminate the program
*
           SR    15,15          Set return code to 0
           BR    14              Return to caller
** Define input and output areas
*
NUMIN    DC    F'0'          Input buffer for numbers
NUMOUT  DC    F'0'          Output buffer for result
ZERO    DC    F'0'          Constant zero
           END  MAIN            End of program

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email tolists...@listserv.ua.edu  with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is the IBM Assembler List still alive

2023-09-05 Thread Bill Johnson
Offering? To me it sounds like there’s no demand or there would actually be 
classes available to select as we write. There’s really nothing scheduled and 
likely won’t be. Because there’s no demand.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 6:38 PM, Bernd Oppolzer 
 wrote:

I offer training classes,
Steve Thompson does.

If a company really wants ASSEMBLER training, they can find it here.


Am 04.09.2023 um 22:35 schrieb Bill Johnson:
> I love how many of you downplay others who don’t do what you do. And act like 
> it’s inferior. Plus, puff yourselves up simply for programming in Assembler. 
> I made a boatload of money in 40+ years performing nearly every task on the 
> mainframe. I can also code in Assembler, just never needed to. Assembler is 
> still dying, as the Assembler listserv attests. Plus, the fact it’s nearly 
> impossible to find a company that offers training classes in it.
>
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is the IBM Assembler List still alive

2023-09-05 Thread Bernd Oppolzer

Hi Peter,

this reminds me of another story ...

some day my customer (a large insurance company here in Germany) asked 
me to talk with their IBM rep,
because we had a severe problem with one of the DB2 components which I 
discovered, and I was asked to
have IBM fix it or otherwise provide a solution of my own (it was in the 
DB2 interface for Batch - CAF - IIRC,
and it used 5 % of the overall CPU in some of our IMS regions simply by 
walking sequentially through

some MVS control blocks chains)

So I called the IBM rep, and the first thing he asked me was: "are you a 
systems programmer"?
and, although I wasn't sure at that time what that means, I said: "yes, 
but why do you want to know?",

and he said: "well, if not, we're not gonna talk with you"

:-)

Kind regards

Bernd


Am 04.09.2023 um 16:23 schrieb Peter Sylvester:

Namen sind Schall und Rauch,

Some parts of the discussion reminds me to Lewis Carroll, Through the 
looking glass.


It reminds me to the citation that that I made in ibmmail descript

https://www.funet.fi/pub/doc/netinfo/EARN/ (There are some other 
gems in that directory).


"song" = "what is your profession."


Peter Sylvester




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is the IBM Assembler List still alive

2023-09-05 Thread Bill Johnson
Sprechen Sie Englische? I never said any such thing. I’m an expert in many IT 
things. But, more a jack of all IT things with an ability to pick up things 
rapidly. And I’ve done everything. Operations, programming, DB2 DBA, DASD 
Admin, consulting, Ops Manager, z/OS “installer”, third party software 
expertise, MQ Admin, IMS DB/DC programming, others. JCL is just one area.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 6:35 PM, Bernd Oppolzer 
 wrote:

So your JCL expertise qualifies you as a systems programmer ... that's 
interesting.

Am 04.09.2023 um 17:57 schrieb Bill Johnson:
> To claim people who don’t code assembler or read dumps aren’t systems 
> programmers is idiotic.
>
> ...
>
> I learned zero JCL in college. I learned and became an expert at EDS. But, 
> college gave me the wherewithal to know how to study and succeed.
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is the IBM Assembler List still alive

2023-09-05 Thread Bernd Oppolzer

I offer training classes,
Steve Thompson does.

If a company really wants ASSEMBLER training, they can find it here.


Am 04.09.2023 um 22:35 schrieb Bill Johnson:

I love how many of you downplay others who don’t do what you do. And act like 
it’s inferior. Plus, puff yourselves up simply for programming in Assembler. I 
made a boatload of money in 40+ years performing nearly every task on the 
mainframe. I can also code in Assembler, just never needed to. Assembler is 
still dying, as the Assembler listserv attests. Plus, the fact it’s nearly 
impossible to find a company that offers training classes in it.




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is the IBM Assembler List still alive

2023-09-05 Thread Bernd Oppolzer
So your JCL expertise qualifies you as a systems programmer ... that's 
interesting.


Am 04.09.2023 um 17:57 schrieb Bill Johnson:

To claim people who don’t code assembler or read dumps aren’t systems 
programmers is idiotic.

...

I learned zero JCL in college. I learned and became an expert at EDS. But, 
college gave me the wherewithal to know how to study and succeed.



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Ray Mullins on Assembler demand.

2023-09-05 Thread Bill Johnson
I agree with Matt that Ray is the man. Exactly why his response was used. And 
he is correct that assembler has become a niche product. Which is exactly what 
I’ve seen for most of my 40+ year career. A slow steady decline.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 1:17 PM, M. Ray Mullins 
 wrote:

Thank you, Matt. I'm humbled. I keep forgetting how long ago that was.

For context - this response was to a specific question regarding 
learning assembler. Basic assembler programming knowledge is a good 
thing to have on your resume, because it gives you the insights to how 
programs work on the platform.

A "cheap" way to learn some assembler basics is to turn on the LIST 
options for the COBOL, C/C++, PL/I, and FORTRAN compilers. You can see 
how language statements get converted to the machine instructions. It's 
very helpful in understanding how COBOL deals with MOVEs with mixed 
USAGE and computational verbs with different USAGE and PIC clauses.

On 2023-09-05 09:37, Matt Hogstrom wrote:
> FWIW, I’ve known Ray for as long as I’ve been programming in Assembler.
> Ray is the man.
>
>
>>> You guys know who Ray Mullins is right?
>>>
>>> Sent from Yahoo Mail for iPhone
>>>
>>> --
>>> For IBM-MAIN subscribe / signoff / archive access instructions,
>>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>>>
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


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 JCL in that same JCLLIB and invoke it with a stub/wrapper 
INCLUDE.
(Can INCLUDEs be nested?)
(I've done similar with Assembler using a script to generate a SYSIN consisting 
of only
a single COPY statement.)

>2. On the SMP/E RECEIVE command, I believe that in 99.44% (or higher) 
>cases, an RPREFIX will be needed. And I can specify this using a variable 
>(now!). In the unlikely event that no RPREFIX is needed, it appears from my 
>testing that you cannot just say
>   RECEIVE SYSMODS RFPREFIX() .
>or, more precisely:
>  RECEIVE SYSMODS RFPREFIX() .
>where  is null. Is that correct? I can handle this via doc and 
>comments, but of course would rather not if there's a way around it.
>
It's dismaying that JCL and many other IBM products provide no way of explicitly
asserting a default value.  Examples:

o There's mo operand of TYPRUN that asserts the default value.

o I encountered a problem with a script-generated DDDEF with
  SECONDARY(0).  It had to be 1 or greater, or the option had
  to be omitted.

o (But COBOL, OTOH, won't use SDB when the programmer omits the
  BLOCK CONTAINS clause.)

o Etc.

-- 
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is SMP/E needed for installs?

2023-09-05 Thread Phil Smith III
Thanks to y'all helping me fumble through this, I have my SMP/E installation 
jobs working with a single INCLUDEd member that sets all the variables.

 

I think I know the answer here, having spent a while reading the docs, but I'll 
still ask about the two remaining nits:

 

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)
2.  On the SMP/E RECEIVE command, I believe that in 99.44% (or higher) 
cases, an RPREFIX will be needed. And I can specify this using a variable 
(now!). In the unlikely event that no RPREFIX is needed, it appears from my 
testing that you cannot just say
   RECEIVE SYSMODS RFPREFIX() .
or, more precisely:
  RECEIVE SYSMODS RFPREFIX() .
where  is null. Is that correct? I can handle this via doc and 
comments, but of course would rather not if there's a way around it.

 

To recap, the goal here is just to make our SMP/E installation as easy as 
possible for the increasing number of customers for whom it seems to be a 
mystery. Yes, that's worrisome; no, I can't fix it. What I can do is try to 
keep them from blowing their fingers off as much as possible by making it as 
easy as possible.

 

Thanks,

...phsiii


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Ray Mullins on Assembler demand.

2023-09-05 Thread Farley, Peter
FWIW, there ARE a few of us still out here in application programming land who 
are still supporting and updating assembler application code.  Sometimes it is 
a conversion to COBOL, to be sure, but many parts are stubbornly stuck where 
they are in assembler and need to be updated as such for valid business reasons.

I am one of those who first learned machine and assembler programming by 
carefully studying the LIST option output of the HLL compilers we used at the 
time, along with the assembler manuals.

Being able to read and understand the LIST output was very, very important for 
dump debugging when I started in this business about 630 months ago.

Peter

From: IBM Mainframe Discussion List  On Behalf Of Bob 
Bridges
Sent: Tuesday, September 5, 2023 5:01 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Ray Mullins on Assembler demand.


-Original Message-

From: IBM Mainframe Discussion List 
mailto:IBM-MAIN@LISTSERV.UA.EDU>> On Behalf Of Tom 
Brennan

Sent: Tuesday, September 5, 2023 12:58



TB> The instructions, registers, etc. are not that difficult to learn.  It's 
the macros, control blocks, subsystems, interrupts, memory layout, SVC's, (and 
I could go on and on) that can be the real value in doing ASM programming.  If 
you're going to be a developer, or even installation sysprog, all that is 
important.  Even when a C or Java or COBOL program fails, knowing how things 
work at the bottom can be the key to solving the issue.



RHB> Reminds me of what I say about VBA.  The language is easy, but getting 
useful in it requires knowledge of the object model of the app you're writing 
for (Excel, Access or whatever).  That takes longer.  Come to think of it I 
guess it's true of ~any~ oo language.





TB> Skip Robinson once told me he started as an ASM application programmer.  
But I'll bet he was pretty-much the last one :)



RHB> Not ENTIRELY the last one.  I worked with an assembler programmer in, 
let's see, that would be 2012.  I didn't think much of his debugging, but he 
was impressively competent when given clear instructions on the algorithm we 
needed.



---

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Legal Problems with ChatGPT [Was Re: Simple request from chatGPT to write assembler program.]

2023-09-05 Thread Steve Thompson
Here is a take-off on the forbes article which is from the Legal 
Ethics Law 360 email list (I also get the transportation law 
stuff too):



Insurance Coverage For ChatGPT Legal Fiasco: A Hypothetical 



William Passannante at Anderson Kill draws on the recent case of 
an attorney sanctioned by the Southern District of New York for 
submitting a ChatGPT-authored brief to discuss what the insurance 
coverage for the attorney's hypothetical claim might look like.



And I think this is the original case:


Attys Behind ChatGPT Fiasco Apologize To Client, 7 Judges 



By Hailey Konnath

A pair of New York personal injury attorneys apologized Wednesday 
to seven federal and state judges and to a client for submitting 
a brief prepared by artificial intelligence that cited 
nonexistent case law attributed to the judges, according to 
copies of the letters filed in Manhattan federal court.


And there are now other articles over whether or not chatGPT can 
defame a person or something like that... And something about the 
case being remanded.. (my head hurts).



Steve Thompson



On 9/5/2023 5:11 PM, Mike Schwab wrote:

https://www.forbes.com/sites/mollybohannon/2023/06/08/lawyer-used-chatgpt-in-court-and-cited-fake-cases-a-judge-is-considering-sanctions/

On Tue, Sep 5, 2023 at 4:03 PM Bob Bridges  wrote:

Can't remember whether I read about it here or somewhere else, but apparently 
there was a recent episode in which a lawyer got an AI machine to write a legal 
brief for him.  It looked impressive, but it turned out the precedents the 
brief cited didn't exist; the AI made them up.  The judge fined the lawyer.

---
Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313

/* The most important fundamental laws and facts of physical science have all 
been discovered, and these are now so firmly established that the possibility 
of their ever being supplemented in consequence of new discoveries is 
exceedingly remote.  -Abraham Albert Michelson in 1903 */

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Dean Kent
Sent: Tuesday, September 5, 2023 12:46

I spent a bit of time playing with chatGPT to see what it could do.   So did my 
two sons - one an MS in biotech, the other a PhD in theoretical physics.We 
all came to the same conclusion - chatGPT is a very, very good Google search 
that can filter many different possible 'answers' and come to one that is 'most 
likely' based on various factors.  It has little to no creativity or 
understanding of what it is asked to do. Not surprising, but different than 
what the popular press seems to say about it.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN





--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Mike Schwab
https://www.forbes.com/sites/mollybohannon/2023/06/08/lawyer-used-chatgpt-in-court-and-cited-fake-cases-a-judge-is-considering-sanctions/

On Tue, Sep 5, 2023 at 4:03 PM Bob Bridges  wrote:
>
> Can't remember whether I read about it here or somewhere else, but apparently 
> there was a recent episode in which a lawyer got an AI machine to write a 
> legal brief for him.  It looked impressive, but it turned out the precedents 
> the brief cited didn't exist; the AI made them up.  The judge fined the 
> lawyer.
>
> ---
> Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313
>
> /* The most important fundamental laws and facts of physical science have all 
> been discovered, and these are now so firmly established that the possibility 
> of their ever being supplemented in consequence of new discoveries is 
> exceedingly remote.  -Abraham Albert Michelson in 1903 */
>
> -Original Message-
> From: IBM Mainframe Discussion List  On Behalf Of 
> Dean Kent
> Sent: Tuesday, September 5, 2023 12:46
>
> I spent a bit of time playing with chatGPT to see what it could do.   So did 
> my two sons - one an MS in biotech, the other a PhD in theoretical physics.   
>  We all came to the same conclusion - chatGPT is a very, very good Google 
> search that can filter many different possible 'answers' and come to one that 
> is 'most likely' based on various factors.  It has little to no creativity or 
> understanding of what it is asked to do. Not surprising, but different than 
> what the popular press seems to say about it.
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN



-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Steve Thompson
Nutz, I gave away that the code might assemble and run under 
VSE Oh the horrors of it all!!


Does this mean that Person of Interest is really true?

;-)

Steve Thompson


On 9/5/2023 4:45 PM, Tom Brennan wrote:
Quiet!! ChatGPT does this on purpose so it can read responses 
and get ASM training from us puny humans :)


On 9/5/2023 1:06 PM, Tom Marchant wrote:

Nor does it know how to code instructions.

I don't know what this should be, but it isn't adequateor 
correct:

MAIN C  0    NUM1   Check if NUM1 is zero


ZERO is not a label on code:

  BE ZERO    Branch to ZERO if true


NUM1 is not a DCB address

  GET    NUM1,NUMIN  Read NUM1 from input


Wrong:

  LA 0,NUM1  Load NUM1 into register


NUM2 is not a DCB address:

 GET    NUM2,NUMIN  Read NUM2 from input


NUM1 is not a register number:

  A  NUM1,NUM2   Add NUM1 and NUM2
  ST NUM1,RESULT Store the result in RESULT


RESULT is not a DCB address:

  PUT    RESULT,NUMOUT   Print the result




-- 


For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO 
IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bob Bridges
Can't remember whether I read about it here or somewhere else, but apparently 
there was a recent episode in which a lawyer got an AI machine to write a legal 
brief for him.  It looked impressive, but it turned out the precedents the 
brief cited didn't exist; the AI made them up.  The judge fined the lawyer.

---
Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313

/* The most important fundamental laws and facts of physical science have all 
been discovered, and these are now so firmly established that the possibility 
of their ever being supplemented in consequence of new discoveries is 
exceedingly remote.  -Abraham Albert Michelson in 1903 */

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Dean Kent
Sent: Tuesday, September 5, 2023 12:46

I spent a bit of time playing with chatGPT to see what it could do.   So did my 
two sons - one an MS in biotech, the other a PhD in theoretical physics.We 
all came to the same conclusion - chatGPT is a very, very good Google search 
that can filter many different possible 'answers' and come to one that is 'most 
likely' based on various factors.  It has little to no creativity or 
understanding of what it is asked to do. Not surprising, but different than 
what the popular press seems to say about it.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Ray Mullins on Assembler demand.

2023-09-05 Thread Bob Bridges
-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of Tom 
Brennan
Sent: Tuesday, September 5, 2023 12:58

TB> The instructions, registers, etc. are not that difficult to learn.  It's 
the macros, control blocks, subsystems, interrupts, memory layout, SVC's, (and 
I could go on and on) that can be the real value in doing ASM programming.  If 
you're going to be a developer, or even installation sysprog, all that is 
important.  Even when a C or Java or COBOL program fails, knowing how things 
work at the bottom can be the key to solving the issue.

RHB> Reminds me of what I say about VBA.  The language is easy, but getting 
useful in it requires knowledge of the object model of the app you're writing 
for (Excel, Access or whatever).  That takes longer.  Come to think of it I 
guess it's true of ~any~ oo language.


TB> Skip Robinson once told me he started as an ASM application programmer.  
But I'll bet he was pretty-much the last one :)

RHB> Not ENTIRELY the last one.  I worked with an assembler programmer in, 
let's see, that would be 2012.  I didn't think much of his debugging, but he 
was impressively competent when given clear instructions on the algorithm we 
needed.

---
Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313

/* If the Earth were flat, cats would have pushed everything off it by now. */

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Tom Brennan
Quiet!!  ChatGPT does this on purpose so it can read responses and get 
ASM training from us puny humans :)


On 9/5/2023 1:06 PM, Tom Marchant wrote:

Nor does it know how to code instructions.

I don't know what this should be, but it isn't adequateor correct:

MAIN C  0NUM1   Check if NUM1 is zero


ZERO is not a label on code:

  BE ZEROBranch to ZERO if true


NUM1 is not a DCB address

  GETNUM1,NUMIN  Read NUM1 from input


Wrong:

  LA 0,NUM1  Load NUM1 into register


NUM2 is not a DCB address:

 GETNUM2,NUMIN  Read NUM2 from input


NUM1 is not a register number:

  A  NUM1,NUM2   Add NUM1 and NUM2
  ST NUM1,RESULT Store the result in RESULT


RESULT is not a DCB address:

  PUTRESULT,NUMOUT   Print the result




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Wayne Bickerdike
ChatGPT could have written the requirement in PL/I, compiled and produced
the Assembler listing. The Assembler generated would work, albeit
incredibly wordy.

It does appear that the PUT macro was confused usage of a PL/I PUT
statement.

No conversion attempted to get from full word to a displayable format (CVD,
UNPK).



On Wed, Sep 6, 2023 at 6:06 AM Tom Marchant <
000a2a8c2020-dmarc-requ...@listserv.ua.edu> wrote:

> Nor does it know how to code instructions.
>
> I don't know what this should be, but it isn't adequateor correct:
> >MAIN C  0NUM1   Check if NUM1 is zero
>
> ZERO is not a label on code:
> >  BE ZEROBranch to ZERO if true
>
> NUM1 is not a DCB address
> >  GETNUM1,NUMIN  Read NUM1 from input
>
> Wrong:
> >  LA 0,NUM1  Load NUM1 into register
>
> NUM2 is not a DCB address:
> > GETNUM2,NUMIN  Read NUM2 from input
>
> NUM1 is not a register number:
> >  A  NUM1,NUM2   Add NUM1 and NUM2
> >  ST NUM1,RESULT Store the result in RESULT
>
> RESULT is not a DCB address:
> >  PUTRESULT,NUMOUT   Print the result
>
> --
> Tom Marchant
>
> On Tue, 5 Sep 2023 14:10:20 -0400, David Spiegel 
> wrote:
>
> >Hi Tom,
> >It looks like ChatGPT is not aware of "Housekeeping".
> >
> >Regards,
> >David
> >
> >On 2023-09-05 13:47, Tom Brennan wrote:
> >> GET and PUT use R14, so as Tom Marchant said, if the program managed
> >> to get that far it would never return to the OS.
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>


-- 
Wayne V. Bickerdike

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Tom Marchant
Nor does it know how to code instructions.

I don't know what this should be, but it isn't adequateor correct:
>MAIN C  0NUM1   Check if NUM1 is zero

ZERO is not a label on code:
>  BE ZEROBranch to ZERO if true

NUM1 is not a DCB address
>  GETNUM1,NUMIN  Read NUM1 from input

Wrong:
>  LA 0,NUM1  Load NUM1 into register

NUM2 is not a DCB address:
> GETNUM2,NUMIN  Read NUM2 from input

NUM1 is not a register number:
>  A  NUM1,NUM2   Add NUM1 and NUM2
>  ST NUM1,RESULT Store the result in RESULT

RESULT is not a DCB address:
>  PUTRESULT,NUMOUT   Print the result

-- 
Tom Marchant

On Tue, 5 Sep 2023 14:10:20 -0400, David Spiegel  
wrote:

>Hi Tom,
>It looks like ChatGPT is not aware of "Housekeeping".
>
>Regards,
>David
>
>On 2023-09-05 13:47, Tom Brennan wrote:
>> GET and PUT use R14, so as Tom Marchant said, if the program managed
>> to get that far it would never return to the OS.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: HMC Splash screen

2023-09-05 Thread Radoslaw Skorupka

To be honest I use to put poems in the Welcome Text window. :-)
And HMC name on the background (of course it is also visible in the 
browser window title)


--
Radoslaw Skorupka
Lodz, Poland



W dniu 05.09.2023 o 16:21, rpinion865 pisze:

You have to logon as an administrator.  Select HMC Management, followed by the 
Create Welcome Text option.
Lastly, if you put something in the Classification box, that will be the 
background for the Welcome screen.




Sent with Proton Mail secure email.

--- Original Message ---
On Tuesday, September 5th, 2023 at 10:10 AM, Patrick Loftus 
 wrote:



Never seen an option to do thatwhere is it?

-Original Message-
From: IBM Mainframe Discussion List IBM-MAIN@LISTSERV.UA.EDU On Behalf Of 
rpinion865

Sent: Tuesday, September 5, 2023 3:08 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: HMC Splash screen

Never mind we found where to change it!




Sent with Proton Mail secure email.


--- Original Message ---
On Tuesday, September 5th, 2023 at 9:42 AM, rpinion865 
042a019916dd-dmarc-requ...@listserv.ua.edu wrote:




We would like to change the DR HMC splash screen. How can this be done?

Sent with Proton Mail secure email.




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Steve Thompson
And so we can now understand that when a paralegal or newly 
minted attorney uses it to find case law for points and 
authorities, it will will make them up to match what was being 
searched for when it prepares a motion it was asked for using the 
results of the search.


And some attorneys got a judge quite angry with them when they 
didn't tell the court this, but the opposing council pointed out 
they could not find any such case listed in the pleadings/motion. 
Then the judge's people also could not find same This is the 
kind of thing that concerns me about AI today. Once it has been 
taught enough to learn on its own


Steve Thompson

On 9/5/2023 12:46 PM, Dean Kent wrote:
I spent a bit of time playing with chatGPT to see what it could 
do.   So did my two sons - one an MS in biotech, the other a 
PhD in theoretical physics.    We all came to the same 
conclusion - chatGPT is a very, very good Google search that 
can filter many different possible 'answers' and come to one 
that is 'most likely' based on various factors.  It has little 
to no creativity or understanding of what it is asked to do.   
Not surprising, but different than what the popular press seems 
to say about it.


One of my questions was to write a simple sort routine in 
HLASM. It came back with a template containing the entry/exit 
code, and then a comment *insert sort routine here*.    After 
doing that with many different simple tasks, I came to the 
conclusion that the problem chatGPT has with assembler (but not 
with C, Python, Java, etc.) is that there are so few searchable 
examples of code in assembler.    So the quality of the 
results, for any question, depends upon what exists out on the 
Internet.   Again, not surprising.


As another example, I have an interest in what is called 
'historical analysis'.   There are a number of books on the 
subject, so I asked chatGPT to compare/contrast two of the 
books.   Then two other books, etc.    In literally every case 
it came back with the same introductory text and conclusion - 
but inserted a couple of paragraphs that was similar to a book 
review for each book and compared the 'differences'.   Not very 
impressed.


My PhD son uses it to find obscure hypotheses and formulas that 
would otherwise require a great many hours (or days) of 
searching.   My MS son uses it in a similar fashion to ferret 
out alternative options for the various cell growing and 
protein extraction for his job.   A very useful tool, but not 
yet SkyNet...


YMMV.

On 9/5/2023 9:36 AM, Bill Johnson wrote:
We are all retired. The other 2 went before me. I went in 
July 2022. You’re an idiot regardless. What are you afraid of? 
That a computer can do what you do? That your “skills” aren’t 
all that impressive and can be automated away?



Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 12:25 PM, David Spiegel 
<0468385049d1-dmarc-requ...@listserv.ua.edu> wrote:


Hi Bill,
I have a better idea.
Why don't you and the 2 buddies who helped you modify the 
IEFUSI fix it?
Probably because you don't have the wherewithal (even with 2 
helpers).


Regards,
David

On 2023-09-05 12:04, Bill Johnson wrote:
Lol, how about going to chatgpt and asking the same question. 
So that cut and paste isn’t a factor.



Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 12:02 PM, David Spiegel 
<0468385049d1-dmarc-requ...@listserv.ua.edu> wrote:


Hi Steve,
It won't. The first executable statement is missing a comma 
between

operands.

Regards,
David

On 2023-09-05 11:43, Steve Thompson wrote:

I doubt it will assemble. And even if it does, the results are
unpredictable, other than it will probably ABEND for one 
reason or

another.

There are no DCB, OPEN, CLOSE macros while GET and PUT are 
being used.


Me thinks this AI system is confusing a few different assembly
languages together. I wonder how close they came for DOS I/O.
Steve Thompson



On 9/5/2023 11:20 AM, Tom Marchant wrote:
You're right, Tom. That is not a program. Certainly not one 
that will

do what it claims to do.

-- Tom Marchant On Mon, 4 Sep 2023 10:42:51 -0700, Tom Brennan
 wrote:
I can't be sure I formatted it properly, but after looking 
over the

code, I have nothing to say but WTF? 

     PRINT NOGEN
     TITLE 'Simple Addition Program'
** Define storage for input numbers and result
*
NUM1 DS    F First input number
NUM2 DS    F Second input number
RESULT   DS    F Result of addition
** Main program
*
MAIN C  0    NUM1   Check if NUM1 is zero
     BE ZERO    Branch to ZERO if true
** Read the first number from input
*
     GET    NUM1,NUMIN  Read NUM1 from input
     LA 0,NUM1  Load NUM1 into register
** Read the second number from input
*
     GET    NUM2,NUMIN  Read NUM2 from input
     A  NUM1,NUM2   Add NUM1 and NUM2
     ST 

Re: Free ZOWE Class

2023-09-05 Thread suresh chacko
Dear Lionel

Thanks for the share.

Regards,
Suresh

On Tue, Sep 5, 2023, 5:14 PM Lionel B. Dyck  wrote:

> Just ran across this - y'all (or some) may be interested:
>
> Free Zowe course and OMP digital badge from Interskill and the Open
> Mainframe Project. Enjoy!
>
> https://interskill.com/zowe/
>
>
> Lionel B. Dyck <><
> Website: https://www.lbdsoftware.com
> Github: https://github.com/lbdyck
>
> “Worry more about your character than your reputation. Character is what
> you
> are, reputation merely what others think you are.”   - - - John Wooden
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


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:
>> Hi Tom,
>> It looks like ChatGPT is not aware of "Housekeeping".
>>
Compare to (with no macros) and no formatting problem:
Sender:  IBM Mainframe Assembler List 
Subject: ChatGPT "knows" HLASM
From:  John McKown
Date:  Thu, 1 Jun 2023 12:39:34 -0500

Back when ASSEMBLER-LIST was alive.
-- 
gil 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Tom Brennan
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:

Hi Tom,
It looks like ChatGPT is not aware of "Housekeeping".

Regards,
David

On 2023-09-05 13:47, Tom Brennan wrote:
GET and PUT use R14, so as Tom Marchant said, if the program managed 
to get that far it would never return to the OS.


On 9/5/2023 10:21 AM, Paul Gilmartin wrote:

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 to 0
   BR 14  Return to caller




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Ray Mullins on Assembler demand.

2023-09-05 Thread M. Ray Mullins (Ray)
That’s the name in SAMPLIB, interestingly. The source is IEEACTRT, but it’s 
used to create IEFACTRT. Maybe it was written by console staff decades ago? 

Sent from my iPhone

> On Sep 5, 2023, at 11:08, David Spiegel 
> <0468385049d1-dmarc-requ...@listserv.ua.edu> wrote:
> 
> Hi Ray,
> You said: "... SAMPLIB(IEEACTRT) ..."
> Don't you mean SAMPLIB(SMFEXITS) //IEFACTRT?
> (IEEx is Console-related; IEFx is SMF-related)
> 
> Regards,
> David
> 
>> On 2023-09-05 13:23, M. Ray Mullins wrote:
>> There's a bit of context that is lost here. I purposely said "invisible 
>> hand", playing on the imagery. But just because that's what the owner of the 
>> "invisible hand" wants doesn't necessarily mean that's happening.
>> 
>> Metal C in a JES2 environment is extremely difficult to implement, which is 
>> why you're now seeing the JES2 policy direction. IMHO if IBM had provided 
>> Metal C PROLOG/EPILOG for JES2 and z/OS exits, as well as APIs covering the 
>> common macros*, I think would have seen more Metal C take-up. I presented a 
>> few times at SHARE about converting SAMPLIB(IEEACTRT) to Metal C. I 
>> originally envisioned it as a "how-to", but it became instead a user 
>> experience, as my experience was mixed.
>> 
>>> On 2023-09-05 09:39, Bill Johnson wrote:
>>> Metal C, exactly what Mullins said is replacing assembler. In the end, my 
>>> contention in the beginning is proving truer by the day. And you’re right, 
>>> assembler isn’t that hard to learn and not hard to replace,
>>> 
>>> 
>>> Sent from Yahoo Mail for iPhone
>>> 
>>> 
 On Tuesday, September 5, 2023, 12:36 PM, Matt Hogstrom  
 wrote:
>>> 
>>> My take is that Assembler is just a language and honestly I don’t think its
>>> all that hard to learn.  What it does require is more understanding of the
>>> OS and the ability to setup for calls to other services.
>>> 
>>> The higher languages simply obscure, or encapsulate, those low level
>>> services.
>>> 
>>> I use Metal C for new code as it is more easily understood by developers.
>>> That said, there are times for pure assembler code and I enjoy it.  I
>>> started out as a batch assembler programmer but I was drawn to understand
>>> the OS and its structure.  Assembler was the way to interface and now there
>>> are other options.
>>> 
>>> As an ISV we want Assembler programmers.  In a business, I’d focus on the
>>> languages that the market understands.  The important thing is to not be
>>> religious about a language.  Its just a tool.
>>> 
 On Tue, Sep 5, 2023 at 08:22 David Elliot  wrote:
>>> 
 Very little from what I see. What little
there is is stupid stuff like reverse engineering code so that the 
 client
 can rewrite it in JAVA or whatever the language of the day is.
 
>>> 
>> 
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread David Spiegel

Hi Tom,
It looks like ChatGPT is not aware of "Housekeeping".

Regards,
David

On 2023-09-05 13:47, Tom Brennan wrote:
GET and PUT use R14, so as Tom Marchant said, if the program managed 
to get that far it would never return to the OS.


On 9/5/2023 10:21 AM, Paul Gilmartin wrote:

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 to 0
   BR 14  Return to caller




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Ray Mullins on Assembler demand.

2023-09-05 Thread David Spiegel

Hi Ray,
You said: "... SAMPLIB(IEEACTRT) ..."
Don't you mean SAMPLIB(SMFEXITS) //IEFACTRT?
(IEEx is Console-related; IEFx is SMF-related)

Regards,
David

On 2023-09-05 13:23, M. Ray Mullins wrote:
There's a bit of context that is lost here. I purposely said 
"invisible hand", playing on the imagery. But just because that's what 
the owner of the "invisible hand" wants doesn't necessarily mean 
that's happening.


Metal C in a JES2 environment is extremely difficult to implement, 
which is why you're now seeing the JES2 policy direction. IMHO if IBM 
had provided Metal C PROLOG/EPILOG for JES2 and z/OS exits, as well as 
APIs covering the common macros*, I think would have seen more Metal C 
take-up. I presented a few times at SHARE about converting 
SAMPLIB(IEEACTRT) to Metal C. I originally envisioned it as a 
"how-to", but it became instead a user experience, as my experience 
was mixed.


On 2023-09-05 09:39, Bill Johnson wrote:
Metal C, exactly what Mullins said is replacing assembler. In the 
end, my contention in the beginning is proving truer by the day. And 
you’re right, assembler isn’t that hard to learn and not hard to 
replace,



Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 12:36 PM, Matt Hogstrom 
 wrote:


My take is that Assembler is just a language and honestly I don’t 
think its
all that hard to learn.  What it does require is more understanding 
of the

OS and the ability to setup for calls to other services.

The higher languages simply obscure, or encapsulate, those low level
services.

I use Metal C for new code as it is more easily understood by 
developers.

That said, there are times for pure assembler code and I enjoy it.  I
started out as a batch assembler programmer but I was drawn to 
understand
the OS and its structure.  Assembler was the way to interface and now 
there

are other options.

As an ISV we want Assembler programmers.  In a business, I’d focus on 
the

languages that the market understands.  The important thing is to not be
religious about a language.  Its just a tool.

On Tue, Sep 5, 2023 at 08:22 David Elliot  wrote:


Very little from what I see. What little
   there is is stupid stuff like reverse engineering code so that 
the client

can rewrite it in JAVA or whatever the language of the day is.





--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


IBM download server IP address changes, SMP/E RECEIVE ORDER and HOLDDATA

2023-09-05 Thread Kurt Quackenbush
If you manually download IBM's HOLDDATA file, are a user of SMP/E RECEIVE 
ORDER, or download Shopz software product or PTF orders, take note of the IP 
address changes for IBM's download servers:
https://www.ibm.com/support/pages/node/7025419

These changes are scheduled for October 20, so do not remove the current IP 
addresses from your firewall settings too soon.

Kurt Quackenbush
IBM  |  z/OS SMP/E and z/OSMF Software Management  |  
ku...@us.ibm.com

Chuck Norris never uses CHECK when he applies PTFs.




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Tom Brennan
GET and PUT use R14, so as Tom Marchant said, if the program managed to 
get that far it would never return to the OS.


On 9/5/2023 10:21 AM, Paul Gilmartin wrote:

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 to 0
   BR 14  Return to caller




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Ray Mullins on Assembler demand.

2023-09-05 Thread M. Ray Mullins
There's a bit of context that is lost here. I purposely said "invisible 
hand", playing on the imagery. But just because that's what the owner of 
the "invisible hand" wants doesn't necessarily mean that's happening.


Metal C in a JES2 environment is extremely difficult to implement, which 
is why you're now seeing the JES2 policy direction. IMHO if IBM had 
provided Metal C PROLOG/EPILOG for JES2 and z/OS exits, as well as APIs 
covering the common macros*, I think would have seen more Metal C 
take-up. I presented a few times at SHARE about converting 
SAMPLIB(IEEACTRT) to Metal C. I originally envisioned it as a "how-to", 
but it became instead a user experience, as my experience was mixed.


On 2023-09-05 09:39, Bill Johnson wrote:

Metal C, exactly what Mullins said is replacing assembler. In the end, my 
contention in the beginning is proving truer by the day. And you’re right, 
assembler isn’t that hard to learn and not hard to replace,


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 12:36 PM, Matt Hogstrom  
wrote:

My take is that Assembler is just a language and honestly I don’t think its
all that hard to learn.  What it does require is more understanding of the
OS and the ability to setup for calls to other services.

The higher languages simply obscure, or encapsulate, those low level
services.

I use Metal C for new code as it is more easily understood by developers.
That said, there are times for pure assembler code and I enjoy it.  I
started out as a batch assembler programmer but I was drawn to understand
the OS and its structure.  Assembler was the way to interface and now there
are other options.

As an ISV we want Assembler programmers.  In a business, I’d focus on the
languages that the market understands.  The important thing is to not be
religious about a language.  Its just a tool.

On Tue, Sep 5, 2023 at 08:22 David Elliot  wrote:


Very little from what I see. What little
   there is is stupid stuff like reverse engineering code so that the client
can rewrite it in JAVA or whatever the language of the day is.





--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


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 to 0
   BR 14  Return to caller

-- 
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Ray Mullins on Assembler demand.

2023-09-05 Thread M. Ray Mullins

Thank you, Matt. I'm humbled. I keep forgetting how long ago that was.

For context - this response was to a specific question regarding 
learning assembler. Basic assembler programming knowledge is a good 
thing to have on your resume, because it gives you the insights to how 
programs work on the platform.


A "cheap" way to learn some assembler basics is to turn on the LIST 
options for the COBOL, C/C++, PL/I, and FORTRAN compilers. You can see 
how language statements get converted to the machine instructions. It's 
very helpful in understanding how COBOL deals with MOVEs with mixed 
USAGE and computational verbs with different USAGE and PIC clauses.


On 2023-09-05 09:37, Matt Hogstrom wrote:

FWIW, I’ve known Ray for as long as I’ve been programming in Assembler.
Ray is the man.



You guys know who Ray Mullins is right?

Sent from Yahoo Mail for iPhone

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


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.

But plenty other things are wrong.  Is it at least syntactically valid with?  
It has
addressability problems.  It's better than I'd expect if chatGPT has no system 
to test on.

>...
>>*
>>NUM1 DSF First input number
>>...
>>  GETNUM1,NUMIN  Read NUM1 from input
>>...
>>NUMINDCF'0'   Input buffer for numbers

-- 
gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Ray Mullins on Assembler demand.

2023-09-05 Thread Matt Hogstrom
Yup.  Context is King.  People talk about languages like Java, etc.  The real 
question in my opinion is what Runtime?  CICS, IMS, WebSphere, …   Language is 
only part of the equation; where it runs is the key.

Matt Hogstrom
PGP key 0F143BC1

> On Sep 5, 2023, at 10:58, Tom Brennan  wrote:
> 
> The instructions, registers, etc. are not that difficult to learn.  It's the 
> macros, control blocks, subsystems, interrupts, memory layout, SVC's, (and I 
> could go on and on) that can be the real value in doing ASM programming.
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Matt Hogstrom
Concur Dean.  Its power is that it can search all of its processed content fast 
and give a reasonable response that people can read.  

I think the real threat from AI is bad actors that use that data for nefarious 
purposes.  All tech that we have can be used for good or evil.  The problem is 
that bad actors will use the tech for their purposes.  Its no different than 
cars, chainsaw or firearms.  People can use them for good or not.   It’s no the 
tech; it’s the people.

Yes, it sucks at writing HLASM for the reasons you outlined.  Not enough 
examples or context out there.

Matt Hogstrom
PGP key 0F143BC1

> On Sep 5, 2023, at 10:50, Dean Kent  wrote:
> 
> YMMV.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Ray Mullins on Assembler demand.

2023-09-05 Thread Tom Brennan
Exactly.  The instructions, registers, etc. are not that difficult to 
learn.  It's the macros, control blocks, subsystems, interrupts, memory 
layout, SVC's, (and I could go on and on) that can be the real value in 
doing ASM programming.  If you're going to be a developer, or even 
installation sysprog, all that is important.  Even when a C or Java or 
COBOL program fails, knowing how things work at the bottom can be the 
key to solving the issue.


I get the feeling Bill is equating ASM programming with application 
programming (i.e. look at the sample he supplied).  Skip Robinson once 
told me he started as an ASM application programmer.  But I'll bet he 
was pretty-much the last one :)


On 9/5/2023 9:36 AM, Matt Hogstrom wrote:

My take is that Assembler is just a language and honestly I don’t think its
all that hard to learn.  What it does require is more understanding of the
OS and the ability to setup for calls to other services.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Dean Kent
I spent a bit of time playing with chatGPT to see what it could do.   So 
did my two sons - one an MS in biotech, the other a PhD in theoretical 
physics.    We all came to the same conclusion - chatGPT is a very, very 
good Google search that can filter many different possible 'answers' and 
come to one that is 'most likely' based on various factors.  It has 
little to no creativity or understanding of what it is asked to do.   
Not surprising, but different than what the popular press seems to say 
about it.


One of my questions was to write a simple sort routine in HLASM. It came 
back with a template containing the entry/exit code, and then a comment 
*insert sort routine here*.    After doing that with many different 
simple tasks, I came to the conclusion that the problem chatGPT has with 
assembler (but not with C, Python, Java, etc.) is that there are so few 
searchable examples of code in assembler.    So the quality of the 
results, for any question, depends upon what exists out on the 
Internet.   Again, not surprising.


As another example, I have an interest in what is called 'historical 
analysis'.   There are a number of books on the subject, so I asked 
chatGPT to compare/contrast two of the books.   Then two other books, 
etc.    In literally every case it came back with the same introductory 
text and conclusion - but inserted a couple of paragraphs that was 
similar to a book review for each book and compared the 'differences'.   
Not very impressed.


My PhD son uses it to find obscure hypotheses and formulas that would 
otherwise require a great many hours (or days) of searching.   My MS son 
uses it in a similar fashion to ferret out alternative options for the 
various cell growing and protein extraction for his job.   A very useful 
tool, but not yet SkyNet...


YMMV.

On 9/5/2023 9:36 AM, Bill Johnson wrote:

We are all retired. The other 2 went before me. I went in July 2022. You’re an 
idiot regardless. What are you afraid of? That a computer can do what you do? 
That your “skills” aren’t all that impressive and can be automated away?


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 12:25 PM, David Spiegel 
<0468385049d1-dmarc-requ...@listserv.ua.edu> wrote:

Hi Bill,
I have a better idea.
Why don't you and the 2 buddies who helped you modify the IEFUSI fix it?
Probably because you don't have the wherewithal (even with 2 helpers).

Regards,
David

On 2023-09-05 12:04, Bill Johnson wrote:

Lol, how about going to chatgpt and asking the same question. So that cut and 
paste isn’t a factor.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 12:02 PM, David Spiegel 
<0468385049d1-dmarc-requ...@listserv.ua.edu> wrote:

Hi Steve,
It won't. The first executable statement is missing a comma between
operands.

Regards,
David

On 2023-09-05 11:43, Steve Thompson wrote:

I doubt it will assemble. And even if it does, the results are
unpredictable, other than it will probably ABEND for one reason or
another.

There are no DCB, OPEN, CLOSE macros while GET and PUT are being used.

Me thinks this AI system is confusing a few different assembly
languages together. I wonder how close they came for DOS I/O.
Steve Thompson



On 9/5/2023 11:20 AM, Tom Marchant wrote:

You're right, Tom. That is not a program. Certainly not one that will
do what it claims to do.

-- Tom Marchant On Mon, 4 Sep 2023 10:42:51 -0700, Tom Brennan
 wrote:

I can't be sure I formatted it properly, but after looking over the
code, I have nothing to say but WTF? 

     PRINT NOGEN
     TITLE 'Simple Addition Program'
** Define storage for input numbers and result
*
NUM1 DS    F First input number
NUM2 DS    F Second input number
RESULT   DS    F Result of addition
** Main program
*
MAIN C  0    NUM1   Check if NUM1 is zero
     BE ZERO    Branch to ZERO if true
** Read the first number from input
*
     GET    NUM1,NUMIN  Read NUM1 from input
     LA 0,NUM1  Load NUM1 into register
** Read the second number from input
*
     GET    NUM2,NUMIN  Read NUM2 from input
     A  NUM1,NUM2   Add NUM1 and NUM2
     ST NUM1,RESULT Store the result in RESULT
** Print the result
*
     PUT    RESULT,NUMOUT   Print the result
** Terminate the program
*
     SR 15,15   Set return code to 0
     BR 14  Return to caller
** Define input and output areas
*
NUMIN    DC    F'0'   Input buffer for numbers
NUMOUT   DC    F'0'   Output buffer for result
ZERO DC    F'0'   Constant zero
     END   MAIN    End of program

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email tolists...@listserv.ua.edu  with the message: INFO IBM-MAIN


TSSINSTX TSSAI

2023-09-05 Thread Pierre Fichaud
My TSS exit TSSINSTX gets called for the POSTINIT, PASSWORD and PASSPHRASE 
functions.
A segment called $XXX was created to hold an encrypted password or passphrase 
and the current date.
I encrypt by calling CSNBSAE.

I take the password (or new password if one exists) and place it in the TSS 
parameter area for TSSAI.
The password (or new password) is written into the TSS database by calling 
TSSAI using the $XXX segment.
I do the same for passphrases.

The encrypted old password (or new password) is successfully written to the TSS 
database by the call to TSSAI using a TSSCLASS of FLDUPD.
But when there is a new password, the new password is NOT updated for the 
userid.

It seems that the call to TSSAI is interfering with the update of the new 
passwords for the userid.

When I comment the call to TSSAI, the new password is updated for the userid. 
I can login with the new password and it works.

The return code from the TSSAI call is 0.

The documentation on TSSINSTX and TSSAI made no mention of conflicts between 
the the exit and the TSSAI API.

Can someone help me with this ?
Thanks in advance, Pierre/

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Tom Marchant
No. You are too lazy to verify that what you copied/pasted matched the source 
and you want others to make your argument for you? Not me. I've got work to do.

-- 
Tom Marchant

On Tue, 5 Sep 2023 16:04:05 +, Bill Johnson  wrote:

>Lol, how about going to chatgpt and asking the same question. So that cut and 
>paste isn’t a factor.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bill Johnson
Dave always thinks his ideas are “better”. The sign of a narcissist and if you 
ever interview with or work for this type, get a new job.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 12:25 PM, David Spiegel 
<0468385049d1-dmarc-requ...@listserv.ua.edu> wrote:

Hi Bill,
I have a better idea.
Why don't you and the 2 buddies who helped you modify the IEFUSI fix it?
Probably because you don't have the wherewithal (even with 2 helpers).

Regards,
David

On 2023-09-05 12:04, Bill Johnson wrote:
> Lol, how about going to chatgpt and asking the same question. So that cut and 
> paste isn’t a factor.
>
>
> Sent from Yahoo Mail for iPhone
>
>
> On Tuesday, September 5, 2023, 12:02 PM, David Spiegel 
> <0468385049d1-dmarc-requ...@listserv.ua.edu> wrote:
>
> Hi Steve,
> It won't. The first executable statement is missing a comma between
> operands.
>
> Regards,
> David
>
> On 2023-09-05 11:43, Steve Thompson wrote:
>> I doubt it will assemble. And even if it does, the results are
>> unpredictable, other than it will probably ABEND for one reason or
>> another.
>>
>> There are no DCB, OPEN, CLOSE macros while GET and PUT are being used.
>>
>> Me thinks this AI system is confusing a few different assembly
>> languages together. I wonder how close they came for DOS I/O.
>> Steve Thompson
>>
>>
>>
>> On 9/5/2023 11:20 AM, Tom Marchant wrote:
>>> You're right, Tom. That is not a program. Certainly not one that will
>>> do what it claims to do.
>>>
>>> -- Tom Marchant On Mon, 4 Sep 2023 10:42:51 -0700, Tom Brennan
>>>  wrote:
 I can't be sure I formatted it properly, but after looking over the
 code, I have nothing to say but WTF? 

    PRINT NOGEN
    TITLE 'Simple Addition Program'
 ** Define storage for input numbers and result
 *
 NUM1 DS    F First input number
 NUM2 DS    F Second input number
 RESULT   DS    F Result of addition
 ** Main program
 *
 MAIN C  0    NUM1   Check if NUM1 is zero
    BE ZERO    Branch to ZERO if true
 ** Read the first number from input
 *
    GET    NUM1,NUMIN  Read NUM1 from input
    LA 0,NUM1  Load NUM1 into register
 ** Read the second number from input
 *
    GET    NUM2,NUMIN  Read NUM2 from input
    A  NUM1,NUM2   Add NUM1 and NUM2
    ST NUM1,RESULT Store the result in RESULT
 ** Print the result
 *
    PUT    RESULT,NUMOUT   Print the result
 ** Terminate the program
 *
    SR 15,15   Set return code to 0
    BR 14  Return to caller
 ** Define input and output areas
 *
 NUMIN    DC    F'0'   Input buffer for numbers
 NUMOUT   DC    F'0'   Output buffer for result
 ZERO DC    F'0'   Constant zero
    END   MAIN    End of program
>>> --
>>> For IBM-MAIN subscribe / signoff / archive access instructions,
>>> send email tolists...@listserv.ua.edu  with the message: INFO IBM-MAIN
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
>
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Tom Brennan
Bill, formatting or not, the program makes no sense.  Anyone who has 
taken even a couple of ASM classes would know the BE ZERO alone makes no 
sense, branching to a constant F'0'?  Good luck.


Then the GET "DCB" is a DC fullword instead of a DCB.  So that would be 
fun since GET expects a branch address off the DCB from OPEN, and oops, 
there's no OPEN anyway.  Then even if the GET worked and you managed to 
get a 4 byte binary number into NUM1, what in the world is the LA doing, 
trying to load that 4 byte number into register zero?  Just nuts.


I don't need to look any further.  Like I say, anybody who knows even 
the least bit about ASM coding would not even bother trying to assemble 
it.  The code is totally worthless.


On 9/5/2023 9:00 AM, Bill Johnson wrote:

Why do you doubt it? Is it because you hope it doesn’t? Certainly, one of you 
assembler geniuses could test it.

Like Mullins said, and others mentioned, most companies that run z/OS don’t 
need assembler programmers. That numbers in the thousands if not ten thousand. 
Whereas ISV’s who are the likely users of Assembler programming, number in the 
hundreds, maybe. So install on Systems Programmers.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 11:43 AM, Steve Thompson  wrote:

I doubt it will assemble. And even if it does, the results are
unpredictable, other than it will probably ABEND for one reason
or another.

There are no DCB, OPEN, CLOSE macros while GET and PUT are being
used.

Me thinks this AI system is confusing a few different assembly
languages together. I wonder how close they came for DOS I/O.
Steve Thompson



On 9/5/2023 11:20 AM, Tom Marchant wrote:

You're right, Tom. That is not a program. Certainly not one that will do what 
it claims to do.

-- Tom Marchant On Mon, 4 Sep 2023 10:42:51 -0700, Tom Brennan
 wrote:

I can't be sure I formatted it properly, but after looking over the
code, I have nothing to say but WTF? 

           PRINT NOGEN
           TITLE 'Simple Addition Program'
** Define storage for input numbers and result
*
NUM1    DS    F            First input number
NUM2    DS    F            Second input number
RESULT  DS    F            Result of addition
** Main program
*
MAIN    C      0        NUM1  Check if NUM1 is zero
           BE    ZERO            Branch to ZERO if true
** Read the first number from input
*
           GET    NUM1,NUMIN      Read NUM1 from input
           LA    0,NUM1          Load NUM1 into register
** Read the second number from input
*
           GET    NUM2,NUMIN      Read NUM2 from input
           A      NUM1,NUM2      Add NUM1 and NUM2
           ST    NUM1,RESULT    Store the result in RESULT
** Print the result
*
           PUT    RESULT,NUMOUT  Print the result
** Terminate the program
*
           SR    15,15          Set return code to 0
           BR    14              Return to caller
** Define input and output areas
*
NUMIN    DC    F'0'          Input buffer for numbers
NUMOUT  DC    F'0'          Output buffer for result
ZERO    DC    F'0'          Constant zero
           END  MAIN            End of program

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email tolists...@listserv.ua.edu  with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Ray Mullins on Assembler demand.

2023-09-05 Thread Bill Johnson
Metal C, exactly what Mullins said is replacing assembler. In the end, my 
contention in the beginning is proving truer by the day. And you’re right, 
assembler isn’t that hard to learn and not hard to replace,


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 12:36 PM, Matt Hogstrom  
wrote:

My take is that Assembler is just a language and honestly I don’t think its
all that hard to learn.  What it does require is more understanding of the
OS and the ability to setup for calls to other services.

The higher languages simply obscure, or encapsulate, those low level
services.

I use Metal C for new code as it is more easily understood by developers.
That said, there are times for pure assembler code and I enjoy it.  I
started out as a batch assembler programmer but I was drawn to understand
the OS and its structure.  Assembler was the way to interface and now there
are other options.

As an ISV we want Assembler programmers.  In a business, I’d focus on the
languages that the market understands.  The important thing is to not be
religious about a language.  Its just a tool.

On Tue, Sep 5, 2023 at 08:22 David Elliot  wrote:

> Very little from what I see. What little
>  there is is stupid stuff like reverse engineering code so that the client
> can rewrite it in JAVA or whatever the language of the day is.
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Ray Mullins on Assembler demand.

2023-09-05 Thread Matt Hogstrom
FWIW, I’ve known Ray for as long as I’ve been programming in Assembler.
Ray is the man.


> >
> > You guys know who Ray Mullins is right?
> >
> > Sent from Yahoo Mail for iPhone
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Ray Mullins on Assembler demand.

2023-09-05 Thread Matt Hogstrom
My take is that Assembler is just a language and honestly I don’t think its
all that hard to learn.  What it does require is more understanding of the
OS and the ability to setup for calls to other services.

The higher languages simply obscure, or encapsulate, those low level
services.

I use Metal C for new code as it is more easily understood by developers.
That said, there are times for pure assembler code and I enjoy it.  I
started out as a batch assembler programmer but I was drawn to understand
the OS and its structure.  Assembler was the way to interface and now there
are other options.

As an ISV we want Assembler programmers.  In a business, I’d focus on the
languages that the market understands.  The important thing is to not be
religious about a language.  Its just a tool.

On Tue, Sep 5, 2023 at 08:22 David Elliot  wrote:

> Very little from what I see. What little
>  there is is stupid stuff like reverse engineering code so that the client
> can rewrite it in JAVA or whatever the language of the day is.
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bill Johnson
We are all retired. The other 2 went before me. I went in July 2022. You’re an 
idiot regardless. What are you afraid of? That a computer can do what you do? 
That your “skills” aren’t all that impressive and can be automated away?


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 12:25 PM, David Spiegel 
<0468385049d1-dmarc-requ...@listserv.ua.edu> wrote:

Hi Bill,
I have a better idea.
Why don't you and the 2 buddies who helped you modify the IEFUSI fix it?
Probably because you don't have the wherewithal (even with 2 helpers).

Regards,
David

On 2023-09-05 12:04, Bill Johnson wrote:
> Lol, how about going to chatgpt and asking the same question. So that cut and 
> paste isn’t a factor.
>
>
> Sent from Yahoo Mail for iPhone
>
>
> On Tuesday, September 5, 2023, 12:02 PM, David Spiegel 
> <0468385049d1-dmarc-requ...@listserv.ua.edu> wrote:
>
> Hi Steve,
> It won't. The first executable statement is missing a comma between
> operands.
>
> Regards,
> David
>
> On 2023-09-05 11:43, Steve Thompson wrote:
>> I doubt it will assemble. And even if it does, the results are
>> unpredictable, other than it will probably ABEND for one reason or
>> another.
>>
>> There are no DCB, OPEN, CLOSE macros while GET and PUT are being used.
>>
>> Me thinks this AI system is confusing a few different assembly
>> languages together. I wonder how close they came for DOS I/O.
>> Steve Thompson
>>
>>
>>
>> On 9/5/2023 11:20 AM, Tom Marchant wrote:
>>> You're right, Tom. That is not a program. Certainly not one that will
>>> do what it claims to do.
>>>
>>> -- Tom Marchant On Mon, 4 Sep 2023 10:42:51 -0700, Tom Brennan
>>>  wrote:
 I can't be sure I formatted it properly, but after looking over the
 code, I have nothing to say but WTF? 

    PRINT NOGEN
    TITLE 'Simple Addition Program'
 ** Define storage for input numbers and result
 *
 NUM1 DS    F First input number
 NUM2 DS    F Second input number
 RESULT   DS    F Result of addition
 ** Main program
 *
 MAIN C  0    NUM1   Check if NUM1 is zero
    BE ZERO    Branch to ZERO if true
 ** Read the first number from input
 *
    GET    NUM1,NUMIN  Read NUM1 from input
    LA 0,NUM1  Load NUM1 into register
 ** Read the second number from input
 *
    GET    NUM2,NUMIN  Read NUM2 from input
    A  NUM1,NUM2   Add NUM1 and NUM2
    ST NUM1,RESULT Store the result in RESULT
 ** Print the result
 *
    PUT    RESULT,NUMOUT   Print the result
 ** Terminate the program
 *
    SR 15,15   Set return code to 0
    BR 14  Return to caller
 ** Define input and output areas
 *
 NUMIN    DC    F'0'   Input buffer for numbers
 NUMOUT   DC    F'0'   Output buffer for result
 ZERO DC    F'0'   Constant zero
    END   MAIN    End of program
>>> --
>>> For IBM-MAIN subscribe / signoff / archive access instructions,
>>> send email tolists...@listserv.ua.edu  with the message: INFO IBM-MAIN
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
>
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Tom Marchant
I see 8 errors. There might be more. If you were to correct the missing comma 
that David pointed out, it would abend. Probably with a S0C1 on the GET. But if 
those errors were to be corrected and it made it to the BR 14, it would loop.

This is what it does when it decides on the specifications for the program. 
That is the most generous test possible.

-- 
Tom Marchant

On Tue, 5 Sep 2023 11:43:07 -0400, Steve Thompson  wrote:

>I doubt it will assemble. And even if it does, the results are
>unpredictable, other than it will probably ABEND for one reason
>or another.
>
>There are no DCB, OPEN, CLOSE macros while GET and PUT are being
>used.
>
>Me thinks this AI system is confusing a few different assembly
>languages together. I wonder how close they came for DOS I/O.
>Steve Thompson
>
>
>
>On 9/5/2023 11:20 AM, Tom Marchant wrote:
>> You're right, Tom. That is not a program. Certainly not one that will do 
>> what it claims to do.
>>
>> -- Tom Marchant On Mon, 4 Sep 2023 10:42:51 -0700, Tom Brennan
>>  wrote:
>>> I can't be sure I formatted it properly, but after looking over the
>>> code, I have nothing to say but WTF? 
>>>
>>>   PRINT NOGEN
>>>   TITLE 'Simple Addition Program'
>>> ** Define storage for input numbers and result
>>> *
>>> NUM1 DSF First input number
>>> NUM2 DSF Second input number
>>> RESULT   DSF Result of addition
>>> ** Main program
>>> *
>>> MAIN C  0NUM1   Check if NUM1 is zero
>>>   BE ZEROBranch to ZERO if true
>>> ** Read the first number from input
>>> *
>>>   GETNUM1,NUMIN  Read NUM1 from input
>>>   LA 0,NUM1  Load NUM1 into register
>>> ** Read the second number from input
>>> *
>>>   GETNUM2,NUMIN  Read NUM2 from input
>>>   A  NUM1,NUM2   Add NUM1 and NUM2
>>>   ST NUM1,RESULT Store the result in RESULT
>>> ** Print the result
>>> *
>>>   PUTRESULT,NUMOUT   Print the result
>>> ** Terminate the program
>>> *
>>>   SR 15,15   Set return code to 0
>>>   BR 14  Return to caller
>>> ** Define input and output areas
>>> *
>>> NUMINDCF'0'   Input buffer for numbers
>>> NUMOUT   DCF'0'   Output buffer for result
>>> ZERO DCF'0'   Constant zero
>>>   END   MAINEnd of program

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread David Spiegel

Hi Bill,
I have a better idea.
Why don't you and the 2 buddies who helped you modify the IEFUSI fix it?
Probably because you don't have the wherewithal (even with 2 helpers).

Regards,
David

On 2023-09-05 12:04, Bill Johnson wrote:

Lol, how about going to chatgpt and asking the same question. So that cut and 
paste isn’t a factor.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 12:02 PM, David Spiegel 
<0468385049d1-dmarc-requ...@listserv.ua.edu> wrote:

Hi Steve,
It won't. The first executable statement is missing a comma between
operands.

Regards,
David

On 2023-09-05 11:43, Steve Thompson wrote:

I doubt it will assemble. And even if it does, the results are
unpredictable, other than it will probably ABEND for one reason or
another.

There are no DCB, OPEN, CLOSE macros while GET and PUT are being used.

Me thinks this AI system is confusing a few different assembly
languages together. I wonder how close they came for DOS I/O.
Steve Thompson



On 9/5/2023 11:20 AM, Tom Marchant wrote:

You're right, Tom. That is not a program. Certainly not one that will
do what it claims to do.

-- Tom Marchant On Mon, 4 Sep 2023 10:42:51 -0700, Tom Brennan
 wrote:

I can't be sure I formatted it properly, but after looking over the
code, I have nothing to say but WTF? 

   PRINT NOGEN
   TITLE 'Simple Addition Program'
** Define storage for input numbers and result
*
NUM1 DS    F First input number
NUM2 DS    F Second input number
RESULT   DS    F Result of addition
** Main program
*
MAIN C  0    NUM1   Check if NUM1 is zero
   BE ZERO    Branch to ZERO if true
** Read the first number from input
*
   GET    NUM1,NUMIN  Read NUM1 from input
   LA 0,NUM1  Load NUM1 into register
** Read the second number from input
*
   GET    NUM2,NUMIN  Read NUM2 from input
   A  NUM1,NUM2   Add NUM1 and NUM2
   ST NUM1,RESULT Store the result in RESULT
** Print the result
*
   PUT    RESULT,NUMOUT   Print the result
** Terminate the program
*
   SR 15,15   Set return code to 0
   BR 14  Return to caller
** Define input and output areas
*
NUMIN    DC    F'0'   Input buffer for numbers
NUMOUT   DC    F'0'   Output buffer for result
ZERO DC    F'0'   Constant zero
   END   MAIN    End of program

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email tolists...@listserv.ua.edu  with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bill Johnson
Lol, how about going to chatgpt and asking the same question. So that cut and 
paste isn’t a factor.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 12:02 PM, David Spiegel 
<0468385049d1-dmarc-requ...@listserv.ua.edu> wrote:

Hi Steve,
It won't. The first executable statement is missing a comma between 
operands.

Regards,
David

On 2023-09-05 11:43, Steve Thompson wrote:
> I doubt it will assemble. And even if it does, the results are 
> unpredictable, other than it will probably ABEND for one reason or 
> another.
>
> There are no DCB, OPEN, CLOSE macros while GET and PUT are being used.
>
> Me thinks this AI system is confusing a few different assembly 
> languages together. I wonder how close they came for DOS I/O.
> Steve Thompson
>
>
>
> On 9/5/2023 11:20 AM, Tom Marchant wrote:
>> You're right, Tom. That is not a program. Certainly not one that will 
>> do what it claims to do.
>>
>> -- Tom Marchant On Mon, 4 Sep 2023 10:42:51 -0700, Tom Brennan 
>>  wrote:
>>> I can't be sure I formatted it properly, but after looking over the
>>> code, I have nothing to say but WTF? 
>>>
>>>   PRINT NOGEN
>>>   TITLE 'Simple Addition Program'
>>> ** Define storage for input numbers and result
>>> *
>>> NUM1 DS    F First input number
>>> NUM2 DS    F Second input number
>>> RESULT   DS    F Result of addition
>>> ** Main program
>>> *
>>> MAIN C  0    NUM1   Check if NUM1 is zero
>>>   BE ZERO    Branch to ZERO if true
>>> ** Read the first number from input
>>> *
>>>   GET    NUM1,NUMIN  Read NUM1 from input
>>>   LA 0,NUM1  Load NUM1 into register
>>> ** Read the second number from input
>>> *
>>>   GET    NUM2,NUMIN  Read NUM2 from input
>>>   A  NUM1,NUM2   Add NUM1 and NUM2
>>>   ST NUM1,RESULT Store the result in RESULT
>>> ** Print the result
>>> *
>>>   PUT    RESULT,NUMOUT   Print the result
>>> ** Terminate the program
>>> *
>>>   SR 15,15   Set return code to 0
>>>   BR 14  Return to caller
>>> ** Define input and output areas
>>> *
>>> NUMIN    DC    F'0'   Input buffer for numbers
>>> NUMOUT   DC    F'0'   Output buffer for result
>>> ZERO DC    F'0'   Constant zero
>>>   END   MAIN    End of program
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email tolists...@listserv.ua.edu  with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread David Spiegel

Hi Steve,
It won't. The first executable statement is missing a comma between 
operands.


Regards,
David

On 2023-09-05 11:43, Steve Thompson wrote:
I doubt it will assemble. And even if it does, the results are 
unpredictable, other than it will probably ABEND for one reason or 
another.


There are no DCB, OPEN, CLOSE macros while GET and PUT are being used.

Me thinks this AI system is confusing a few different assembly 
languages together. I wonder how close they came for DOS I/O.

Steve Thompson



On 9/5/2023 11:20 AM, Tom Marchant wrote:
You're right, Tom. That is not a program. Certainly not one that will 
do what it claims to do.


-- Tom Marchant On Mon, 4 Sep 2023 10:42:51 -0700, Tom Brennan 
 wrote:

I can't be sure I formatted it properly, but after looking over the
code, I have nothing to say but WTF? 

  PRINT NOGEN
  TITLE 'Simple Addition Program'
** Define storage for input numbers and result
*
NUM1 DS    F First input number
NUM2 DS    F Second input number
RESULT   DS    F Result of addition
** Main program
*
MAIN C  0    NUM1   Check if NUM1 is zero
  BE ZERO    Branch to ZERO if true
** Read the first number from input
*
  GET    NUM1,NUMIN  Read NUM1 from input
  LA 0,NUM1  Load NUM1 into register
** Read the second number from input
*
  GET    NUM2,NUMIN  Read NUM2 from input
  A  NUM1,NUM2   Add NUM1 and NUM2
  ST NUM1,RESULT Store the result in RESULT
** Print the result
*
  PUT    RESULT,NUMOUT   Print the result
** Terminate the program
*
  SR 15,15   Set return code to 0
  BR 14  Return to caller
** Define input and output areas
*
NUMIN    DC    F'0'   Input buffer for numbers
NUMOUT   DC    F'0'   Output buffer for result
ZERO DC    F'0'   Constant zero
  END   MAIN    End of program

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email tolists...@listserv.ua.edu  with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Bill Johnson
Why do you doubt it? Is it because you hope it doesn’t? Certainly, one of you 
assembler geniuses could test it.

Like Mullins said, and others mentioned, most companies that run z/OS don’t 
need assembler programmers. That numbers in the thousands if not ten thousand. 
Whereas ISV’s who are the likely users of Assembler programming, number in the 
hundreds, maybe. So install on Systems Programmers. 


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 11:43 AM, Steve Thompson  wrote:

I doubt it will assemble. And even if it does, the results are 
unpredictable, other than it will probably ABEND for one reason 
or another.

There are no DCB, OPEN, CLOSE macros while GET and PUT are being 
used.

Me thinks this AI system is confusing a few different assembly 
languages together. I wonder how close they came for DOS I/O.
Steve Thompson



On 9/5/2023 11:20 AM, Tom Marchant wrote:
> You're right, Tom. That is not a program. Certainly not one that will do what 
> it claims to do.
>
> -- Tom Marchant On Mon, 4 Sep 2023 10:42:51 -0700, Tom Brennan 
>  wrote:
>> I can't be sure I formatted it properly, but after looking over the
>> code, I have nothing to say but WTF? 
>>
>>          PRINT NOGEN
>>          TITLE 'Simple Addition Program'
>> ** Define storage for input numbers and result
>> *
>> NUM1    DS    F            First input number
>> NUM2    DS    F            Second input number
>> RESULT  DS    F            Result of addition
>> ** Main program
>> *
>> MAIN    C      0        NUM1  Check if NUM1 is zero
>>          BE    ZERO            Branch to ZERO if true
>> ** Read the first number from input
>> *
>>          GET    NUM1,NUMIN      Read NUM1 from input
>>          LA    0,NUM1          Load NUM1 into register
>> ** Read the second number from input
>> *
>>          GET    NUM2,NUMIN      Read NUM2 from input
>>          A      NUM1,NUM2      Add NUM1 and NUM2
>>          ST    NUM1,RESULT    Store the result in RESULT
>> ** Print the result
>> *
>>          PUT    RESULT,NUMOUT  Print the result
>> ** Terminate the program
>> *
>>          SR    15,15          Set return code to 0
>>          BR    14              Return to caller
>> ** Define input and output areas
>> *
>> NUMIN    DC    F'0'          Input buffer for numbers
>> NUMOUT  DC    F'0'          Output buffer for result
>> ZERO    DC    F'0'          Constant zero
>>          END  MAIN            End of program
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email tolists...@listserv.ua.edu  with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Steve Thompson
I doubt it will assemble. And even if it does, the results are 
unpredictable, other than it will probably ABEND for one reason 
or another.


There are no DCB, OPEN, CLOSE macros while GET and PUT are being 
used.


Me thinks this AI system is confusing a few different assembly 
languages together. I wonder how close they came for DOS I/O.

Steve Thompson



On 9/5/2023 11:20 AM, Tom Marchant wrote:

You're right, Tom. That is not a program. Certainly not one that will do what 
it claims to do.

-- Tom Marchant On Mon, 4 Sep 2023 10:42:51 -0700, Tom Brennan 
 wrote:

I can't be sure I formatted it properly, but after looking over the
code, I have nothing to say but WTF? 

  PRINT NOGEN
  TITLE 'Simple Addition Program'
** Define storage for input numbers and result
*
NUM1 DSF First input number
NUM2 DSF Second input number
RESULT   DSF Result of addition
** Main program
*
MAIN C  0NUM1   Check if NUM1 is zero
  BE ZEROBranch to ZERO if true
** Read the first number from input
*
  GETNUM1,NUMIN  Read NUM1 from input
  LA 0,NUM1  Load NUM1 into register
** Read the second number from input
*
  GETNUM2,NUMIN  Read NUM2 from input
  A  NUM1,NUM2   Add NUM1 and NUM2
  ST NUM1,RESULT Store the result in RESULT
** Print the result
*
  PUTRESULT,NUMOUT   Print the result
** Terminate the program
*
  SR 15,15   Set return code to 0
  BR 14  Return to caller
** Define input and output areas
*
NUMINDCF'0'   Input buffer for numbers
NUMOUT   DCF'0'   Output buffer for result
ZERO DCF'0'   Constant zero
  END   MAINEnd of program

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email tolists...@listserv.ua.edu  with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is the IBM Assembler List still alive

2023-09-05 Thread Peter Sylvester

  Hi SMJ,

you got me, I took the quote from a CS book :-)

On 04/09/2023 17:35, Seymour J Metz wrote:

ITYM quotation, and IMHO that quote should be part of the curriculum for any 
school of CS, cited whenevealmost 50 years agor discussing handles, indirect 
addressing or pointers. It wouldn't hurt for the IBM tech writers to keep it in 
mind when documenting parameters.


From: IBM Mainframe Discussion List  on behalf of Peter 
Sylvester 
Sent: Monday, September 4, 2023 10:23 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Is the IBM Assembler List still alive

Namen sind Schall und Rauch,

Some parts of the discussion reminds me to Lewis Carroll, Through the looking 
glass.

It reminds me to the citation that that I made in ibmmail descript

https://www.funet.fi/pub/doc/netinfo/EARN/ (There are some other gems in 
that directory).

"song" = "what is your profession."


Peter Sylvester




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Simple request from chatGPT to write assembler program.

2023-09-05 Thread Tom Marchant
You're right, Tom. That is not a program. Certainly not one that will do what 
it claims to do.

-- 
Tom Marchant

On Mon, 4 Sep 2023 10:42:51 -0700, Tom Brennan  
wrote:

>I can't be sure I formatted it properly, but after looking over the 
>code, I have nothing to say but WTF? :)
>
>  PRINT NOGEN
>  TITLE 'Simple Addition Program'
>** Define storage for input numbers and result
>*
>NUM1 DSF First input number
>NUM2 DSF Second input number
>RESULT   DSF Result of addition
>** Main program
>*
>MAIN C  0NUM1   Check if NUM1 is zero
>  BE ZEROBranch to ZERO if true
>** Read the first number from input
>*
>  GETNUM1,NUMIN  Read NUM1 from input
>  LA 0,NUM1  Load NUM1 into register
>** Read the second number from input
>*
>  GETNUM2,NUMIN  Read NUM2 from input
>  A  NUM1,NUM2   Add NUM1 and NUM2
>  ST NUM1,RESULT Store the result in RESULT
>** Print the result
>*
>  PUTRESULT,NUMOUT   Print the result
>** Terminate the program
>*
>  SR 15,15   Set return code to 0
>  BR 14  Return to caller
>** Define input and output areas
>*
>NUMINDCF'0'   Input buffer for numbers
>NUMOUT   DCF'0'   Output buffer for result
>ZERO DCF'0'   Constant zero
>  END   MAINEnd of program

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is the IBM Assembler List still alive

2023-09-05 Thread Bill Johnson
Agree completely.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 9:59 AM, Doug Fuerst  
wrote:

I also think that what many of us seem to forget is that skills need to 
be used to stay sharp and to learn new things in that field.
If you are not doing Assembler a fair amount of time, the skill dulls. 
Some of the worse assembler I have ever seen was written by people who 
had not written it in a few years, and often I had to deal with systems 
heavily modded because somebody "loved" coding in assembler. And sadly 
the code was not really much better.
The same goes for dump reading, performance issues like WLM, or really 
anything.
This is a case where specialization is preferred, but my guess is most 
of us are generalists, and simply do not have the time or resources to 
become experts in every part of MVS there is (excuse me z/OS and the are 
ALOT of parts.)

Doug Fuerst


-- Original Message --
>From "Brian Westerman" 
To IBM-MAIN@LISTSERV.UA.EDU
Date 9/5/2023 6:32:27 AM
Subject Re: Is the IBM Assembler List still alive

>Equating college and systems programming is not really logical.  I'm not aware 
>of any colleges that "teach" how to be a systems programmer.  I think some may 
>have tried, but I doubt it would be a big draw.
>
>I have a PhD, but I didn't learn to write assembler in college, at least not 
>any that would be usable as a systems programmer.
>
>I don't think everyone needs to learn how to read dumps or write assembler to 
>be a systems administrator, but to be a systems programmer is seems very 
>practical.  I can't imagine working with an operating system for a large 
>number of years without being able to read or write the code it's generated 
>with.
>
>But that's just my opinion, I'm sure there are people who consider themselves 
>to be systems programmers that don't have any knowledge of assembler or know 
>how to read a dump, or know how to use SMP/e very well or understand ACS 
>coding or writing REXX or understanding the ins and outs of WLM.  My personal 
>opinion is that it would give me an ulcer to not know what I was doing.
>
>Brian
>
>--
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Is the IBM Assembler List still alive

2023-09-05 Thread Steve Thompson

This is quite true.

Back in the days of MVS/SE2 (pre SP1) we already had heavy 
assembly language people (wrote in ALC and conditional assembly 
day in and day out) say that we were at the point where no one 
could know all of the system (MVS environment) -- or be Mr. MVS 
as it were. And we were just running JES2, TCAM & BTAM on a 
S/370-158.


By the time we (the industry) got into MVS/SP3 (ESA), how many 
subsystems were there? And that handy dandy chart that showed 
what was connected to what was no longer being produced.


I've been tempted many times to build a new one. Invitation to 
MVS is rather obsolete as is MVS Power Programming.


SYSPLEX, WLM, IP Stack, SMS/ACS, CICS/TS, DB2, etc.  Being a 
Generalist, how can one get all that in their head and keep it 
there? And stay current?


There have been times when I needed to know the interplay between 
VSM and RSM with paging so I could understand how 64bit 
addressing would handle things


Then 3390 has broken the geometry because you have to have the 
new version of NOTE/POINT to handle EAV/EAS volumes, plus PDSE 
made big changes and now it is a GDG thing!


Steve Thompson

On 9/5/2023 9:59 AM, Doug Fuerst wrote:
I also think that what many of us seem to forget is that skills 
need to be used to stay sharp and to learn new things in that 
field.
If you are not doing Assembler a fair amount of time, the skill 
dulls. Some of the worse assembler I have ever seen was written 
by people who had not written it in a few years, and often I 
had to deal with systems heavily modded because somebody 
"loved" coding in assembler. And sadly the code was not really 
much better.
The same goes for dump reading, performance issues like WLM, or 
really anything.
This is a case where specialization is preferred, but my guess 
is most of us are generalists, and simply do not have the time 
or resources to become experts in every part of MVS there is 
(excuse me z/OS and the are ALOT of parts.)


Doug Fuerst


-- Original Message --

From "Brian Westerman" 

To IBM-MAIN@LISTSERV.UA.EDU
Date 9/5/2023 6:32:27 AM
Subject Re: Is the IBM Assembler List still alive

Equating college and systems programming is not really 
logical.  I'm not aware of any colleges that "teach" how to be 
a systems programmer.  I think some may have tried, but I 
doubt it would be a big draw.


I have a PhD, but I didn't learn to write assembler in 
college, at least not any that would be usable as a systems 
programmer.


I don't think everyone needs to learn how to read dumps or 
write assembler to be a systems administrator, but to be a 
systems programmer is seems very practical.  I can't imagine 
working with an operating system for a large number of years 
without being able to read or write the code it's generated with.


But that's just my opinion, I'm sure there are people who 
consider themselves to be systems programmers that don't have 
any knowledge of assembler or know how to read a dump, or know 
how to use SMP/e very well or understand ACS coding or writing 
REXX or understanding the ins and outs of WLM.  My personal 
opinion is that it would give me an ulcer to not know what I 
was doing.


Brian

-- 


For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO 
IBM-MAIN


-- 


For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO 
IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Ray Mullins on Assembler demand.

2023-09-05 Thread Bill Johnson
It’s a lot easier finding JAVA developers than Assembler programmers. And will 
only get harder over time.


Sent from Yahoo Mail for iPhone


On Tuesday, September 5, 2023, 10:37 AM, David Elliot  
wrote:

I was recently contacted by one company who was starting a project to throw
out thousands of assembler language programs and replace them with JAVA
code all with the aim of modernising his mainframe. The interview went
badly when I asked why he thought he had to discard years of development
which had kept his business going all in the name of modernization.

On Tue, Sep 5, 2023, 7:27 AM Bill Johnson <
0047540adefe-dmarc-requ...@listserv.ua.edu> wrote:

> Must have missed this.
>
>
> > I'll be honest - it's getting smaller and smaller. It's become a niche,
> > mainly for system tools ISVs. Metal C is where the invisible hand of IBM
> is
> > pushing the industry.
>
> And Ray is one of the most respected in the field.
>
>
> Sent from Yahoo Mail for iPhone
>
>
> On Tuesday, September 5, 2023, 10:22 AM, David Elliot <
> star2015...@gmail.com> wrote:
>
> Very little from what I see. What little
>  there is is stupid stuff like reverse engineering code so that the client
> can rewrite it in JAVA or whatever the language of the day is.
>
> On Tue, Sep 5, 2023, 6:48 AM Bill Johnson <
> 0047540adefe-dmarc-requ...@listserv.ua.edu> wrote:
>
> > How much demand is there for IBM mainframe Assembler programmers?
> >
> >
> >
> >
> >
> >
> >
> > Ray Mullin said this:
> >
> >
> >
> >
> >
> >
> >
> > I'll be honest - it's getting smaller and smaller. It's become a niche,
> > mainly for system tools ISVs. Metal C is where the invisible hand of IBM
> is
> > pushing the industry.
> >
> > Having said that…
> >
> > There is a benefit to learning assembler, or more specifically, the
> > z/Architecture instruction set. You learn how the instructions work, and
> by
> > reading the 1500+ page Principles of Operation (or, if you don't want
> that
> > much reading, the General Instructions and Decimal Instructions chapters,
> > plus some of the first 6 others), you can design efficient 3GL programs.
> In
> > addition, use the LIST option of compilers to see the generated
> > instructions. Through this, you can self-optimize and create efficient
> > code, code that performs, and can save precious CPU and wall clock time.
> >
> > Look at the z390 emulator. This allows you to play with it on your own
> > time on your own machine.
> >
> >
> > You guys know who Ray Mullins is right?
> >
> > Sent from Yahoo Mail for iPhone
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
>
>
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN




--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Somewhat OT: 3279 front bezel needed

2023-09-05 Thread Jay Maynard
That too! Getting an Apple //e to run VT100 emulation at 19200 BPS turned
out to be possible with the right program, but getting it on the machine
turned out to be nontrivial. From there, though, it's a matter of plugging
it into the 11L's AEA and using tn3270...

On Tue, Sep 5, 2023 at 9:37 AM Mike Schwab  wrote:

> And an Apple ][ as console.
>
> On Tue, Sep 5, 2023 at 9:12 AM Jay Maynard  wrote:
> >
> > One of my P/390s has the bus and tag hardware and a 3174-11L connected.
> > (Well, technically they're R/390s and RS/370s, but still...) I also have
> a
> > 3174-63R talking via Token Ring.
> >
> > On Tue, Sep 5, 2023 at 9:10 AM Grant Taylor <
> > 023065957af1-dmarc-requ...@listserv.ua.edu> wrote:
> >
> > > On 9/5/23 8:56 AM, Jay Maynard wrote:
> > > > I do! And two P/390s and two P/370s for it to talk to.
> > >
> > > Does that mean that you also have the associated B cards to connect
> > > said P/390s / P370s to the 3174?
> > >
> > > I'd be very interested reading an article about and pictures of such a
> > > setup.  Even if it's an ongoing work in progress.
> > >
> > >
> > >
> > > --
> > > Grant. . . .
> > > unix || die
> > >
> > > --
> > > For IBM-MAIN subscribe / signoff / archive access instructions,
> > > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> > >
> >
> >
> > --
> > Jay Maynard
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
>
>
> --
> Mike A Schwab, Springfield IL USA
> Where do Forest Rangers go to get away from it all?
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>


-- 
Jay Maynard

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Somewhat OT: 3279 front bezel needed

2023-09-05 Thread Mike Schwab
And an Apple ][ as console.

On Tue, Sep 5, 2023 at 9:12 AM Jay Maynard  wrote:
>
> One of my P/390s has the bus and tag hardware and a 3174-11L connected.
> (Well, technically they're R/390s and RS/370s, but still...) I also have a
> 3174-63R talking via Token Ring.
>
> On Tue, Sep 5, 2023 at 9:10 AM Grant Taylor <
> 023065957af1-dmarc-requ...@listserv.ua.edu> wrote:
>
> > On 9/5/23 8:56 AM, Jay Maynard wrote:
> > > I do! And two P/390s and two P/370s for it to talk to.
> >
> > Does that mean that you also have the associated B cards to connect
> > said P/390s / P370s to the 3174?
> >
> > I'd be very interested reading an article about and pictures of such a
> > setup.  Even if it's an ongoing work in progress.
> >
> >
> >
> > --
> > Grant. . . .
> > unix || die
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
>
>
> --
> Jay Maynard
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN



-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


  1   2   >