Re: Trying to understand SMF30_RAXFLAGS

2022-04-19 Thread Charles Mills
IBM XL C/C++ library, the ffs (find first set [bit]) function. Not only does
it count from the LSb, it counts from one. So ffs(0x04) would return 3.

BTW and FWIW, the link garbling was at your end I think. My post survived
the round trip to my Outlook just fine except for folding/truncation.

Charles


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Seymour J Metz
Sent: Tuesday, April 19, 2022 9:51 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Trying to understand SMF30_RAXFLAGS

The GMU URL rewriter (we hates it precisous, we hates it!) garbled the URL:
what manual and what section?

Thanks.


--
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 7:09 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Trying to understand SMF30_RAXFLAGS

Except when they don't:

https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.co
m%2Fdocs%2Fen%2Fzos%2F2.3.0%3Ftopic%3Dfunctions-ffs-find-first-set-bitd
ata=05%7C01%7Csmetz3%40gmu.edu%7C03d02dae3da64eb4b32e08da21909547%7C9e857255
df574c47a0c00546460380cb%7C0%7C0%7C637859202152362257%7CUnknown%7CTWFpbGZsb3
d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%
7C%7C%7Csdata=nGxEubdIHZEl02ScOTlQQAQ3ZvrZOw9caS1%2FCdD74N8%3Drese
rved=0
-in-integer

--
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-19 Thread Seymour J Metz
The GMU URL rewriter (we hates it precisous, we hates it!) garbled the URL: 
what manual and what section?

Thanks.


--
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 7:09 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Trying to understand SMF30_RAXFLAGS

Except when they don't:

https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ibm.com%2Fdocs%2Fen%2Fzos%2F2.3.0%3Ftopic%3Dfunctions-ffs-find-first-set-bitdata=05%7C01%7Csmetz3%40gmu.edu%7C03d02dae3da64eb4b32e08da21909547%7C9e857255df574c47a0c00546460380cb%7C0%7C0%7C637859202152362257%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=nGxEubdIHZEl02ScOTlQQAQ3ZvrZOw9caS1%2FCdD74N8%3Dreserved=0
-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

--
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-19 Thread Seymour J Metz
There have also been vendors who used 1-offset numbering. Sometimes 
manufacturers used different conventions for different product lines.


--
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 6:17 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Trying to understand SMF30_RAXFLAGS

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

--
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: 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: 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: 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


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