My problem is this... I'm trying to figure out how to create a user
profile within a CL that is exactly like a base user profile.
Unfortunately, the command CPYUSRPRF does not exist and RTVUSRPRF
could be used, but it would be way too cumbersome. Does anyone know
of any user API's that could handle this?
I would greatly appreciate it.
We create a message id in a user message file
ADDMSGD MSGID(USR0001) MSGF(MYMSGF) MSG('The second level contains CRTUSRPRF
defaults') SECLVL('CRTUSRPRF USRPRF(&1) PASSWORD(&1) PWDEXP(*YES) USRCLS(&2)
INLPGM(&3)....') FMT((*CHAR 10) (*CHAR 10) (*CHAR 10))
You can specify whatever message variables and defaults that you like. Anyway
you get the picture. A program can use the RTVMSG command or the QMHRTVM api
to retrieve the second level text with the message variables replaced with
values and run the command with QCMDEXC.
Ray <R...@newsmail.newsmail> wrote in article
<34bd8475...@news.supernews.com>...
Eric Pence
>> Send email replies to >> erp...@star.net
http://www.star.net/People/~erpence/
Ray wrote in message <34bd8475...@news.supernews.com>...
>I have a question regarding the creation of user profiles. I want to
>create a simple screen where user profiles can be created for a piece
>of application software. This application has a base user profile in
>which all of the new user profiles should be copied after.
>
>My problem is this... I'm trying to figure out how to create a user
>profile within a CL that is exactly like a base user profile.