AnsweredAssumed Answered

zOS ACF2 rexx userid/password validation (or in USS/perl) ?

Question asked by jan.rompf on Dec 22, 2016
Latest reply on Feb 1, 2017 by Kris_Horgen

Hello friends/community.

I'd lke to test mach of userid/password in z/OS CA ACF2 environment by using Rexx.
There is such way in OPSrexx (var = OPSECURE('P', 'userid', 'password', 'newpassword')  ), but this function does not work outside of OPS, where I getting error:

IEA995I SYMPTOM DUMP OUTPUT  280                                 
SYSTEM COMPLETION CODE=0C3  REASON CODE=00000003                 
 TIME=07.12.25  SEQ=04848  CPU=0000  ASID=0082                   
 PSW AT TIME OF ERROR  078D1000   9AC0135A  ILC 4  INTC 03       
   ACTIVE LOAD MODULE           ADDRESS=1AC012F0  OFFSET=0000006A
   NAME=OPSECURE                                                 
   DATA AT PSW  1AC01354 - 00044410  C06650B0  D00850D0          
   GR 0: 1AC0FC90   1: 1AC504B8                                  
      2: 00000000   3: 1AC02EFC                                  
      4: 1AC50190   5: 08226207                                  
      6: 00000000   7: 00000003                                  
      8: 00000000   9: 1AC0225A                                  
      A: 1AC02C78   B: 08224FC8                                  
      C: 9AC012F0   D: 1AC50190                                  
      E: 882260EA   F: 9AC012F0                                  
 END OF SYMPTOM DUMP                                            

IRX0250E System abend code 0C3, reason code 00000003.  
IRX0253E Abend in external function OPSECURE.          
   398 +++        spa=OPSECURE('P',word(s,7),word(s,8))

 

Maybe I do some error, or this should not work outside of OPS (as stated in documentation).

Is or will be implemented such support for Rexx as well ?
Or at least, is there such option/function in USS (zOS 2.1) ?

If not for all question, can someone give an advice, help how exactly I can create such functionality ?

Thank you

Outcomes