1828336 Members
3451 Online
109976 Solutions
New Discussion

Re: error in a script

 
SOLVED
Go to solution
Norman_21
Honored Contributor

error in a script

Well, I have created a menu script to do several things. However, in the HP-UX 11.00 BOX we have COBOL applications and the Backup procedure runs when I login as root and type:
#/start/backup
Now, when I added an option to perform the command stated above,I get an error and the backup won't start.
Also, I have put a cd / and give the account login for my script root permissions but I still get the same error msg. What could be the cause of this problem.. Please advise.
please download the attached .
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
6 REPLIES 6
Christian Gebhardt
Honored Contributor

Re: error in a script

Hi
your attachment is a Word-Document, I'm not very happy with this. To show us scripts or outputs its better to use simple text-files.

Can you attach your backup-script , your command-line-syntax and the output in ascii-format?

Chris
Niraj Kumar Verma
Trusted Contributor

Re: error in a script

can you post your script also ???

-Niraj
Niraj.Verma@philips.com
T G Manikandan
Honored Contributor
Solution

Re: error in a script

Noticing the ouput I would suggest

1.Give the full path of the 'cobrun' executable in your script

2.you are moving some log files in the script.
Looks like they are not present or the permissions are denied for the user running the script to move the files

Revert
Justo Exposito
Esteemed Contributor

Re: error in a script

Hi AB,

I am with Manikandan, you must put the complete path to cobrun and probably you must define all the variables needed by a user in order to run cobrun.
The other errors are because the files or directories doesn't exist or you don't have permits to use it.

Regards,

Justo.
Help is a Beatiful word
Norman_21
Honored Contributor

Re: error in a script

Thanks guys,

For those who are not happy with the word document format, please accept my apology and find it attached in txt format.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003
Norman_21
Honored Contributor

Re: error in a script

Closed...
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003