Re: [EXTERNAL] Re: I knew Cobol 6.3 takes more resources to compile than 4.2 but should I be concerned about how much?

2022-04-18 Thread Feller, Paul
On an lpar with 25g of memory we run the COBOL 6.2 compiles with a region of 
512M.

This is from a program that has well over 25,000 lines of code.  Had OPT(0) set 
plus lots of debug stuff turned on.

IEF373I STEP/COB6/START 2022109.0219
IEF032I STEP/COB6/STOP  2022109.0223
CPU: 0 HR  01 MIN  39.91 SECSRB: 0 HR  00 MIN  00.63 SEC
VIRT:   764K  SYS:   428K  EXT:   141580K  SYS:16012K   
ATB- REAL:506368K  SLOTS: 0K
 VIRT- ALLOC: 533M SHRD:   0M   

Part of what I is in the output from Rex that would concern me if all the 
paging.  I'm going to take a leap and say that the overhead of the paging could 
cause extended run time.  One of the things we have found in doing compiles is 
to insure you what sized the SYSUTx datasets.  In our case we are using 
SPACE=(CYL,(50,15)) across all 15 datasets.

As others have said the compile uses more memory and uses more CPU compared to 
the COBOL 4.

Paul Feller
GTS Mainframe Technical Support

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Farley, Peter x23353
Sent: Monday, April 18, 2022 5:20 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: [EXTERNAL] Re: I knew Cobol 6.3 takes more resources to compile 
than 4.2 but should I be concerned about how much?

It will be interesting to see what IBM responds to your ticket.  Please share 
if you can when it is closed.

I wonder if using the pre-processor vs the co-processor for the CICS compile 
would affect the total time, if you are able to set up JCL to allow that.  We 
don't use the co-processor here and can't easily set up to use it (peculiar 
SCLM issues) , so I don't know what kind of memory/time factor(s) it adds to 
the compile step.

Peter

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Pommier, Rex
Sent: Monday, April 18, 2022 6:11 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: [EXTERNAL] Re: I knew Cobol 6.3 takes more resources to compile 
than 4.2 but should I be concerned about how much?

Hi Peter,

I agree that IBM has warned of significantly higher CPU and memory 
requirements, and we've seen increases, but to go from .3 CPU seconds to over 
500 - a 1500 fold increase seems more than a bit excessive to me.  

We're using the CICS coprocessor.  

Rex

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Farley, Peter x23353
Sent: Monday, April 18, 2022 3:52 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: [EXTERNAL] Re: I knew Cobol 6.3 takes more resources to compile than 
4.2 but should I be concerned about how much?

Memory usage is much higher in the COBOL V5/6.x versions than in any earlier 
version.  IBM tells you this explicitly in all its migration advice that I have 
seen.  In our shop we use the max locally allowed memory per programmer batch 
job (IEFUTL00 limit) for every compile step, 640M.

IBM also explicitly warns about possibly significantly increased CPU usage, but 
I think I remember they did say that was (mainly) for the advanced 
optimization.  If you are using OPT(0) that shouldn't add to CPU vs V4.2.

Are your CICS compiles using the CICS co-processor in the compile step or the 
CICS pre-processor utility?  Ours still use the preprocessor for both CICS and 
for DB2 and for combinations of CICS and DB2.  It's possible that would make a 
difference if you are currently using the co-processor.

Peter

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Pommier, Rex
Sent: Monday, April 18, 2022 4:18 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: I knew Cobol 6.3 takes more resources to compile than 4.2 but should I 
be concerned about how much?

Hi list,

Should I be concerned about the amount of resources Cobol 6.3 is occasionally 
using as compared to 4.2?  I have one particular example that was brought to 
our attention due to the fact that we ran out of page space in our small shop.  
I finally got it to compile after tripling my page space.  It is a CICS program 
and is only 11270 lines long.  I am compiling with Expediter, but have 
optimization(0) configured so there is no additional compile-time processing 
being done to optimize the load module.   I removed Expediter and still had the 
issues.  Here are my comparisons.  Has anybody else seen this kind of huge 
increase?


Cobol42 without Expediter  TCB .00499 minuteswall clock 2 seconds  paging 0 
  serv  14956
Cobol42 with Expediter   TCB  .0138 minutes   wall clock 2 seconds   paging 0   
serv 39158
Cobol63 without Expediter  TCB  8.665 minutes   wall clock 31 minutes  paging 
3185K   serv  23,371,699
Cobol63 with Expediter  TCB  8.519 minutes  wall clock 23 minutes  paging 4522K 
  serv  22,980,890

I will be opening a ticket with IBM but was wondering if anybody else has seen 
this kind of spike.  I have only seen this 

Re: DB2: Combining result sets

2022-04-18 Thread Bob Bridges
Ah, thank you!  I got to the point where I thought I was pretty comfortable 
with SQL, but clearly I've been away longer than I realized.

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

/* Error saving file.  Format drive now (Y/y)? */

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Bernd Oppolzer
Sent: Monday, April 18, 2022 18:03

select col1, col2, col3, min (wherefound)
   from (select col1, col2, col3, 'source 1' as wherefound
   from table1
  where something
   union ALL
 select col1, col2, col3, 'source 2' as wherefound
   from table2
  where something
   union ALL
 select col1, col2, col3, 'source 3'  as wherefound
   from table3
  where something) as t1
  group by col1, col2, col3

I changed the UNION to UNION ALL, BTW;

--- Am 18.04.2022 um 19:48 schrieb Binyamin Dissen:
> Seems that I have been knocked off of the DB2-L listserv.
>
> I am doing a union of three queries where it is possible that the 
> critical columns are in more than one of the queries.
>
> For example:
>
>   select col1, col2 col3, 'source 1'
>from table1
>where something
>   union
>   select col1, col2, col3,, 'source 2'
> from table2
>where something
>   union
>   select col1, col2, col3, 'source 3'
>  from table3
>  where something
>
> I would like a single row even if the data (col1, col2, col3) is in 
> more than one of the queries, so that 'source1' is returned if in 
> table1 and table2 and/or table3, 'source 2' if not in table1 but in 
> table2 (and perhaps table3) and 'source 3' if only in table 3.

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


Re: Trying to understand SMF30_RAXFLAGS

2022-04-18 Thread Charles Mills
Except when they don't:

https://www.ibm.com/docs/en/zos/2.3.0?topic=functions-ffs-find-first-set-bit
-in-integer 

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Seymour J Metz
Sent: Monday, April 18, 2022 3:35 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Trying to understand SMF30_RAXFLAGS

No, IBM numbers bits from the left. In an 8-bit field, bit 0 corresponds to
a mask of '80'x and bit 7 to a maskm of '01'x.

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


Re: Trying to understand SMF30_RAXFLAGS

2022-04-18 Thread Seymour J Metz
Some IBM documentation gives bit numbers 0-7 and other documentation gives the 
masks for those bits: bit 0 is mask 80, bit 1 is mask 40 ... bit 7 is mask 01.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Charles Mills [charl...@mcn.org]
Sent: Monday, April 18, 2022 11:32 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Trying to understand SMF30_RAXFLAGS

We have a client who is trying to report on user key CSA usage. He is having
trouble understanding the IBM doc, as am I.

The SMF doc I am familiar with documents bits as X'80', X'40', etc. But the
SMF30_RAXFLAGS doc (both the APAR and the new manual) documents the bits as
Bit 0, Bit 1, etc. Usually in mainframe documentation "bit 0" refers to the
x'80' bit. But what the client is seeing is values for SMF30_RAXFLAGS of
binary 1, 2 or 3.

Can anyone confirm my interpretation of what he is seeing that by "bit 0"
IBM means X'01', by "bit 1" they mean x'02', and so forth?

Or provide some other interpretation?

Thanks,
Charles

--
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: Trying to understand SMF30_RAXFLAGS

2022-04-18 Thread Seymour J Metz
No, IBM numbers bits from the left. In an 8-bit field, bit 0 corresponds to a 
mask of '80'x and bit 7 to a maskm of '01'x.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Charles Mills [charl...@mcn.org]
Sent: Monday, April 18, 2022 12:20 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Trying to understand SMF30_RAXFLAGS

Sorry. Bit 0 is usually the X'01' bit in mainframe doc (other than UNIX).

So is my interpretation correct?

SMF30_USERKEYCSAUSAGE is x'02'?

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Charles Mills
Sent: Monday, April 18, 2022 8:33 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Trying to understand SMF30_RAXFLAGS

We have a client who is trying to report on user key CSA usage. He is having
trouble understanding the IBM doc, as am I.

The SMF doc I am familiar with documents bits as X'80', X'40', etc. But the
SMF30_RAXFLAGS doc (both the APAR and the new manual) documents the bits as
Bit 0, Bit 1, etc. Usually in mainframe documentation "bit 0" refers to the
x'80' bit. But what the client is seeing is values for SMF30_RAXFLAGS of
binary 1, 2 or 3.

Can anyone confirm my interpretation of what he is seeing that by "bit 0"
IBM means X'01', by "bit 1" they mean x'02', and so forth?

