How to end a host concurrent program in WARNING status?

Hi All,

I have a requirement to make a oracle concurrent program end with
warning based on a given condition. If the condition is true, the
concurrent program should end with completed warning status.

The host program I am using is a shell script that checks if a file exists.
When there is no file, the concurrent program must complete with warning status. How can I accomplish this.

Thanks,
Megha

check the manual page for test man test

       -f FILE
              FILE exists and is a regular file

sample code

if [ -f /tmp/a.txt ]
then
      echo "File Exists"
else
     echo "File Not Exists"
fi

This forum is not the right place to ask about Oracle concurrent programs. Yet, below is the solution for it.

There are no defined exit commands to return a warning status. However, it can be done by some workarounds
Pls check below link: All about Host Concurrent Programs | Oracle Apps Notes