Skip to Content
-1

Authorization object returns different subrc

Hi All,

We have created a custom authorization object. Authorization check fails in Production system but it passes in Testing system.

Production: Passing GB and blank value. SUBRC value returned is 12.

Staging system: Passing GB and blank value. SUBRC value returned is 0.

Authorization object :

No changes were made for these objects. All data is same in both systems.

Any help is really appreciated.

Thanks in advance,

Veena

ydp.jpg (79.9 kB)
ydq.jpg (79.8 kB)
capture.jpg (50.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jul 25, 2017 at 01:33 PM

    That means you have the relevant role in testing system but not in Production environment!

    Your authorization guy should be able to tell this ZCUSTGROUP object is used in which roles.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 25, 2017 at 01:56 PM

    "All data is same in both systems." Bet you it isn't. It's very simple. One or more of these applies:

    1. The code is different

    2. The authorisation object is different

    3. The role is different

    4. The user is different.

    There are no other possibilities I can think of. Have you searched for authority-check return code 12? Perhaps the user's buffer needs updating (if everything else is the same).

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 03, 2017 at 10:04 AM

    try using st01,stauthtrace..... you probably will find a reason (....su24 check flag)

    Profile generated?

    authorization available in ust12?

    authroization available in usrbf2?

    brgds,Bernhard

    Add comment
    10|10000 characters needed characters exceeded