--
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: [EXTERNAL] Re: I knew Cobol 6.3 takes more resources to compile than 4.2 but should I be concerned about how much?

2022-04-18 Thread Farley, Peter x23353
It will be interesting to see what IBM responds to your ticket.  Please share 
if you can when it is closed.

I wonder if using the pre-processor vs the co-processor for the CICS compile 
would affect the total time, if you are able to set up JCL to allow that.  We 
don't use the co-processor here and can't easily set up to use it (peculiar 
SCLM issues) , so I don't know what kind of memory/time factor(s) it adds to 
the compile step.

Peter

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Pommier, Rex
Sent: Monday, April 18, 2022 6:11 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: [EXTERNAL] Re: I knew Cobol 6.3 takes more resources to compile 
than 4.2 but should I be concerned about how much?

Hi Peter,

I agree that IBM has warned of significantly higher CPU and memory 
requirements, and we've seen increases, but to go from .3 CPU seconds to over 
500 - a 1500 fold increase seems more than a bit excessive to me.  

We're using the CICS coprocessor.  

Rex

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Farley, Peter x23353
Sent: Monday, April 18, 2022 3:52 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: [EXTERNAL] Re: I knew Cobol 6.3 takes more resources to compile than 
4.2 but should I be concerned about how much?

Memory usage is much higher in the COBOL V5/6.x versions than in any earlier 
version.  IBM tells you this explicitly in all its migration advice that I have 
seen.  In our shop we use the max locally allowed memory per programmer batch 
job (IEFUTL00 limit) for every compile step, 640M.

IBM also explicitly warns about possibly significantly increased CPU usage, but 
I think I remember they did say that was (mainly) for the advanced 
optimization.  If you are using OPT(0) that shouldn't add to CPU vs V4.2.

Are your CICS compiles using the CICS co-processor in the compile step or the 
CICS pre-processor utility?  Ours still use the preprocessor for both CICS and 
for DB2 and for combinations of CICS and DB2.  It's possible that would make a 
difference if you are currently using the co-processor.

Peter

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Pommier, Rex
Sent: Monday, April 18, 2022 4:18 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: I knew Cobol 6.3 takes more resources to compile than 4.2 but should I 
be concerned about how much?

Hi list,

Should I be concerned about the amount of resources Cobol 6.3 is occasionally 
using as compared to 4.2?  I have one particular example that was brought to 
our attention due to the fact that we ran out of page space in our small shop.  
I finally got it to compile after tripling my page space.  It is a CICS program 
and is only 11270 lines long.  I am compiling with Expediter, but have 
optimization(0) configured so there is no additional compile-time processing 
being done to optimize the load module.   I removed Expediter and still had the 
issues.  Here are my comparisons.  Has anybody else seen this kind of huge 
increase?


Cobol42 without Expediter  TCB .00499 minuteswall clock 2 seconds  paging 0 
  serv  14956
Cobol42 with Expediter   TCB  .0138 minutes   wall clock 2 seconds   paging 0   
serv 39158
Cobol63 without Expediter  TCB  8.665 minutes   wall clock 31 minutes  paging 
3185K   serv  23,371,699
Cobol63 with Expediter  TCB  8.519 minutes  wall clock 23 minutes  paging 4522K 
  serv  22,980,890

I will be opening a ticket with IBM but was wondering if anybody else has seen 
this kind of spike.  I have only seen this on one program and I have had my 
developers compile hundreds of programs.  I've seen CPU and wall clock time 
increases but nothing like this.  Obviously wall clock time is so variable due 
to other tasks running, I just included it to show the drastic increase.  2 
seconds to 23-31 minutes is insane.

Thanks,

Rex

--

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


Re: Trying to understand SMF30_RAXFLAGS

2022-04-18 Thread Charles Mills
You're right of course. Other systems count bits the other direction. You
can make an argument for either approach.

- 0 as the high bit corresponds to how we generally represent binary
integers, with the high order bit on the left.
- 0 as the low bit gives you consistency across 8, 16, 32 and 64 bit
operands, and makes the bit numbers correspond to powers of 2.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Michael Oujesky
Sent: Monday, April 18, 2022 2:15 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Trying to understand SMF30_RAXFLAGS

My reading of Principals of Operation indicates register 
documentation has bit 0 as the high order bit, not lower order bit.

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


Re: DB2: Combining result sets

2022-04-18 Thread Bernd Oppolzer
If the results in col1, col2 and col3 may be different for the same 
"something" condition

in tables table1 thru table3, my solution is not correct.

In this case, you need some sort of "select from table1 ... union all ...
select from table2 where not exists (result from table1)" etc. etc.

But this is a complete other requirement. You should maybe be more 
specific about

what your targets are.

Kind regards

Bernd


Am 19.04.2022 um 00:02 schrieb Bernd Oppolzer:

select col1, col2, col3, min (wherefound)
  from (select col1, col2, col3, 'source 1' as wherefound
  from table1
 where something
  union ALL
    select col1, col2, col3, 'source 2' as wherefound
  from table2
 where something
  union ALL
    select col1, col2, col3, 'source 3'  as wherefound
  from table3
 where something) as t1
 group by col1, col2, col3

I changed the UNION to UNION ALL, BTW;

kind regards

Bernd


Am 18.04.2022 um 19:48 schrieb Binyamin Dissen:

Seems that I have been knocked off of the DB2-L listserv.

I am doing a union of three queries where it is possible that the 
critical

columns are in more than one of the queries.

For example:

  select col1, col2 col3, 'source 1'
   from table1
   where something
  union
  select col1, col2, col3,, 'source 2'
    from table2
   where something
  union
  select col1, col2, col3, 'source 3'
 from table3
 where something

I would like a single row even if the data (col1, col2, col3) is in 
more than
one of the queries, so that 'source1' is returned if in table1 and 
table2
and/or table3, 'source 2' if not in table1 but in table2 (and perhaps 
table3)

and 'source 3' if only in table 3.

--
Binyamin Dissen 
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

--
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: [EXTERNAL] Re: I knew Cobol 6.3 takes more resources to compile than 4.2 but should I be concerned about how much?

2022-04-18 Thread Pommier, Rex
Hi Peter,

I agree that IBM has warned of significantly higher CPU and memory 
requirements, and we've seen increases, but to go from .3 CPU seconds to over 
500 - a 1500 fold increase seems more than a bit excessive to me.  

We're using the CICS coprocessor.  

Rex

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Farley, Peter x23353
Sent: Monday, April 18, 2022 3:52 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: [EXTERNAL] Re: I knew Cobol 6.3 takes more resources to compile than 
4.2 but should I be concerned about how much?

Memory usage is much higher in the COBOL V5/6.x versions than in any earlier 
version.  IBM tells you this explicitly in all its migration advice that I have 
seen.  In our shop we use the max locally allowed memory per programmer batch 
job (IEFUTL00 limit) for every compile step, 640M.

IBM also explicitly warns about possibly significantly increased CPU usage, but 
I think I remember they did say that was (mainly) for the advanced 
optimization.  If you are using OPT(0) that shouldn't add to CPU vs V4.2.

Are your CICS compiles using the CICS co-processor in the compile step or the 
CICS pre-processor utility?  Ours still use the preprocessor for both CICS and 
for DB2 and for combinations of CICS and DB2.  It's possible that would make a 
difference if you are currently using the co-processor.

Peter

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Pommier, Rex
Sent: Monday, April 18, 2022 4:18 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: I knew Cobol 6.3 takes more resources to compile than 4.2 but should I 
be concerned about how much?

Hi list,

Should I be concerned about the amount of resources Cobol 6.3 is occasionally 
using as compared to 4.2?  I have one particular example that was brought to 
our attention due to the fact that we ran out of page space in our small shop.  
I finally got it to compile after tripling my page space.  It is a CICS program 
and is only 11270 lines long.  I am compiling with Expediter, but have 
optimization(0) configured so there is no additional compile-time processing 
being done to optimize the load module.   I removed Expediter and still had the 
issues.  Here are my comparisons.  Has anybody else seen this kind of huge 
increase?


Cobol42 without Expediter  TCB .00499 minuteswall clock 2 seconds  paging 0 
  serv  14956
Cobol42 with Expediter   TCB  .0138 minutes   wall clock 2 seconds   paging 0   
serv 39158
Cobol63 without Expediter  TCB  8.665 minutes   wall clock 31 minutes  paging 
3185K   serv  23,371,699
Cobol63 with Expediter  TCB  8.519 minutes  wall clock 23 minutes  paging 4522K 
  serv  22,980,890

I will be opening a ticket with IBM but was wondering if anybody else has seen 
this kind of spike.  I have only seen this on one program and I have had my 
developers compile hundreds of programs.  I've seen CPU and wall clock time 
increases but nothing like this.  Obviously wall clock time is so variable due 
to other tasks running, I just included it to show the drastic increase.  2 
seconds to 23-31 minutes is insane.

Thanks,

Rex

--

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

--
The information contained in this message is confidential, protected from 
disclosure and may be legally privileged. If the reader of this message is not 
the intended recipient or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any disclosure, 
distribution, copying, or any action taken or action omitted in reliance on it, 
is strictly prohibited and may be unlawful. If you have received this 
communication in error, please notify us immediately by replying to this 
message and destroy the material in its entirety, whether in electronic or hard 
copy format. Thank you.

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


