IBM Information Management System (IMS)

Not documented reason code for DBRC API UNAUTH REQUEST

  • 1.  Not documented reason code for DBRC API UNAUTH REQUEST

    Posted Fri September 15, 2023 11:44 AM

    Hello.

    I am trying to use DBRC API UNAUTH REQUEST for the already authorized DEDB area, but the request ends with RC=8 and RSN=C1000404. Unfortunately, I could not find this reason text in IBM API documentation. Does anybody here know what this reason text could mean? 

    It looks like it is complaining about AUTHLIST, but I am pretty sure that my AUTHLIST is correct. There is the dump of passed AUTHLIST.

                                                           00000001 00000010                          *.......
    E2F4D5D9 F0F2C440 E2F4D5D9 F0F2C140  00000000 00000000 00000000 00000000  *S4NR02D S4NR02A ...............

    I want to unauthorize one area with the name S4NR02A for DB S4NR02D. The AUTH request for this area was OK. 

    The dump of the output area looks like this.

                                                           C4E2D7C1 D7C1E4C2                          *DSPAPAU
    00000040 00080000 00000000 00000000  00000020 00000200 00000008 00000001  *... ...........................
    00000000 C1000404 E2F4D5D9 F0F2C440  E2F4D5D9 F0F2C140 3B528CD0 00000054  *....A...S4NR02D S4NR02A ...}...

    And finally, my API request looks like this.

    DSPAPI FUNC=UNAUTH,       UnAuthorize                         -
          TOKEN=(R8),           Token address                     -
          AUTHLIST=(R5),        Authorization List                -
          OUTPUT=(R4),          Output address                    -
          RETCODE=DWAAPRET,     Return_Code address               -
          RSNCODE=DWAAPREA,     Reason_Code address               -
          VERSION=2.0,          Version 2.0                       -
          MF=(E,AUTHLIST,COMPLETE) parm list    

    After this request the area is successfully unauthorized but, I am interested in what is causing this unknown reason code. 

    Any help will be appreciated. 

    Regards

    Radek



    ------------------------------
    Radek Mrvec
    ------------------------------