none of this is based because i'm on a top secret system right now and can't check. But, you might want to try the following:
1) try the system log at startup (look back from the end of the log for 'catalog selected' and forward from there to racf startup).
2) there is a RACF application (see ISPF screens) the version should appear at the top right hand corner or on one of the options that look like 'about'
The system variables defined in the Dialog test are system specific and will differ from site to site depending upon the SYS1.PARMLIB definitions. This is not reliable for finding the version numbers of the software used at your site.
The version/release info for software installed at your site may be found somewhere in the MVS control blocks. If you are not conversant with these control blocks, you may use any of the freewares available. IBM's TASID is one of the widely used ones. cbttapes have got SHOWMVS which gives you more info than you will ever need, unless you are one of the Gods (read sysprogs) at your site.
Personally, I use my own MVSVER, a REXX util that gets a quick summary of the MVS components at the site. It's basic, no-frills stuff but it works. If you need a copy, let me know.