Kevin,

We're already doing that.

4900 - CPYTOIMPF FROMFILE(BRFILES/ZIPFILE) TOSTMF('BRC/INDEMAND/BRCTBuys201803200815.txt') MBROPT(*REPLACE) FROMCCSID(37) STMFCODPAG(*PCASCII) STMFAUT(*INDIR) RCDDLM(*CRLF) DTAFMT(*FIXED) NULLIND(*YES) ORDERBY(*ARRIVAL)

Paul

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Kevin Bucknum
Sent: Tuesday, March 20, 2018 2:38 PM
To: Midrange Systems Technical Discussion
Subject: RE: Jobs calling cmds that reference IFS objects fail if a homedirectory exists for that user - how does one resolve this

Fully qualify the IFS object. If BRC is a directory under the root, then /BRC/INDEM........ etc




Kevin Bucknum
Senior Programmer Analyst
MEDDATA/MEDTRON
Tel: 985-893-2550

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Steinmetz, Paul
Sent: Tuesday, March 20, 2018 1:36 PM
To: 'Midrange Systems Technical Discussion'
Subject: Jobs calling cmds that reference IFS objects fail if a
homedirectory
exists for that user - how does one resolve this

We have a process that has been running fine for years under user A,
no
home directory exist for user A.

We changed the job to run under user CPACOPER, which has a home
directory.
Home directory . . . . . . . . . . . . . . : /home/CPACOPER

The job now fails where ever there is a cmd that is referencing an IFS
object.
Initially I thought it was an authority issue, but we think the
existence of the
home directory causes the issue.
How does one resolve this?

1) Message . . . . : 4900 - CPYTOIMPF FROMFILE(BRFILES/ZIPFILE)
TOSTMF('BRC/INDEMAND/BRCTBuys201803200815.txt') MBROPT(*REPLACE)
FROMCCSID(37) STMFCODPAG(*PCASCII) STMFAUT(*INDIR)
RCDDLM(*CRLF) DTAFMT(*FIXED) NULLIND(*YES) ORDERBY(*ARRIVAL)

CPFA0D4 Diagnostic 40 03/20/18 08:15:12.990899
QCPEXPRT QSYS
*STMT IFFEU03C BRCPGMS *STMT
From module . . . . . . . . :
QCPEXPRT
From procedure . . . . . . :
Send_type_msg
Statement . . . . . . . . . :
17
To module . . . . . . . . . :
IFFEU03C
To procedure . . . . . . . :
IFFEU03C
Statement . . . . . . . . . :
4900
Message . . . . : File system
error occurred. Error number
3025.

Message ID . . . . . . . . . : CPE3025
Message file . . . . . . . . : QCPFMSG
Library . . . . . . . . . : QSYS
Message text . . . . . . . . : No such path or directory.

2) Message . . . . : 5200 - CHGAUT
OBJ('BRC/INDEMAND/BRCTBuys201803200815.txt') USER(*PUBLIC)
DTAAUT(*RWX)

Message . . . . : Object not found. Object is
/home/CPACOPER/BRC/INDEMAND/BRCTBuys201803200815.txt.

Thank You
_____
Paul Steinmetz
IBM i Systems Administrator

Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071

610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home

psteinmetz@xxxxxxxxxx<mailto:psteinmetz@xxxxxxxxxx>
http://www.pencor.com/

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: http://amzn.to/2dEadiD

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.