View previous topic :: View next topic
|
Author |
Message |
cheryala
New User
Joined: 20 Mar 2006 Posts: 47
|
|
|
|
Hello,
In my assembler program, I am using PRNO (Perform Random number operation) instruction with function PRNO-TRNG function (114) to generate random number. But this instruction is available only with Message-Security-Assist Extension 7.
Before using PRNO, I would like to check whether this MSA extension is already installed on the machine or not. If it is installed then only I would like to execute that instruction otherwise I want to give an error message.
When I browsed a little, I came to know that output of the instruction STFLE gives information about all the available extensions whether they have been installed or not.
Later I came to know that, we really don't have to execute this instruction to get that information about the available extensions. It is already stored at low core 200 (hex C8).
Now, My problem is which bit position at this location corresponds to MSA7 extension installed. After browsing, I came across the following link which is DSECT which can be mapped to this low core 200. It gives me bit positions for MSA3,4 only.
Then I searched IBM macro lib and found SYS1.MACLIB(IHAFACL) where bit positions for MSA3,4,5,8,9 ar available but not MSA7.
Do you know any other material or other source which says the bit position that talks about whether MSA7 is installed on machine or not ?
Thank you for your help in advance.
Regards
Raj |
|
Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10896 Location: italy
|
|
|
|
what happened when you tried to use the PRNO and PRNO-TRNG function
without checking the STFLE bits ??? |
|
Back to top |
|
 |
Pedro
Global Moderator

Joined: 01 Sep 2006 Posts: 2609 Location: Silicon Valley
|
|
|
|
re: found SYS1.MACLIB(IHAFACL) where bit positions for MSA3,4,5,8,9 ar available but not MSA7
I think you should open a PMR and ask that IBM provide the MSA7 location in the macro. |
|
Back to top |
|
 |
|