cancel
Showing results for 
Search instead for 
Did you mean: 

sapinlpgm & environment variables

0 Kudos

Hi,

Does anybody knows wich parameters form instance profile takes sapinlpgm in order to setup PASE_LIBPATH and DIR_LIBRARY?

We're getting a problem with those variables when we log-in with <SID>ADM user we get

DIR_LIBRARY = '/sapmnt/<SID>/exe/uc/as400_pase_64'       

PASE_LIBPATH = '/sapmnt/<SID>/exe/uc/as400_pase_64:/'

And on start and instance profiles we have

DIR_CT_RUN = $(DIR_EXE_ROOT)$(DIR_SEP)run$(DIR_SEP)$(OS_UNICODE)$(DIR_SEP)as400_pase_64

DIR_EXECUTABLE = $(DIR_INSTANCE)$(DIR_SEP)exe

Any ideas?

Rgds,

Jaume.

Accepted Solutions (1)

Accepted Solutions (1)

joachim_kern
Explorer
0 Kudos

Hi Jaume,

For SAP systems with existing
     /sapmnt/<SID>/exe/<[uc|nuc]>/as400_pase_64

PASE_LIBPATH is set to
     /sapmnt/<SID>/exe/<[uc|nuc]/as400_pase_64:

          /usr/sap/<SID>/hdbclient:/sapdb/clients/<SID>/lib/lib64:/sapdb/clients/<SID>/lib
Afterwards PASE_LIBPATH is extended by the content of the envvar MAXDB_LIBPATH
and finally extended by the content of the profile parameter as4/ADDLIBPATH
So PASE_LIBPATH depends only on 1 profile parameter (as4/ADDLIBPATH)

DIR_LIBRARY is set to
  /sapmnt/<SID>/exe/<[uc|nuc]>/as400_pase_64
there is no profile dependency

Best regards

Joachim

0 Kudos

Hi,

It seems you're right meanwhile I've opened a ticket and SAP answered that I do not have to worry about this is normal behaviour. Anyway you gave more info than them.

I was worried because it was the first time we changed to instance-specific directory and we could not find any info on SMP o SCN apart from note 1739772 - IBM i: Environment not correct after logon and it states that it was an kernel issue.

And right now we have installed a Diagnostics Agent form scratch and the environment variables are established as you state.

Thank you very much

Rgds,

Jaume.

Answers (0)