Restrict the user in RPG ILE
10 pts.
0
Q:
Restrict the user in 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: Oct 13 2009  6:49 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
4040 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
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.
Last Answered: Oct 13 2009  8:44 AM GMT by Whatis23   4040 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0