Skip to Main Content

E-Business Suite

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to find Unix path from Concurrent Program

3925711Nov 1 2019 — edited Feb 9 2021

Hi,

I have a concurrent program that runs a shell script and it is unable to find the path/directory

test.prog

#!/bin/ksh

process_dir=/ebstransfer/UAT/outgoing/EDI/Process

file_dir=$(dirname $process_dir)

echo $process_dir

echo $file_dir

if [ ! -d ${file_dir} ]; then

   echo "Error : File Directory ${file_dir} does not exist!"

   exit 1

fi

If the file is run directly from Unix box, it works fine.

Output:

/ebstransfer/UAT/outgoing/EDI/Process

/ebstransfer/UAT/outgoing/EDI

Concurrent Program Output:

/ebstransfer/UAT/outgoing/EDI/Process

/ebstransfer/UAT/outgoing/EDI

Error : File Directory /ebstransfer/UAT/outgoing/EDI does not exist!

/u01/app/oracle/ebsut01/fs1/EBSapps/appl/xxplxs/12.0.0/bin/XXPLXS_EDI_FILE_MGMT

Program exited with status 1

I verified the utl_file_dir and it has an entry to the path "/ebstransfer/UAT/outgoing/EDI". It worked in another instances but not in UAT.

Any help is highly appreciated.

Thanks

Comments

Post Details

Added on Nov 1 2019
4 comments
307 views