Re: SYSLOG port usage

2022-04-18 Thread Pew, Curtis G
On Apr 18, 2022, at 12:48 PM, Tom Longfellow 
<03e29b607131-dmarc-requ...@listserv.ua.edu> wrote:
> 
> I have been wandering in the wilderness of unix syslogs under z/OS and have 
> been unable to find a definitive answer to the following question.
> 
> Does z/OS SYSLOGD daemon support TCP protocol connections for incoming 
> messages from other hosts??
> 

When you start up a syslog daemon on z/OS, you must pass it either ‘-c’ or ‘-n’ 
as an argument. A daemon with ‘-c’ only accepts local syslog calls, while one 
with ‘-n’ only accepts remote calls. If you want to do both, you need to start 
two daemons with the two different arguments. The default JCL IBM supplies has 
‘-c’, so if you’re using that it won’t accept remote UDP connections.

Hope this helps.


-- 
Pew, Curtis G
curtis@austin.utexas.edu






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


Re: DB2: Combining result sets

2022-04-18 Thread Bernd Oppolzer

select col1, col2, col3, min (wherefound)
  from (select col1, col2, col3, 'source 1' as wherefound
  from table1
 where something
  union ALL
select col1, col2, col3, 'source 2' as wherefound
  from table2
 where something
  union ALL
select col1, col2, col3, 'source 3'  as wherefound
  from table3
 where something) as t1
 group by col1, col2, col3

I changed the UNION to UNION ALL, BTW;

kind regards

Bernd


Am 18.04.2022 um 19:48 schrieb Binyamin Dissen:

Seems that I have been knocked off of the DB2-L listserv.

I am doing a union of three queries where it is possible that the critical
columns are in more than one of the queries.

For example:

  select col1, col2 col3, 'source 1'
   from table1
   where something
  union
  select col1, col2, col3,, 'source 2'
from table2
   where something
  union
  select col1, col2, col3, 'source 3'
 from table3
 where something

I would like a single row even if the data (col1, col2, col3) is in more than
one of the queries, so that 'source1' is returned if in table1 and table2
and/or table3, 'source 2' if not in table1 but in table2 (and perhaps table3)
and 'source 3' if only in table 3.

--
Binyamin Dissen 
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

--
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: Trying to understand SMF30_RAXFLAGS

2022-04-18 Thread Michael Oujesky
My reading of Principals of Operation indicates register 
documentation has bit 0 as the high order bit, not lower order bit.


Michael

At 11:20 AM 4/18/2022, Charles Mills wrote:

Sorry. Bit 0 is usually the X'01' bit in mainframe doc (other than UNIX).

So is my interpretation correct?

SMF30_USERKEYCSAUSAGE is x'02'?

Charles


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


Re: I knew Cobol 6.3 takes more resources to compile than 4.2 but should I be concerned about how much?

2022-04-18 Thread Charles Mills
In my research for a client we saw dramatically increased compile times,
both CPU and elapsed, for COBOL 6.2 as opposed to 4.2. It was particularly
dramatic for larger programs, and with OPT(1) and OPT(2).

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Pommier, Rex
Sent: Monday, April 18, 2022 1:18 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: I knew Cobol 6.3 takes more resources to compile than 4.2 but
should I be concerned about how much?

Hi list,

Should I be concerned about the amount of resources Cobol 6.3 is
occasionally using as compared to 4.2?  I have one particular example that
was brought to our attention due to the fact that we ran out of page space
in our small shop.  I finally got it to compile after tripling my page
space.  It is a CICS program and is only 11270 lines long.  I am compiling
with Expediter, but have optimization(0) configured so there is no
additional compile-time processing being done to optimize the load module.
I removed Expediter and still had the issues.  Here are my comparisons.  Has
anybody else seen this kind of huge increase?


Cobol42 without Expediter  TCB .00499 minuteswall clock 2 seconds
paging 0   serv  14956
Cobol42 with Expediter   TCB  .0138 minutes   wall clock 2 seconds   paging
0   serv 39158
Cobol63 without Expediter  TCB  8.665 minutes   wall clock 31 minutes
paging 3185K   serv  23,371,699
Cobol63 with Expediter  TCB  8.519 minutes  wall clock 23 minutes  paging
4522K   serv  22,980,890

I will be opening a ticket with IBM but was wondering if anybody else has
seen this kind of spike.  I have only seen this on one program and I have
had my developers compile hundreds of programs.  I've seen CPU and wall
clock time increases but nothing like this.  Obviously wall clock time is so
variable due to other tasks running, I just included it to show the drastic
increase.  2 seconds to 23-31 minutes is insane.

Thanks,

Rex

--
The information contained in this message is confidential, protected from
disclosure and may be legally privileged. If the reader of this message is
not the intended recipient or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby notified
that any disclosure, distribution, copying, or any action taken or action
omitted in reliance on it, is strictly prohibited and may be unlawful. If
you have received this communication in error, please notify us immediately
by replying to this message and destroy the material in its entirety,
whether in electronic or hard copy format. Thank you.

--
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: I knew Cobol 6.3 takes more resources to compile than 4.2 but should I be concerned about how much?

2022-04-18 Thread Farley, Peter x23353
Memory usage is much higher in the COBOL V5/6.x versions than in any earlier 
version.  IBM tells you this explicitly in all its migration advice that I have 
seen.  In our shop we use the max locally allowed memory per programmer batch 
job (IEFUTL00 limit) for every compile step, 640M.

IBM also explicitly warns about possibly significantly increased CPU usage, but 
I think I remember they did say that was (mainly) for the advanced 
optimization.  If you are using OPT(0) that shouldn't add to CPU vs V4.2.

Are your CICS compiles using the CICS co-processor in the compile step or the 
CICS pre-processor utility?  Ours still use the preprocessor for both CICS and 
for DB2 and for combinations of CICS and DB2.  It's possible that would make a 
difference if you are currently using the co-processor.

Peter

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Pommier, Rex
Sent: Monday, April 18, 2022 4:18 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: I knew Cobol 6.3 takes more resources to compile than 4.2 but should I 
be concerned about how much?

Hi list,

Should I be concerned about the amount of resources Cobol 6.3 is occasionally 
using as compared to 4.2?  I have one particular example that was brought to 
our attention due to the fact that we ran out of page space in our small shop.  
I finally got it to compile after tripling my page space.  It is a CICS program 
and is only 11270 lines long.  I am compiling with Expediter, but have 
optimization(0) configured so there is no additional compile-time processing 
being done to optimize the load module.   I removed Expediter and still had the 
issues.  Here are my comparisons.  Has anybody else seen this kind of huge 
increase?


Cobol42 without Expediter  TCB .00499 minuteswall clock 2 seconds  paging 0 
  serv  14956
Cobol42 with Expediter   TCB  .0138 minutes   wall clock 2 seconds   paging 0   
serv 39158
Cobol63 without Expediter  TCB  8.665 minutes   wall clock 31 minutes  paging 
3185K   serv  23,371,699
Cobol63 with Expediter  TCB  8.519 minutes  wall clock 23 minutes  paging 4522K 
  serv  22,980,890

I will be opening a ticket with IBM but was wondering if anybody else has seen 
this kind of spike.  I have only seen this on one program and I have had my 
developers compile hundreds of programs.  I've seen CPU and wall clock time 
increases but nothing like this.  Obviously wall clock time is so variable due 
to other tasks running, I just included it to show the drastic increase.  2 
seconds to 23-31 minutes is insane.

Thanks,

Rex

--

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


I knew Cobol 6.3 takes more resources to compile than 4.2 but should I be concerned about how much?

2022-04-18 Thread Pommier, Rex
Hi list,

Should I be concerned about the amount of resources Cobol 6.3 is occasionally 
using as compared to 4.2?  I have one particular example that was brought to 
our attention due to the fact that we ran out of page space in our small shop.  
I finally got it to compile after tripling my page space.  It is a CICS program 
and is only 11270 lines long.  I am compiling with Expediter, but have 
optimization(0) configured so there is no additional compile-time processing 
being done to optimize the load module.   I removed Expediter and still had the 
issues.  Here are my comparisons.  Has anybody else seen this kind of huge 
increase?


Cobol42 without Expediter  TCB .00499 minuteswall clock 2 seconds  paging 0 
  serv  14956
Cobol42 with Expediter   TCB  .0138 minutes   wall clock 2 seconds   paging 0   
serv 39158
Cobol63 without Expediter  TCB  8.665 minutes   wall clock 31 minutes  paging 
3185K   serv  23,371,699
Cobol63 with Expediter  TCB  8.519 minutes  wall clock 23 minutes  paging 4522K 
  serv  22,980,890

I will be opening a ticket with IBM but was wondering if anybody else has seen 
this kind of spike.  I have only seen this on one program and I have had my 
developers compile hundreds of programs.  I've seen CPU and wall clock time 
increases but nothing like this.  Obviously wall clock time is so variable due 
to other tasks running, I just included it to show the drastic increase.  2 
seconds to 23-31 minutes is insane.

