50 pts.
 How to not require to add the env var everytime after signon?
I've found that the environment variable (added by command ADDENVVAR) is not exist after signoff. How to include the environment variable in my session automatically during signon?

Software/Hardware used:
AS/400
ASKED: June 22, 2010  3:30 AM
UPDATED: June 22, 2010  1:07 PM

Answer Wiki:
An environment variable is either associated to a job or to the system. If it is set for the system, it will be set for every job. But if it's set for an individual job, it will go away when the job goes away. A user profile has an attribute named INLPGM() that names an "initial program" to be called automatically every time that user starts an interactive session. An initial program is intended to set environment attributes for a user. Add the ADDENVVAR command to your initial program (or create your initial program). Your environment variable will then be set whenever you logon to a telnet session. Tom
Last Wiki Answer Submitted:  June 22, 2010  7:07 am  by  TomLiotta   108,310 pts.
All Answer Wiki Contributors:  TomLiotta   108,310 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _