cancel
Showing results for 
Search instead for 
Did you mean: 

Setting up enviroinment variable

former_member201054
Contributor
0 Kudos

Hi Experts,

I need to modify PATH and LIBPATH environment varables for sidadm user in AIX system 7.1

Inside /home/sidadm I don't see the .hostname.csh file to modify and not sure about the exact file to modify

Please how to find the file to modify permanently and set env variables to my system for <sidadm>

where should it be modified exactly

Thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member182657
Active Contributor
0 Kudos

Hi Daniel,

For getting or to edit files use below


.sapenv.csh , .sapsrc_hostname.csh

1) su - <sid>adm

2) ls -a

After executing ls -a command you'll be able to find required files (*.csh) for edit.

Hope this will help you.

Regards,

Gaurav

former_member201054
Contributor
0 Kudos

hi,

I could see the .csh files but not sure which one to edit and entries for PATH and LIBPATH

Thanks in advance

former_member182657
Active Contributor
0 Kudos

Hi ,

You can go with .sapenv_sap<sid>.csh .

Regards,

Gaurav

former_member201054
Contributor
0 Kudos

I dont see the file .sapenv_sapsid.csh anywhere in the system.

Thanks in advance

former_member182657
Active Contributor
0 Kudos

Hi,

Could you please share result after execution of ls -a command from su - <sid>adm

Thanks

Former Member
0 Kudos

Hello Daniel,

First, Pls chk the Which login shell are using in  AIX, accordingly search the file.

you will find file in home directory of user <sidadm>. login with sidadm user then type PWD, will output home directory of sidadm.

Thanks

S.bASIS

former_member201054
Contributor
0 Kudos

Hi,

its .csh shell

I dont see the entries in .sapenv.csh , .sapsrc_hostname.csh and .profile files

what could be the .csh file and how to find it for adding entries for PATH and LIBPATH

I will apprecitae your guidance and help

Thanks in advance