Thanks,

Rex

--
The information contained in this message is confidential, protected from 
disclosure and may be legally privileged. If the reader of this message is not 
the intended recipient or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any disclosure, 
distribution, copying, or any action taken or action omitted in reliance on it, 
is strictly prohibited and may be unlawful. If you have received this 
communication in error, please notify us immediately by replying to this 
message and destroy the material in its entirety, whether in electronic or hard 
copy format. Thank you.

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


Re: Trying to understand SMF30_RAXFLAGS

2022-04-18 Thread Charles Mills
Thanks but it is pretty clear that the bits are X'80' and so forth.

The client was seeing 1, 2 and 3 because they were looking at the wrong byte 
(SMF30MES).

Displaying the correct byte they are seeing 128's, which is good -- says audit 
is on but no usage.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Tony Harminc
Sent: Monday, April 18, 2022 12:31 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Trying to understand SMF30_RAXFLAGS

On Mon, 18 Apr 2022 at 12:20, Charles Mills  wrote:
>
> Sorry. Bit 0 is usually the X'01' bit in mainframe doc (other than UNIX).

I think you were right the first time.

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


Re: Trying to understand SMF30_RAXFLAGS

2022-04-18 Thread Tony Harminc
On Mon, 18 Apr 2022 at 12:20, Charles Mills  wrote:
>
> Sorry. Bit 0 is usually the X'01' bit in mainframe doc (other than UNIX).

I think you were right the first time.

Tony H.

> So is my interpretation correct?
>
> SMF30_USERKEYCSAUSAGE is x'02'?
>
> Charles
>
>
> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Charles Mills
> Sent: Monday, April 18, 2022 8:33 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Trying to understand SMF30_RAXFLAGS
>
> We have a client who is trying to report on user key CSA usage. He is having
> trouble understanding the IBM doc, as am I.
>
> The SMF doc I am familiar with documents bits as X'80', X'40', etc. But the
> SMF30_RAXFLAGS doc (both the APAR and the new manual) documents the bits as
> Bit 0, Bit 1, etc. Usually in mainframe documentation "bit 0" refers to the
> x'80' bit. But what the client is seeing is values for SMF30_RAXFLAGS of
> binary 1, 2 or 3.
>
> Can anyone confirm my interpretation of what he is seeing that by "bit 0"
> IBM means X'01', by "bit 1" they mean x'02', and so forth?
>
> --
> 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: DB2: Combining result sets

2022-04-18 Thread Binyamin Dissen
I should have mentioned that this is a cursor.

On Mon, 18 Apr 2022 14:32:11 -0400 Bob Bridges  wrote:

:>Are col1, col2 and col3 going to be identical in all three tables?  You
:>don't need to know which table they came from?
:>
:>Offhand it seems to me you want a subquery, something like this:
:>
:>  Select first col1 col2 col3, src
:>  From (
:>select col1, col2 col3, 'source 1'
:>from table1
:>where something
:>  union
:>select col1, col2, col3,, 'source 2'
:>from table2
:>where something
:>  union 
:>select col1, col2, col3, 'source 3'
:>from table3
:>where something)
:>
:>...Hm, it seems my SQL has collected a year or two's rust; I'd have to think
:>out exactly how this would work.  But maybe this is enough of a hint for you
:>to get the rest of it (he finishes weakly).
:>
:>---
:>Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313
:>
:>/* One of the most practical of our present safeguards of privacy is the
:>fragmented nature of personal information.  It is scattered in little bits
:>across the geography and years of our life.  Retrieval is impractical and
:>often impossible.  A central data bank removes completely this safeguard.
:>-Congressman Frank Horton, in the early 1970s before the Internet */
:>
:>-Original Message-
:>From: IBM Mainframe Discussion List  On Behalf Of
:>Binyamin Dissen
:>Sent: Monday, April 18, 2022 13:48
:>
:>Seems that I have been knocked off of the DB2-L listserv.
:>
:>I am doing a union of three queries where it is possible that the critical
:>columns are in more than one of the queries.
:>
:>For example:
:>
:> select col1, col2 col3, 'source 1'
:>  from table1
:>  where something
:> union
:> select col1, col2, col3,, 'source 2'
:>   from table2
:>  where something
:> union 
:> select col1, col2, col3, 'source 3'
:>from table3
:>where something
:>
:>I would like a single row even if the data (col1, col2, col3) is in more
:>than one of the queries, so that 'source1' is returned if in table1 and
:>table2 and/or table3, 'source 2' if not in table1 but in table2 (and perhaps
:>table3) and 'source 3' if only in table 3.
:>
:>--
:>For IBM-MAIN subscribe / signoff / archive access instructions,
:>send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
Binyamin Dissen 
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

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


Re: DB2: Combining result sets

2022-04-18 Thread Bob Bridges
Are col1, col2 and col3 going to be identical in all three tables?  You
don't need to know which table they came from?

Offhand it seems to me you want a subquery, something like this:

  Select first col1 col2 col3, src
  From (
select col1, col2 col3, 'source 1'
from table1
where something
  union
select col1, col2, col3,, 'source 2'
from table2
where something
  union 
select col1, col2, col3, 'source 3'
from table3
where something)

...Hm, it seems my SQL has collected a year or two's rust; I'd have to think
out exactly how this would work.  But maybe this is enough of a hint for you
to get the rest of it (he finishes weakly).

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

/* One of the most practical of our present safeguards of privacy is the
fragmented nature of personal information.  It is scattered in little bits
across the geography and years of our life.  Retrieval is impractical and
often impossible.  A central data bank removes completely this safeguard.
-Congressman Frank Horton, in the early 1970s before the Internet */

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of
Binyamin Dissen
Sent: Monday, April 18, 2022 13:48

Seems that I have been knocked off of the DB2-L listserv.

I am doing a union of three queries where it is possible that the critical
columns are in more than one of the queries.

For example:

 select col1, col2 col3, 'source 1'
  from table1
  where something
 union
 select col1, col2, col3,, 'source 2'
   from table2
  where something
 union 
 select col1, col2, col3, 'source 3'
from table3
where something

I would like a single row even if the data (col1, col2, col3) is in more
than one of the queries, so that 'source1' is returned if in table1 and
table2 and/or table3, 'source 2' if not in table1 but in table2 (and perhaps
table3) and 'source 3' if only in table 3.

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


SYSLOG port usage

2022-04-18 Thread Tom Longfellow
I have been wandering in the wilderness of  unix syslogs under z/OS and have 
been unable to find a definitive answer to the following question.

Does z/OS SYSLOGD daemon support TCP protocol connections for incoming messages 
from other hosts??

--
Here are the gory details.
1.  A DS8884 - and we want to send syslog information to the syslog server on 
z/OS (v2.4)
2.  Adding the IP address to the syslog configuration of the DS8884  'works' 
but the connection does not activate or work under 'test'.   The DS8884 does 
not allow selection of the protocol (TCP or UDP).
3.  IP tracing shows incoming packets on z/OS with TCP protocol port 514.   
Those packets are reset rejected.
4.  Documentation says that UDP 514 is the default for syslog traffic between 
hosts.
5.  There was documentation for TCP 1468 being a well known port for TCP 
protocols for syslogd.   I have no clue if this is possible on z/OS.

Any ideas??

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


DB2: Combining result sets

2022-04-18 Thread Binyamin Dissen
Seems that I have been knocked off of the DB2-L listserv.

I am doing a union of three queries where it is possible that the critical
columns are in more than one of the queries.

For example:

 select col1, col2 col3, 'source 1'
  from table1
  where something
 union
 select col1, col2, col3,, 'source 2'
   from table2
  where something
 union 
 select col1, col2, col3, 'source 3'
from table3
where something

I would like a single row even if the data (col1, col2, col3) is in more than
one of the queries, so that 'source1' is returned if in table1 and table2
and/or table3, 'source 2' if not in table1 but in table2 (and perhaps table3)
and 'source 3' if only in table 3.

--
Binyamin Dissen 
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

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


Re: HS student with question about small mainframe DASD

2022-04-18 Thread Mike Schwab
Or " I bought a z114, now what? " Share presentation?

