Maimn script
./testmain.ksh[8]: ./clocal/www/web-data/WAS/WebSphere7/scripts/DealerLocator/Scripts/secondscript.ksh: not found [No such file or directory]
127 = status
Both the script has full permissions.
when i replace the absolute path with relative path(./secondscript.ksh) the script is working fine.
issue is when we keep the absolute path
I'm confused by your post. Expanding on what RudiC has already said, you are implying that the above scripts are not working because they contain absolute pathnames, but the only absolute pathnames in either of these scripts is /bin/ksh . Any pathname starting with ./ is a relative pathname that is looking for a file in a directory rooted in the current working directory.
In what directory are these scripts located?
What is your current working directory when you try to run these scripts?
What are the contents of the PATH environment variable when you try to run these scripts?
Exactly what command line(s) did you try to use to invoke these scripts?