|
On 11/08/2006, at 10:40 PM, Raby, Steve wrote:
We cannot work out where the /home/AGCSYSBH comes from (AGCSYSBH is the user profile that submits the job, which runs all day waiting for message).
The "problem" is caused by you omitting the leading slash from the path name you build:
CHGVAR VAR(&PATH) VALUE('QSYS.lib/' *TCAT &LIB + *TCAT '.lib/' *TCAT &OBJ *TCAT '.file/' + *TCAT 'SND.mbr')
should be: CHGVAR VAR(&PATH) VALUE('/QSYS.lib/' *TCAT &LIB + *TCAT '.lib/' *TCAT &OBJ *TCAT '.file/' + *TCAT 'SND.mbr')Because you omit the leading slash the system presumes the path is within your current directory. According to the error message your current directory is /home/AGCSYSBH
Why did this just start happening? Perhaps the profile under which this job runs didn't have a current directory and picked up '/' or perhaps the profile was changed or perhaps the job stream changed to issue a CD somewhere?
I would also use upper-case for the .lib, .file, and .mbr extensions too.
Regards, Simon Coulter. -------------------------------------------------------------------- FlyByNight Software AS/400 Technical Specialists http://www.flybynight.com.au/ Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\ Fax: +61 3 9419 0175 \ / X ASCII Ribbon campaign against HTML E-Mail / \ --------------------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.
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.