On Mon, Apr 18, 2022 at 9:55 AM Seymour J Metz  wrote:
>
> If he gets it up, might IBM ask him to write up the experience for a redbook?
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
> 
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
> Timothy Sipples [sipp...@sg.ibm.com]
> Sent: Monday, April 18, 2022 1:19 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: HS student with question about small mainframe DASD
>
> Enzo,
>
> Here’s a “quick highlights” tour of the IBM z114 with hobbyist intentions. 
> This information is thoroughly unofficial. Let’s first run through the 
> highest operating system releases that the IBM z114 supports:
>
> z/OS 2.2 (current is 2.5)
> z/VM 6.4 (current is 7.2)
> IBM z/VSE 6.2 (current from IBM)
> [Ask 21st Century Software about VSEn 6.3]
> z/TPF: officially sometime prior to 1.1.0.14 (current is 2022)
> Linux: up to SLES 12.x, up to RHEL 7.x
> Ubuntu no (Canonical started with z12), but current Debian 11 (“bullseye”) 
> should still be OK
>
> Summary: With a couple exceptions (such as Debian Linux and z/VSE) current 
> operating system releases are no longer compatible with the IBM z114. I don’t 
> know if this fact is a “veto” or not, but it’s something to be aware of.
>
> z/OS, z/VM, z/VSE, z/TPF, and VSEn are licensed operating systems. You’ll 
> need to contact IBM (or 21st Century Software) and somehow obtain a license 
> if you’d like to run any of those. Those releases (except for z/VSE 6.2 and 
> VSEn 6.3) are also Withdrawn from Marketing, so they’d require a very special 
> order if it’s even possible.
>
> z/OS and z/TPF require ECKD (FICON-attached) storage, and z/TPF’s storage 
> requirements are slightly more involved than that simple statement. All the 
> other operating systems support “SCSI” (FC-attached) storage. If your z114 
> includes ESCON ports then that’s another possible option, although there 
> wasn’t a lot of physically small ESCON-attached storage. And ESCON storage is 
> very old now, although it’d probably be inexpensive if you find it. The IBM 
> z114 was the very last IBM Z server that (optionally) supported ESCON without 
> a converter box. FICON-attached (and ESCON-attached) storage is directly 
> attachable: no SAN switch required. You’re quite correct that the smallest 
> FICON-attached storage that IBM ever made was the IBM DS6000 family (a.k.a. 
> DS6800). If you can find one in working condition and suitably configured 
> it’ll support up to 2 Gb/s FICON (“FICON 2”). As long as your IBM z114 has 
> any sort of working FICON ports that should be fine since even the FICON 
> Express8S adapters can negotiate down to 2 Gb/s. A minority of IBM z114 
> machines have only ESCON ports (or occasionally no storage ports at all if 
> they were Coupling Facility machines), or the FICON ports aren’t working for 
> some reason. That’d be bad, although if it has both ESCON and FICON that 
> could be useful. (An ESCON-attached tape drive, for example.) Hypothetically 
> you could start the z/OS Customized Offerings Driver (COD) Version 3.1 
> without FICON-attached storage available (from the HMC DVD typically), but 
> that probably wouldn’t be too exciting except as a basic machine test.
>
> Speaking of which, does this z114 include a working HMC?
>
> z/OS, z/VSE, z/TPF, and VSEn also require at least one general purpose 
> processor (CP) on the machine, subcapacity or otherwise. In other words the 
> machine needs to be an A01 capacity model or higher for those operating 
> systems. It was possible to configure a z114 without CPs. The z114 included a 
> minimum of 8GB of usable memory, so memory shouldn’t be a problem for 
> hobbyist purposes. Other engine types (IFLs, zIIPs, ICFs) are less 
> interesting but can be nice to have, particularly the IFLs I’d say. If the 
> seller says “Oh, it’s a M05” or “It’s a M10” (or 2818-M05/2818-M10), that 
> probably refers to the hardware model. There is a M05 capacity model, i.e. 
> z114 machines configured with 5 CPs set to the “M” subcapacity level. This 
> M05/M05 can be confusing if you’re trying to figure out what you’re getting 
> before you get it, so just try to clarify that point. The 2818-M05 (hardware 
> model) is a single drawer machine, and the 2818-M10 is a dual drawer machine. 
> For power draw/hobbyist purposes the single drawer configuration is likely 
> preferable, although I suppose if you’re very careful and know what you’re 
> doing you might be able to “field convert” a M10 to a M05. I also suppose 
> that the M10 adds some redundancy, so if something breaks or is broken you’re 
> slightly more likely to be able to soldier on.
>
> For FC-attached storage, officially (and probably technically also) you’ll 
> need a suitable SAN switch in the loop. I see a used IBM 2498-B24 (SAN24B-4) 
> SAN switch on eBay for $49 or best offer, and that’d probably 

FW: Trying to understand SMF30_RAXFLAGS

2022-04-18 Thread Barry Merrill
  MXG decodes these raxflags:

  SMF30_RAXFLAGS='AUDIT*USERKEY*CSA*FLAGS'
  SMF30_RAXFLAG0='RAX0*USERKEY*COMMON*AUDIT*ENABLED?'
  SMF30_RAXFLAG1='RAX1*USERKEY*COMMON*AUDIT*USAGE?'
  SMF30_RAXFLAG2='RAX2*USERKEY*CADS*USAGE?'
  SMF30_RAXFLAG3='RAX3*USERKEY*CHANGE*KEY*USAGE?'
  SMF30_RAXFLAG4='RAX4*USERKEY*RUCSA*USAGE?'
  SMF30_RAXFLAG5='RAX5*ATTEMPT*EARLY*RUCSA?'
  SMF30_RAXFLAG6='RAX6*ALLOW*EARLY*RUCSA?'

 IF SMF30_RAXFLAGS='1...'B THEN SMF30_RAXFLAG0='Y';
 ELSE SMF30_RAXFLAG0=' ';
 IF SMF30_RAXFLAGS='.1..'B THEN SMF30_RAXFLAG1='Y';
 ELSE SMF30_RAXFLAG1=' ';
 IF SMF30_RAXFLAGS='..1.'B THEN SMF30_RAXFLAG2='Y';
 ELSE SMF30_RAXFLAG2=' ';
 IF SMF30_RAXFLAGS='...1'B THEN SMF30_RAXFLAG3='Y';
 ELSE SMF30_RAXFLAG3=' ';
 IF SMF30_RAXFLAGS='1...'B THEN SMF30_RAXFLAG4='Y';
 ELSE SMF30_RAXFLAG4=' ';
 IF SMF30_RAXFLAGS='.1..'B THEN SMF30_RAXFLAG5='Y';
 ELSE SMF30_RAXFLAG5=' ';
 IF SMF30_RAXFLAGS='..1.'B THEN SMF30_RAXFLAG6='Y';
 ELSE SMF30_RAXFLAG6=' ';
-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of
Charles Mills
Sent: Monday, April 18, 2022 11:20 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Trying to understand SMF30_RAXFLAGS

Sorry. Bit 0 is usually the X'01' bit in mainframe doc (other than UNIX).

So is my interpretation correct? 

SMF30_USERKEYCSAUSAGE is x'02'?

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Charles Mills
Sent: Monday, April 18, 2022 8:33 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Trying to understand SMF30_RAXFLAGS

We have a client who is trying to report on user key CSA usage. He is having
trouble understanding the IBM doc, as am I.

The SMF doc I am familiar with documents bits as X'80', X'40', etc. But the
SMF30_RAXFLAGS doc (both the APAR and the new manual) documents the bits as
Bit 0, Bit 1, etc. Usually in mainframe documentation "bit 0" refers to the
x'80' bit. But what the client is seeing is values for SMF30_RAXFLAGS of
binary 1, 2 or 3.

Can anyone confirm my interpretation of what he is seeing that by "bit 0"
IBM means X'01', by "bit 1" they mean x'02', and so forth?

--
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: Trying to understand SMF30_RAXFLAGS

2022-04-18 Thread Charles Mills
Thanks.

The customer is reporting 1's, 2's and 3's, so there must be some program logic 
confusion.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Dave Jousma
Sent: Monday, April 18, 2022 9:32 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Trying to understand SMF30_RAXFLAGS

On Mon, 18 Apr 2022 08:32:53 -0700, Charles Mills  wrote:

>We have a client who is trying to report on user key CSA usage. He is having
>trouble understanding the IBM doc, as am I.
>
>The SMF doc I am familiar with documents bits as X'80', X'40', etc. But the
>SMF30_RAXFLAGS doc (both the APAR and the new manual) documents the bits as
>Bit 0, Bit 1, etc. Usually in mainframe documentation "bit 0" refers to the
>x'80' bit. But what the client is seeing is values for SMF30_RAXFLAGS of
>binary 1, 2 or 3.
>
>Can anyone confirm my interpretation of what he is seeing that by "bit 0"
>IBM means X'01', by "bit 1" they mean x'02', and so forth?
>

  /* 1000 = 80 = AUDIT ON  */   
  /* 1001 = 90 = CHANGE KEY*/   
  /* 1010 = A0 = CADS USAGE*/   
  /* 1011 = B0 = CADS+CHANGE KEY   */   
  /* 1100 = C0 = CSA USAGE */   
  /* 1101 = D0 = CSA+CHANGE KEY*/   
  /* 1110 = E0 = CSA+CADS  */   
  /*  = F0 = CSA+CADS+CHANGEKEY*/   

--
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: Trying to understand SMF30_RAXFLAGS

