I put together a series of steps in a bash script to run a daily backup to an emulated tape.
Basically, I submit JCL through the external reader, wait a couple seconds then execute an awsmount to load the tape volume and bring it online.
The issue I'm having is that the awsmount does not want to run within cron. I can execute my script interactively and it works as expected.
But, when running as a cron job, I get this error:
+ /usr/z1090/bin/awsmount 580 -m /ibm/z1090/tapes/T00006/usr/z1090/bin/awsmount: error while loading shared libraries: libio_chan.so: cannot open shared object file: No such file or directory
I've done various things to be sure the file is available, such as making sure the PATH is correct, changing to the bin director where the file is located, but no luck.
Not sure what else to do from here.
Any information would be appreciated.
Thanks.
jmal