View previous topic :: View next topic
|
Author |
Message |
PKONDURI
New User
Joined: 17 Mar 2009 Posts: 11 Location: PUNE,India
|
|
|
|
Hi,
I have been trying to cd to a directory and execute a script from other location using this jcl
Code: |
//RUN1 EXEC PGM=BPXBATCH,
// PARM='SH cd /u/uid/;/usr/lpp/SCRIPT.sh'
//STDIN DD PATH='/u/uid/SCRIPT.null'
//STDOUT DD PATH='/u/uid/SCRIPT.out',
// PATHOPTS=(OWRONLY,OCREAT),PATHMODE=SIRWXU
//STDERR DD PATH='/u/uid/SCRIPT.error',
// PATHOPTS=(OWRONLY,OCREAT),PATHMODE=SIRWXU
//*
|
I am getting this error message
Code: |
MATERIALS: /usr/lpp/SCRIPT.sh 9: FSUM7351 not found
Arrival: /usr/lpp/SCRIPT.sh19: FSUM7351 not found
eration: /usr/lpp/SCRIPT.sh28: FSUM7351 not found
iated: /usr/lpp/SCRIPT.sh: FSUM7351 not found
RRIVAL_RATE/data: /usr/lpp/SCRIPT.sh 42: FSUM7351 not found
760,090203,ASH:: /usr/lpp/SCRIPT.sh 52: FSUM7351 not found
/usr/lpp/SCRIPT.sh 59: FSUM7332 syntax error: got &&, expecting Newline
error: got &&, expecting Newline
|
I guess this should not happen as script is very much present in the path usr/lpp/SCRIPT.sh
Kindly help me with this! |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Code: |
MATERIALS: /usr/lpp/SCRIPT.sh 9: FSUM7351 not found |
means that a command or file in line 9 of /usr/lpp/SCRIPT.sh was not found. It does not mean the script doesn't exist. Lines through number 59 of your script are generating errors according to your post. |
|
Back to top |
|
|
PKONDURI
New User
Joined: 17 Mar 2009 Posts: 11 Location: PUNE,India
|
|
|
|
Hi Robert,
Thats true, lines of code were misplaced...Thanks for your time! |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Glad to hear you've got it resolved! |
|
Back to top |
|
|
|