2022-04-18 Thread Barry Merrill
  MXG decodes as:

  SMF30_RAXFLAGS='AUDIT*USERKEY*CSA*FLAGS'
  SMF30_RAXFLAG0='RAX0*USERKEY*COMMON*AUDIT*ENABLED?'
  SMF30_RAXFLAG1='RAX1*USERKEY*COMMON*AUDIT*USAGE?'
  SMF30_RAXFLAG2='RAX2*USERKEY*CADS*USAGE?'
  SMF30_RAXFLAG3='RAX3*USERKEY*CHANGE*KEY*USAGE?'
  SMF30_RAXFLAG4='RAX4*USERKEY*RUCSA*USAGE?'
  SMF30_RAXFLAG5='RAX5*ATTEMPT*EARLY*RUCSA?'
  SMF30_RAXFLAG6='RAX6*ALLOW*EARLY*RUCSA?'

 IF SMF30_RAXFLAGS='1...'B THEN SMF30_RAXFLAG0='Y';
 ELSE SMF30_RAXFLAG0=' ';
 IF SMF30_RAXFLAGS='.1..'B THEN SMF30_RAXFLAG1='Y';
 ELSE SMF30_RAXFLAG1=' ';
 IF SMF30_RAXFLAGS='..1.'B THEN SMF30_RAXFLAG2='Y';
 ELSE SMF30_RAXFLAG2=' ';
 IF SMF30_RAXFLAGS='...1'B THEN SMF30_RAXFLAG3='Y';
 ELSE SMF30_RAXFLAG3=' ';
 IF SMF30_RAXFLAGS='1...'B THEN SMF30_RAXFLAG4='Y';
 ELSE SMF30_RAXFLAG4=' ';
 IF SMF30_RAXFLAGS='.1..'B THEN SMF30_RAXFLAG5='Y';
 ELSE SMF30_RAXFLAG5=' ';
 IF SMF30_RAXFLAGS='..1.'B THEN SMF30_RAXFLAG6='Y';
 ELSE SMF30_RAXFLAG6=' ';
-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of
Charles Mills
Sent: Monday, April 18, 2022 11:20 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Trying to understand SMF30_RAXFLAGS

Sorry. Bit 0 is usually the X'01' bit in mainframe doc (other than UNIX).

So is my interpretation correct? 

SMF30_USERKEYCSAUSAGE is x'02'?

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Charles Mills
Sent: Monday, April 18, 2022 8:33 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Trying to understand SMF30_RAXFLAGS

We have a client who is trying to report on user key CSA usage. He is having
trouble understanding the IBM doc, as am I.

The SMF doc I am familiar with documents bits as X'80', X'40', etc. But the
SMF30_RAXFLAGS doc (both the APAR and the new manual) documents the bits as
Bit 0, Bit 1, etc. Usually in mainframe documentation "bit 0" refers to the
x'80' bit. But what the client is seeing is values for SMF30_RAXFLAGS of
binary 1, 2 or 3.

Can anyone confirm my interpretation of what he is seeing that by "bit 0"
IBM means X'01', by "bit 1" they mean x'02', and so forth?

--
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: Trying to understand SMF30_RAXFLAGS

2022-04-18 Thread Dave Jousma
On Mon, 18 Apr 2022 08:32:53 -0700, Charles Mills  wrote:

>We have a client who is trying to report on user key CSA usage. He is having
>trouble understanding the IBM doc, as am I.
>
>The SMF doc I am familiar with documents bits as X'80', X'40', etc. But the
>SMF30_RAXFLAGS doc (both the APAR and the new manual) documents the bits as
>Bit 0, Bit 1, etc. Usually in mainframe documentation "bit 0" refers to the
>x'80' bit. But what the client is seeing is values for SMF30_RAXFLAGS of
>binary 1, 2 or 3.
>
>Can anyone confirm my interpretation of what he is seeing that by "bit 0"
>IBM means X'01', by "bit 1" they mean x'02', and so forth?
>

  /* 1000 = 80 = AUDIT ON  */   
  /* 1001 = 90 = CHANGE KEY*/   
  /* 1010 = A0 = CADS USAGE*/   
  /* 1011 = B0 = CADS+CHANGE KEY   */   
  /* 1100 = C0 = CSA USAGE */   
  /* 1101 = D0 = CSA+CHANGE KEY*/   
  /* 1110 = E0 = CSA+CADS  */   
  /*  = F0 = CSA+CADS+CHANGEKEY*/

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


Re: Trying to understand SMF30_RAXFLAGS

2022-04-18 Thread Charles Mills
Sorry. Bit 0 is usually the X'01' bit in mainframe doc (other than UNIX).

So is my interpretation correct? 

SMF30_USERKEYCSAUSAGE is x'02'?

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Charles Mills
Sent: Monday, April 18, 2022 8:33 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Trying to understand SMF30_RAXFLAGS

We have a client who is trying to report on user key CSA usage. He is having
trouble understanding the IBM doc, as am I.

The SMF doc I am familiar with documents bits as X'80', X'40', etc. But the
SMF30_RAXFLAGS doc (both the APAR and the new manual) documents the bits as
Bit 0, Bit 1, etc. Usually in mainframe documentation "bit 0" refers to the
x'80' bit. But what the client is seeing is values for SMF30_RAXFLAGS of
binary 1, 2 or 3.

Can anyone confirm my interpretation of what he is seeing that by "bit 0"
IBM means X'01', by "bit 1" they mean x'02', and so forth?

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


Trying to understand SMF30_RAXFLAGS

2022-04-18 Thread Charles Mills
We have a client who is trying to report on user key CSA usage. He is having
trouble understanding the IBM doc, as am I.

The SMF doc I am familiar with documents bits as X'80', X'40', etc. But the
SMF30_RAXFLAGS doc (both the APAR and the new manual) documents the bits as
Bit 0, Bit 1, etc. Usually in mainframe documentation "bit 0" refers to the
x'80' bit. But what the client is seeing is values for SMF30_RAXFLAGS of
binary 1, 2 or 3.

Can anyone confirm my interpretation of what he is seeing that by "bit 0"
IBM means X'01', by "bit 1" they mean x'02', and so forth?

Or provide some other interpretation?

Thanks,
Charles

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


Re: HS student with question about small mainframe DASD

2022-04-18 Thread Grant Taylor

On 4/18/22 12:08 AM, David Crayford wrote:
Hardware geeks like to buy hardware. It's a bit like asking me why I 
want to own a Sinclair Spectrum or a BBC Micro when I can run ZX 
Spectrum emulator in a browser or install RetroPie on one of my 
Raspberry Pi's! Emulation is just not the same experience.


I *ABSOLUTELY* agree.

However, I'm thinking about the overlap between hardware (A) / not 
hardware (B) and mainframe (1) / not mainframe (0) interest diagrams. 
If th OP is A* then hardware is a good thing.  If the OP is *1, then 
emulation /might/ be a better introduction.


If someone is very much B1 and wanting to migrate to A1 then the CEC is 
probably a good way to go about it.


I'm afraid that taking on both hardware (A) and mainframe (1) at the 
same time is a big step.  Especially when there are things that will 
require more effort / persuasion / coercion to make them work.  An 
emulator /might/ be a better entry point.


Sort of like why I wouldn't want a new sysprog to do a sysgen on day 1.



--
Grant. . . .
unix || die

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


Re: HS student with question about small mainframe DASD

2022-04-18 Thread Enzo D'Amato
>>5. A tape drive and controller
>
>Not required. Are you thinking of initial startup/OS installation? On this 
>vintage 
>machine there should be non-tape IPL (startup/“bootstrap”) options, notably 
>HMC DVD. 
>Such options were standard well before the z114. Assuming Enzo gets a working 
>HMC with 
>the z114, and assuming the HMC was ordered/shipped with the z114 (rather than 
>an older 
>carry forward HMC), it should also support USB flash memory drives. And there 
>are some 
>network-based options with the HMC. Without the HMC startup is “much more 
>interesting” 
>at least.

Based on what I read in the z114 technical guide, I thought that unless the 
machine was running in an ensemble mode, the HMC just acted as a remote 
management console for the SEs. Does the HMC have extra features that the SEs 
don't? I also have an IBM TS3200 tape library (one of the small 4U rack mount 
units) that I got broken and repaired. I'll have to see what kind of controller 
I would need for it. I have seen some FICON switches that advertise having a 
tape license, I wonder if this means that the controller unit is built in to 
the switch.

>>6.  A cluster controller and 3270 terminals, with licensed internal code
>
>Fun perhaps but not at all required. A cluster control/3270 terminals were 
>vintage way >before the z114 debuted. And if the z114 has OSA-Express 
>1000BASE-T adapters > (likely) then it should be capable of OSA-ICC if that’s 
>even needed.

I wish. I think that the old green screen CRTs still look quite cool.

>>9. An operating system. I doubt that you can get a license for anything
>>that will run on a box that old...
>
>Standard commercial licensing IBM z/VSE 6.2 (and VSEn 6.3 I believe) licensing 
>and 
>delivery are still available for the IBM z114 without any unusual or 
>exceptional 
>steps.(*) Standard commercial z/TPF 1.1 licensing and delivery might also be 
>possible 
>depending on how the z/TPF team packages/ships their PUT levels. (Not sure.)

I'd really like to get my hands on z/TPF. All of the other major IBM OSes have 
either ADCD releases, or 24-bit predecessors that are open source, so you can 
get some experience playing around with them. z/TPF has nothing, and I have 
never even seen someone do a video, or write an article about it online. It 
seems like the ulitmate challenge for the mainframe hobbyist.

