Restrict the user in RPG ILE

10 pts.
Tags:
AS/400 user administration
AS/400 user authority
AS/400 user sessions
RPG ILE
Hi All,

tell me that how to restrict the user to call program at time, means one user can call one program that time another user can't call same program..?

 

Regard's

Yogesh   



Software/Hardware used:
Software
ASKED: October 13, 2009  6:49 AM
UPDATED: October 13, 2009  12:35 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Use the ALCOBJ command and specify the program name and object type *PGM.
This will lock the program to the current user and lock out all others.
Be sure to DLCOBJ afterwards.
This assumes that your programs have the standard monmsg which will prevent a hard fault for CPF1002 Cannot allocate object &1.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
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

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

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

REGISTER or login:

Forgot Password?
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

Thanks! We'll email you when relevant content is added and updated.

Following