William Hill
Mon Aug 02, 2010 |
There are two methods to handle, one with symbolic link another without symbolic link.
step 1: Place the .prog' target='_blank'>.prog' target='_blank'>.prog' target='_blank'>.prog script under the bin directory for your applications top directory.For example, call the script SHELLDEMO.prog' target='_blank'>.prog' target='_blank'>.prog' target='_blank'>.prog and place it under $XXCUS/bin
step 2: Make a symbolic link from your script to $FND_TOP/bin/fndcpesr. For example, if the script is called SHELLDEMO.prog' target='_blank'>.prog' target='_blank'>.prog' target='_blank'>.prog use this:
ln -s $FND_TOP/bin/fndcpesr SHELLDEMO
This link should be named the same as your script without the .prog' target='_blank'>.prog' target='_blank'>.prog' target='_blank'>.prog extension.
Put the link for your script in the same directory where the script is located.
step 3: Register the concurrent program, using an execution method of ‘Host’. Use the name of your script without the .prog' target='_blank'>.prog' target='_blank'>.prog' target='_blank'>.prog extensionas the name of the executable.
For the example above: Use SHELLDEMO
step 4: Your script will be passed at least 4 parameters, from $1 to $4.
$1 = orauser/pwd
$2 = userid(apps)
$3 = username,
$4 = request_id
Any other parameters you define will be passed in as $5 and higher. Make sure your script returns an exit status also.
Sample Shell Script: - http://www.notesbit.com/index.php/scripts-oracle/oracle-applications-steps-to-register-shell-script-as-a-concurrent-program/ |