Topic
2 replies Latest Post - ‏2011-05-23T18:10:46Z by SystemAdmin
SystemAdmin
SystemAdmin
308 Posts
ACCEPTED ANSWER

Pinned topic passing NLSPATH through sudo

‏2011-05-18T21:44:29Z |
when I run cicsadd through sudo I get the below error. This happens even if I am performing updates/deletes. I understand sudo doesn't pass NLSPATH of the user so how can I get through this problem.
In my user profile in AIX i have the right directories being passed to NLSPATH & LANG variables.
$ sudo cicsadd -c td -r test1 DTST ProgName="test01"
ERZ057001E/0058: Cannot access message catalog cics.cat for message ERZ046091I
Please check if NLSPATH or LANG variable is set
Updated on 2011-05-23T18:10:46Z at 2011-05-23T18:10:46Z by SystemAdmin
  • lakshuraghav
    lakshuraghav
    7 Posts
    ACCEPTED ANSWER

    Re: passing NLSPATH through sudo

    ‏2011-05-19T05:17:42Z  in response to SystemAdmin
    You can possibly try creating a soft link of cics.cat(/usr/lpp/cics/msg/<LANG>) under /usr/lib/nls/msg/<LANG>/ and check if it works.
  • SystemAdmin
    SystemAdmin
    308 Posts
    ACCEPTED ANSWER

    Re: passing NLSPATH through sudo

    ‏2011-05-23T18:10:46Z  in response to SystemAdmin
    Thanks it worked.