Answer Wiki

You can have as many different initial programs as you like – if necessary you can have a different one for each user. I wouldn’t recommend making one for each user because you will hten have to maintain all those programs. But you should very easily be able to make a few different initial programs for specific groups of users (e.g. accounts, sales, personnel, etc).

An initial program is simply a program that gets called whenever a user signs on to the system, the initial program is attached to the user profile. You can change someone’s initial program by using the WRKUSRPRF or CHGUSRPRF commands.

Be careful if you do this with your own profile, because if your initial program doesn’t work or doesn’t exist you may not be able to sign on anymore. You can try this by keeping one session signed on while you test.

Regards,

Martin Gilbert.
///////////////////////////////
You may want to have a datafile which contains the user and rules – lib list – restrictions, etc
Have your initial program find the user’s record(s) and process the rules that apply to this user.

Phil

We use the Initial Program especially in our test environments to set the appropriate library lists and output queues. Does the same for our end users in our production environments.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy

Processing your response...

Discuss This Question: 1 &nbspReply

There was an error processing your information. Please try again later.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy

Processing your reply...

Ask a Question

Free Guide: Managing storage for virtual environments

Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!

To follow this tag...

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy