I got a requirement to write some useful information to the user in the Concurrent program output. It was a UNIX host program .I got held up with this requirement. At last I got the solution with the help of a colleague.
Create a temp file to write the information. Write the necessary info in the file using >> operator.
touch $path output.tmp
A temp file with name output got created.
echo "Application SID Name :" $APPS_SID >>output.tmp
After writing all the necessary information in to the temp file, use the below command to write the output file in the concurrent program output.
cat output.tmp > $APPLCSF/$APPLOUT/o${4}.out
Command is simple as that, concatenating the output file with the concurrent program out file. The name of the concurrent program out file will be o(RequestID).out. $4 will have the value of the Request ID.
Read “Registering an UNIX host concurrent program (Oracle E-Business suite)” post to know about the reserved 5 parameters(e.g. $4 for Request ID) of a UNIX host Program.
No comments:
Post a Comment