Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CPYTOIMPF + authority

207 views
Skip to first unread message

Peter Zich

unread,
Apr 27, 2009, 2:17:12 PM4/27/09
to

Hi,

I create a CSV-File in the IFS from a (Batch) CL-Programm with CPYTOIMPF
(every time with a new, unique filename).
Everything works fine, except of the access-authorities - the CSV-file
always shows "*public *exclude".
The users have read/write-access to the folder, but they can not access the
new file !
I need to set the authority automatically either to the same values as the
folder, or to "*public *all".

Any suggestions ?

TIA
P.Zich

Karl Hanson

unread,
Apr 27, 2009, 2:33:49 PM4/27/09
to

If the CPYTOIMPF creates the new stream file, could you use
STMFAUT(*INDIR) ?

http://publib.boulder.ibm.com/infocenter/systems/scope/i5os/index.jsp?topic=/cl/cpytoimpf.htm

--
Karl Hanson

Peter Zich

unread,
Apr 27, 2009, 3:16:58 PM4/27/09
to

No - we are on V5R4, and the parameter STMFAUT does not exist in this
version ...

P.Zich

"Karl Hanson" <kcha...@youess.ibm.com> schrieb im Newsbeitrag
news:49f5fa8d$1@kcnews01...

iseriesflorida

unread,
Apr 27, 2009, 3:25:35 PM4/27/09
to
On Apr 27, 3:16 pm, "Peter Zich" <p.z...@aon.at> wrote:
> No - we are on V5R4, and the parameter STMFAUT does not exist in this
> version ...
>
> P.Zich
>
> "Karl Hanson" <kchan...@youess.ibm.com> schrieb im Newsbeitragnews:49f5fa8d$1@kcnews01...

>
>
>
> > Peter Zich wrote:
>
> >> I create a CSV-File in the IFS from a (Batch) CL-Programm with CPYTOIMPF
> >> (every time with a new, unique filename).
> >> Everything works fine, except of the access-authorities - the CSV-file
> >> always shows "*public *exclude".
> >> The users have read/write-access to the folder, but they can not access
> >> the new file !
> >> I need to set the authority automatically either to the same values as
> >> the folder, or to "*public *all".
>
> >> Any suggestions ?
>
> > If the CPYTOIMPF creates the new stream file, could you use
> > STMFAUT(*INDIR) ?
>
> >http://publib.boulder.ibm.com/infocenter/systems/scope/i5os/index.jsp...
>
> > --
> > Karl Hanson- Hide quoted text -
>
> - Show quoted text -

how about the chgaut command

Peter Zich

unread,
Apr 27, 2009, 3:49:21 PM4/27/09
to

CHGAUT works perfect !

Thank�s for your help.

-- P.Zich

"iseriesflorida" <iseries...@yahoo.com> schrieb im Newsbeitrag
news:48ec3f51-a5fa-40d3...@z8g2000prd.googlegroups.com...

0 new messages