>>It's likely to be less expensive to use one of the IBM offerings.
>
>Perhaps, but it depends on what the objectives are. If for example Enzo would 
>like to >get into the commercial z/VSE or VSEn service bureau business then a 
>used z114 machine 
>might be a reasonable entry point.

I am sorry, but I have never head this term before, and I could not find a 
definition online. Is there any way you could elaborate?


From: IBM Mainframe Discussion List  on behalf of 
Timothy Sipples 
Sent: Monday, April 18, 2022 2:02 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: HS student with question about small mainframe DASD

Shmuel Metz wrote:
>There are several issues that you will need to deal with in order to
>get a running system.
>[]
>2. Licensed internal code for the CEC, which may or may not
>need an upgrade

I’d say this part doesn’t matter. Whatever level(s) of LIC firmware are on the 
machine are probably going to be good enough for Enzo’s purposes.

>[]
>5. A tape drive and controllwe

Not required. Are you thinking of initial startup/OS installation? On this 
vintage machine there should be non-tape IPL (startup/“bootstrap”) options, 
notably HMC DVD. Such options were standard well before the z114. Assuming Enzo 
gets a working HMC with the z114, and assuming the HMC was ordered/shipped with 
the z114 (rather than an older carry forward HMC), it should also support USB 
flash memory drives. And there are some network-based options with the HMC. 
Without the HMC startup is “much more interesting” at least.

>6.  A cluster controller and 3270 terminals, with licensed internal code

Fun perhaps but not at all required. A cluster control/3270 terminals were 
vintage way before the z114 debuted. And if the z114 has OSA-Express 1000BASE-T 
adapters (likely) then it should be capable of OSA-ICC if that’s even needed.

>9. An operating system. I doubt that you can get a license for anything
>that will run on a box that old...

Standard commercial licensing IBM z/VSE 6.2 (and VSEn 6.3 I believe) licensing 
and delivery are still available for the IBM z114 without any unusual or 
exceptional steps.(*) Standard commercial z/TPF 1.1 licensing and delivery 
might also be possible depending on how the z/TPF team packages/ships their PUT 
levels. (Not sure.)

>and I don't know whether the free DOS/VSE, OS/VS or VM will run on it.

Not without a lot of contrivance.

A MUSIC/SP hobbyist license is possibly available if you know the right party 
to ask, but I really can’t speak to that and don’t actually know. MUSIC/SP 
would probably work on an IBM 

Re: HS student with question about small mainframe DASD

2022-04-18 Thread Seymour J Metz
Yes, Linux should run on it.

"DEASD" is a typo and should be DASD.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Joe 
Monk [joemon...@gmail.com]
Sent: Sunday, April 17, 2022 9:57 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: HS student with question about small mainframe DASD

"9. An operating system. I doubt that you can get a license for anything
 that will run on a box that old, and I don't know whether the free
DOS/VSE, OS/VS or VM will run on it.."

What about Linux/390?

Joe

On Sun, Apr 17, 2022 at 4:30 PM Seymour J Metz  wrote:

> There are several issues that you will need to deal with in order to get a
> running system.
>
>  1. The CEC itself; you will need to know how it is configured.
>
>  2. Licensed internal code for the CEC, which may or may not need an
> upgrade
>
>  3. HMC and SE
>
>  4. A DEASD subsystem
>
>  5. A tape drive and controllwe
>
>  6.  A cluster controller and 3270 terminals, with licensed internal code
>
>  7. Cabling
>
>  8. Power and cooling
>
>  9. An operating system. I doubt that you can get a license for anything
>  that will run on a box that old, and I don't know whether the free
> DOS/VSE, OS/VS or VM will run on it.
>
> It's likely to be less expensive to use one of the IBM offerings.
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
> 
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf
> of Enzo D'Amato [edam...@octechservices.org]
> Sent: Friday, April 15, 2022 5:32 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: HS student with question about small mainframe DASD
>
> Hello. I am a US high school student who is seriously considering
> acquiring a z114 mainframe. I have found a listing selling one for a price
> that I think is reasonable, and I have determined that I can meet the
> space, transportation and power requirements for the machine. I did however
> have one question before I continued. I know in Connor Krukosky's talk, his
> biggest issue was finding DASD for the machine. I have looked, and it
> appears that proper ficon DASD is still rare. My situation is not quite as
> significant as Connor's , as my machine has SCSI IPL as a native feature.
> Despite this, I wanted to know if anyone here could give some advice on the
> topic. Would the machine still provide a good learning experience with just
> FBA storage?​
>
> Thank you for any information that you can provide
>
>
> --
> 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: HS student with question about small mainframe DASD

2022-04-18 Thread Seymour J Metz
Now there's an antique!


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Paul Gilmartin [000433f07816-dmarc-requ...@listserv.ua.edu]
Sent: Sunday, April 17, 2022 10:16 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: HS student with question about small mainframe DASD

On Sun, 17 Apr 2022 21:57:38 -0400, Joe Monk wrote:

>"9. An operating system. I doubt that you can get a license for anything
> that will run on a box that old, and I don't know whether the free
>DOS/VSE, OS/VS or VM will run on it.."
>
>What about Linux/390?
>
There are easier ways to run Linux.  Perhaps on Hercules.

But there's the challenge.  I know a man who had a Bendix G-15
in his garage.

--
gil

--
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: Reliable source for OCO?

2022-04-18 Thread Seymour J Metz
I believe that the grammar is corrrect, but the duplication is a typo. Yes, I 
meant to include z/OS. I did not know whther OCO applied to z/TPF.

The {{dubious}} template was at the end of a string of footnotes, so I may have 
misinterpreted its scope.

The logic manuals that I cited are not for z/foo, but for their S/360 
antecedents; the OCO comment was only there to clarify why I didn't cite 
current manuals.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Timothy Sipples [sipp...@sg.ibm.com]
Sent: Sunday, April 17, 2022 11:38 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Reliable source for OCO?

Shmuel Metz wrote:

>I'm editing the wikipedia [[Operating system]] article, and another editor

>has challenged the sentence "The logic manuals for their contemporary 
>descendants,

>z/VM, z/VSE and z/VM, are not available to the general public."



Is that editor actually challenging you on your use of commas? :-) And did you 
mean to repeat z/VM? I assume you meant z/OS.



If this statement or similar is so important here, what similar statement can 
you make that you can back up with an acceptable source? Sometimes if you find 
another way to write something it’ll be fine. Perhaps you could write something 
like this:



“IBM publicly distributed ‘logic manuals’ that describe ancestors of today’s 
z/VM, z/VSE, and z/OS operating systems.”



Then you link to those three logic manuals in your reference.



Also, z/TPF?

— — — — —
Timothy Sipples
Senior Architect
Digital Assets, Industry Solutions, and Cyber Security
IBM zSystems and LinuxONE
sipp...@sg.ibm.com


--
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: HS student with question about small mainframe DASD

2022-04-18 Thread Seymour J Metz
If he gets it up, might IBM ask him to write up the experience for a redbook?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Timothy Sipples [sipp...@sg.ibm.com]
Sent: Monday, April 18, 2022 1:19 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: HS student with question about small mainframe DASD

Enzo,

Here’s a “quick highlights” tour of the IBM z114 with hobbyist intentions. This 
information is thoroughly unofficial. Let’s first run through the highest 
operating system releases that the IBM z114 supports:

z/OS 2.2 (current is 2.5)
z/VM 6.4 (current is 7.2)
IBM z/VSE 6.2 (current from IBM)
[Ask 21st Century Software about VSEn 6.3]
z/TPF: officially sometime prior to 1.1.0.14 (current is 2022)
Linux: up to SLES 12.x, up to RHEL 7.x
Ubuntu no (Canonical started with z12), but current Debian 11 (“bullseye”) 
should still be OK

Summary: With a couple exceptions (such as Debian Linux and z/VSE) current 
operating system releases are no longer compatible with the IBM z114. I don’t 
know if this fact is a “veto” or not, but it’s something to be aware of.

z/OS, z/VM, z/VSE, z/TPF, and VSEn are licensed operating systems. You’ll need 
to contact IBM (or 21st Century Software) and somehow obtain a license if you’d 
like to run any of those. Those releases (except for z/VSE 6.2 and VSEn 6.3) 
are also Withdrawn from Marketing, so they’d require a very special order if 
it’s even possible.

z/OS and z/TPF require ECKD (FICON-attached) storage, and z/TPF’s storage 
requirements are slightly more involved than that simple statement. All the 
other operating systems support “SCSI” (FC-attached) storage. If your z114 
includes ESCON ports then that’s another possible option, although there wasn’t 
a lot of physically small ESCON-attached storage. And ESCON storage is very old 
now, although it’d probably be inexpensive if you find it. The IBM z114 was the 
very last IBM Z server that (optionally) supported ESCON without a converter 
box. FICON-attached (and ESCON-attached) storage is directly attachable: no SAN 
switch required. You’re quite correct that the smallest FICON-attached storage 
that IBM ever made was the IBM DS6000 family (a.k.a. DS6800). If you can find 
one in working condition and suitably configured it’ll support up to 2 Gb/s 
FICON (“FICON 2”). As long as your IBM z114 has any sort of working FICON ports 
that should be fine since even the FICON Express8S adapters can negotiate down 
to 2 Gb/s. A minority of IBM z114 machines have only ESCON ports (or 
occasionally no storage ports at all if they were Coupling Facility machines), 
or the FICON ports aren’t working for some reason. That’d be bad, although if 
it has both ESCON and FICON that could be useful. (An ESCON-attached tape 
drive, for example.) Hypothetically you could start the z/OS Customized 
Offerings Driver (COD) Version 3.1 without FICON-attached storage available 
(from the HMC DVD typically), but that probably wouldn’t be too exciting except 
as a basic machine test.

