PDA

View Full Version : Adopted Authority and IFS Objects



dmjae2004@yahoo.com
12-10-2004, 06:36 AM
More details at the IBM site: IBM KnowledgeBase IFS Authority Considerations (http://www-1.ibm.com/support/docview.wss?uid=nas1e3dc97d7f1aeaf348625685f005c62 63&rs=110 ) IFS does not support Adopted Authority (http://www-1.ibm.com/support/docview.wss?uid=tss1fq101378&rs=110)

J.Wells
12-10-2004, 07:04 AM
Thanks.....I was afraid of that! Back to the drawing board! Joe

Guest.Visitor
12-13-2004, 09:37 AM
You could do a profile swap in the job. I think that affects subsequent authorities. The code below is from a couple of releases ago; I think now you can also swap group profiles, and there's something called a "profile token" that's new with V5R2. <hr width=50 align=left>Code ('http://www.mcpressonline.com/mc/showcode@@.6b1fc33a/2')

J.Wells
12-13-2004, 10:42 AM
Thanks for the suggestion, I will investigate further. We have job that runs all day and wakes up every 15 minutes to process various files - for now I have added a process to this job to do the moving and copying. Thanks, JOe

Guest.Visitor
12-16-2004, 08:40 AM
The December 16 newsletter for Club Tech iSeries Programming Tips has an "Override Group Profile" command written by Carsten Flensburg that does something like what I described, and has advantages over swapping the user profile. I think you can view it at the free "Associate"-level membership at www.iSeriesNetwork.com, or I could forward it to you.

J.Wells
12-16-2004, 10:29 AM
Does adopted authority work different for IFS objects? I have a process where IFS objects are moved and copied. The process is failing because the user does not have authority. I changed the program to use adopted authority, but still no dice. The adopted authority seems to be working because it correctly deletes physical files. See the testcl code below. Any suggestions? Thanks, Joe <hr width=50 align=left>Code ('http://www.mcpressonline.com/mc/showcode@@.6b1fc33a')

J.Wells
12-16-2004, 10:29 AM
Thanks, I will look it up. Joe