Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Authorities on IFS

Status
Not open for further replies.

CooterBrown

IS-IT--Management
Aug 17, 2001
125
0
0
US
I found the following snippet of code to send PDF's to the IFS using RPG IV.
Can anyone tell me how to specify authorities for a specific user?


Eval PDFSTMFNAM = '/' + %trim(IFSDIR) + '/' +
IFSFOL + IFSSUB + IFSDOC +
IFSDSC + IFSCO + PgmName +
IFSRTN +
%subst(rtgtag:1:10) +
CharCounter + '.pdf'

Eval PUBAUTOFF = 1818
Eval PUBAUTOFF = 1918
Eval PDFPUBAUT = '*R'
Eval PUBAUTLEN = %len(%trim(pdfpubaut))
 
GO PCSTSK and enroll a user. Or WRKDIRE.
WRKFLR to view the IFS (or WRKLNK for a higher level). I think you can assign authority using either of those commands.

I'm not sure how to do it in RPG. You should be able to do it in a CL wrapped around the RPG.

Mark
 
The PDF's I'm creating on the IFS are being imaged and then deleted but the server that is importing them into imaging only has *R authorities on them. can I give the user *all Object authority to everything in that directory?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top