Speaking of which, does this z114 include a working HMC?

z/OS, z/VSE, z/TPF, and VSEn also require at least one general purpose 
processor (CP) on the machine, subcapacity or otherwise. In other words the 
machine needs to be an A01 capacity model or higher for those operating 
systems. It was possible to configure a z114 without CPs. The z114 included a 
minimum of 8GB of usable memory, so memory shouldn’t be a problem for hobbyist 
purposes. Other engine types (IFLs, zIIPs, ICFs) are less interesting but can 
be nice to have, particularly the IFLs I’d say. If the seller says “Oh, it’s a 
M05” or “It’s a M10” (or 2818-M05/2818-M10), that probably refers to the 
hardware model. There is a M05 capacity model, i.e. z114 machines configured 
with 5 CPs set to the “M” subcapacity level. This M05/M05 can be confusing if 
you’re trying to figure out what you’re getting before you get it, so just try 
to clarify that point. The 2818-M05 (hardware model) is a single drawer 
machine, and the 2818-M10 is a dual drawer machine. For power draw/hobbyist 
purposes the single drawer configuration is likely preferable, although I 
suppose if you’re very careful and know what you’re doing you might be able to 
“field convert” a M10 to a M05. I also suppose that the M10 adds some 
redundancy, so if something breaks or is broken you’re slightly more likely to 
be able to soldier on.

For FC-attached storage, officially (and probably technically also) you’ll need 
a suitable SAN switch in the loop. I see a used IBM 2498-B24 (SAN24B-4) SAN 
switch on eBay for $49 or best offer, and that’d probably get the job done very 
nicely since it supports all the relevant FC line speeds you could encounter. 
Although you have to hope for a high enough firmware level perhaps since the 
z114 was introduced after that SAN switch.

If you embark on this project, good luck! 

Re: HS student with question about small mainframe DASD

2022-04-18 Thread Seymour J Metz
I had forgotten when the DVD option was available.

You can run z/OS from the HMC, if you're a masochist; I'm not sure about other 
systems. I would consider OSAA-ICC to be a cluster controller.

As a point of curiosity, what are his licensing options if he decides to look 
at z/OS or z/VM?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Timothy Sipples [sipp...@sg.ibm.com]
Sent: Monday, April 18, 2022 2:02 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: HS student with question about small mainframe DASD

Shmuel Metz wrote:
>There are several issues that you will need to deal with in order to
>get a running system.
>[]
>2. Licensed internal code for the CEC, which may or may not
>need an upgrade

I’d say this part doesn’t matter. Whatever level(s) of LIC firmware are on the 
machine are probably going to be good enough for Enzo’s purposes.

>[]
>5. A tape drive and controllwe

Not required. Are you thinking of initial startup/OS installation? On this 
vintage machine there should be non-tape IPL (startup/“bootstrap”) options, 
notably HMC DVD. Such options were standard well before the z114. Assuming Enzo 
gets a working HMC with the z114, and assuming the HMC was ordered/shipped with 
the z114 (rather than an older carry forward HMC), it should also support USB 
flash memory drives. And there are some network-based options with the HMC. 
Without the HMC startup is “much more interesting” at least.

>6.  A cluster controller and 3270 terminals, with licensed internal code

Fun perhaps but not at all required. A cluster control/3270 terminals were 
vintage way before the z114 debuted. And if the z114 has OSA-Express 1000BASE-T 
adapters (likely) then it should be capable of OSA-ICC if that’s even needed.

>9. An operating system. I doubt that you can get a license for anything
>that will run on a box that old...

Standard commercial licensing IBM z/VSE 6.2 (and VSEn 6.3 I believe) licensing 
and delivery are still available for the IBM z114 without any unusual or 
exceptional steps.(*) Standard commercial z/TPF 1.1 licensing and delivery 
might also be possible depending on how the z/TPF team packages/ships their PUT 
levels. (Not sure.)

>and I don't know whether the free DOS/VSE, OS/VS or VM will run on it.

Not without a lot of contrivance.

A MUSIC/SP hobbyist license is possibly available if you know the right party 
to ask, but I really can’t speak to that and don’t actually know. MUSIC/SP 
would probably work on an IBM z114 since that model machine can start in 
ESA/390 mode, something that MUSIC/SP requires. MUSIC/SP might be more likely 
to do more useful things (such as network I/O) on an IBM z114 when it runs 
under z/VM 6.4.

>It's likely to be less expensive to use one of the IBM offerings.

Perhaps, but it depends on what the objectives are. If for example Enzo would 
like to get into the commercial z/VSE or VSEn service bureau business then a 
used z114 machine might be a reasonable entry point.

(*) OK, granted, it’s unusual for a student to apply for an IBM credit check, 
one of the usual procedural steps to obtain a z/VSE license since IBM 
understandably wants reasonable assurance its bills will be paid. I assume it’s 
even more unusual for a student to pass that credit check. But I’m responding 
to your technical point. :-)

— — — — —
Timothy Sipples
Senior Architect
Digital Assets, Industry Solutions, and Cyber Security
IBM zSystems and LinuxONE
sipp...@sg.ibm.com


--
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: HS student with question about small mainframe DASD

2022-04-18 Thread David Crayford

On 16/4/22 06:58, Grant Taylor wrote:

Hi,

I am a US high school student who is seriously considering acquiring 
a z114 mainframe.


I hope that I don't come off too wrong when I ask, but why do you want 
a z114?  --  I completely get wanting a mainframe.  --  But why a z114? 



Hardware geeks like to buy hardware. It's a bit like asking me why I 
want to own a Sinclair Spectrum or a BBC Micro when I can run ZX 
Spectrum emulator in a browser or install RetroPie on one of my 
Raspberry Pi's! Emulation is just not the same experience.


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


Re: HS student with question about small mainframe DASD

2022-04-18 Thread Timothy Sipples
Shmuel Metz wrote:
>There are several issues that you will need to deal with in order to
>get a running system.
>[]
>2. Licensed internal code for the CEC, which may or may not
>need an upgrade

I’d say this part doesn’t matter. Whatever level(s) of LIC firmware are on the 
machine are probably going to be good enough for Enzo’s purposes.

>[]
>5. A tape drive and controllwe

Not required. Are you thinking of initial startup/OS installation? On this 
vintage machine there should be non-tape IPL (startup/“bootstrap”) options, 
notably HMC DVD. Such options were standard well before the z114. Assuming Enzo 
gets a working HMC with the z114, and assuming the HMC was ordered/shipped with 
the z114 (rather than an older carry forward HMC), it should also support USB 
flash memory drives. And there are some network-based options with the HMC. 
Without the HMC startup is “much more interesting” at least.

>6.  A cluster controller and 3270 terminals, with licensed internal code

Fun perhaps but not at all required. A cluster control/3270 terminals were 
vintage way before the z114 debuted. And if the z114 has OSA-Express 1000BASE-T 
adapters (likely) then it should be capable of OSA-ICC if that’s even needed.

>9. An operating system. I doubt that you can get a license for anything
>that will run on a box that old...

Standard commercial licensing IBM z/VSE 6.2 (and VSEn 6.3 I believe) licensing 
and delivery are still available for the IBM z114 without any unusual or 
exceptional steps.(*) Standard commercial z/TPF 1.1 licensing and delivery 
might also be possible depending on how the z/TPF team packages/ships their PUT 
levels. (Not sure.)

>and I don't know whether the free DOS/VSE, OS/VS or VM will run on it.

Not without a lot of contrivance.

A MUSIC/SP hobbyist license is possibly available if you know the right party 
to ask, but I really can’t speak to that and don’t actually know. MUSIC/SP 
would probably work on an IBM z114 since that model machine can start in 
ESA/390 mode, something that MUSIC/SP requires. MUSIC/SP might be more likely 
to do more useful things (such as network I/O) on an IBM z114 when it runs 
under z/VM 6.4.

>It's likely to be less expensive to use one of the IBM offerings.

Perhaps, but it depends on what the objectives are. If for example Enzo would 
like to get into the commercial z/VSE or VSEn service bureau business then a 
used z114 machine might be a reasonable entry point.

(*) OK, granted, it’s unusual for a student to apply for an IBM credit check, 
one of the usual procedural steps to obtain a z/VSE license since IBM 
understandably wants reasonable assurance its bills will be paid. I assume it’s 
even more unusual for a student to pass that credit check. But I’m responding 
to your technical point. :-)

— — — — —
Timothy Sipples
Senior Architect
Digital Assets, Industry Solutions, and Cyber Security
IBM zSystems and LinuxONE
sipp...@sg.ibm.com


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