Top Secret

  • 1.  Extracting User Name with a RACROUTE Macro

    Posted Feb 21, 2018 04:22 PM

    I appreciate anything you can provide on this.

    I am trying to extract the name (I believe the field USRNM) of a user (by their ACID value) using HLASM and the RACROUTE REQUEST=EXTRACT command but it is not working. I have tried just about every possible combination of sub-parameters and I still cannot get the user's name.

     

    I was hoping that someone might have an example of how to pull the user's name from Top Secret (I have version16). For all I know, there might be another way to do it. I would appreciate any example you might have to do this. I have successfully used the RACROUTE commands to verify access to a resource but for some reason this is not working.

     

    Your information is greatly appreciated and I thank you.



  • 2.  Re: Extracting User Name with a RACROUTE Macro
    Best Answer

    Posted Feb 22, 2018 11:11 AM

    You will need to extract field "PGMRNAME" from segment "BASE".

     

    John P. Baker



  • 3.  Re: Extracting User Name with a RACROUTE Macro

    Posted Feb 22, 2018 01:37 PM

    John,

     

    Thank you for the reply. I change the RACROUTE statement as you said and it worked great. I really appreciate your help on this.

     

    Thank you,

    Steven