|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
replace authorizations in runtime |
« View previous topic :: View next topic » |
Author |
Message
|
jack_the_ripper |
Posted: Mon Mar 08, 2004 1:34 pm Post subject: replace authorizations in runtime |
|
|
 Apprentice
Joined: 12 Feb 2003 Posts: 46 Location: NJ
|
Hi,
We have a requirement here where in the runtime autorizations of users need to be changed frequently. I know, we need to use fmcibie with the fdl containing the modified authorizations.
My question is, is there a way to replace just the authorizations of a PERSON without affecting other information (such as PERSON ID, NAME, Ph).
Thanks, _________________ Jack,
IBM Certified in Websphere MQSeries
IBM Certified in Websphere MQSI
IBM Certified in Websphere MQWorkflow |
|
Back to top |
|
 |
Ratan |
Posted: Mon Mar 08, 2004 1:49 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Yes, you can. dont change anything else in the FDL other than the authorizations. _________________ -Ratan |
|
Back to top |
|
 |
jack_the_ripper |
Posted: Mon Mar 08, 2004 3:37 pm Post subject: |
|
|
 Apprentice
Joined: 12 Feb 2003 Posts: 46 Location: NJ
|
Ratan,
Let me clarify.
The fdl is generated thru the script and it doesnt have the original information of (NAME, Phno...) of the User. So, now if I import this FDL with PERSON as
REPLACE PERSON 'user_id1'
AUTHORIZED_TO_WORKITEMS 'userid2' 'userid2'
END PERSON
the personal info of 'user_id1' are set to null. But what want know is if I can retain that personal info while overwriting the authorizations.
Thanks, _________________ Jack,
IBM Certified in Websphere MQSeries
IBM Certified in Websphere MQSI
IBM Certified in Websphere MQWorkflow |
|
Back to top |
|
 |
jmac |
Posted: Mon Mar 08, 2004 3:39 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Jack:
Not sure this will work but try UPDATE instead of Replace. Replace really does replace with exactly what is specified... I am not sure if UPDATE will do what you want, but it is worth a try. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
jack_the_ripper |
Posted: Tue Mar 09, 2004 7:24 am Post subject: |
|
|
 Apprentice
Joined: 12 Feb 2003 Posts: 46 Location: NJ
|
Jmac,
Wont work, because while it retains the personal info, authorizations are appended and NOT replaced as needed.
Thanks, _________________ Jack,
IBM Certified in Websphere MQSeries
IBM Certified in Websphere MQSI
IBM Certified in Websphere MQWorkflow |
|
Back to top |
|
 |
JoseLouro |
Posted: Tue Mar 09, 2004 8:24 am Post subject: |
|
|
Newbie
Joined: 09 Mar 2004 Posts: 4 Location: LISBON - PORTUGAL
|
Jack,
I believe that you've to enhance your script in order to select the user personal info from the database table while changing the authorizations, generating a new PERSON FDL with the same personal info and the new authorizations.
I know that's not the better way, but it works fine....
Of course it depends on how often you do it, because it takes some time.... _________________ Best regards,
___________________________________
Jose LOURO
IT Specialist Advisory / Consultant
IBM Business Consulting Services
___________________________________ |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|