|
The INLPGM parameter in the command CRTUSRPRF isn't a "LIST" of items; it is a qualified object name. When you use double parentheses ((some value)) this indicates a "LIST" of items. For example, the SNDNETMSG command uses a list for the TOUSRID parameter:
SNDNETMSG MSG('Send this message to many users...') +
TOUSRID((USER1 SYSTEM1) +
(USER2 SYSTEM1) +
(USER33 SYSTEM8) +
(USER98 SYSTEM66))
The correct syntax for the INLPGM parameter of the CRTUSRPRF command would use single parentheses:
INLPGM(&INLPGML *TCAT '/' *TCAT INLPGMP)
I hope this helps... Good Luck!
PS - Have you considered creating a "model" user profile with all your defaults and then using RTVUSRPRF in your CLP to retrieve them from this model for use in the CRTUSRPRF command? ==================================
MORE INFORMATION ON THIS TOPIC
==================================
The Best Web Links: tips, tutorials and more.
Ask your OS/400 questions -- or help out your peers by answering them -- in our live OS/400 discussion forums.
Ask the Experts yourself: Our OS/400 gurus are waiting to answer your questions.
Check out this Search400.com Featured Topic: 20 ways to ensure a smooth OS upgrade
|