Need to end a host based concurrent program as warning
We have an host based custom concurrent program, that actually looking for a particular type of file in some directory and if found then start processing , but if the file is not present in the directory then the program completes with an ERROR.Now the requirement is if the file is not found in the specified directory then the program should end as WARNING.
I have tried achieving this by submitting a child process through the main process whenever no file is present. The child process will change the main program status as warning,.But the business requirement is the main program should end as warning without submitting any other chid process.