invite friends  Invite Friends RECRUITER : Login | Register | Post Job | Search Resume   
Forum
Home >> Shell Script Usage in Oracle Applications >> How to register shell script as concurrent program?
Add New   How to register shell script as concurrent program?
William Hill
Mon Aug 02, 2010
Below is the step by step process of registering shell script as a host program or concurrent program in Oracle Applications.









1. Create a shell script ( say xyz) and move it to the appropriate BIN directory in Oracle Application.




2. The parameters in the shell scripts should start with $5 , $6 Onwards.




3. Rename the shell script to *.prog' target='_blank'>*.prog ( xyz.prog).




4. Change Permissions to 755 for the *.prog' target='_blank'>*.prog file.




5. Create Link to the shell Script ( ln -s $FND_TOP/bin/fndcpesr/xyz.prog) to create xyz file.




6. Now Register this executable in the application as a host executable (Using System Administrator Responsibility).









While registering the shell script as a concurrent program make sure that the first parameter in the concurrent program is passed as the Fifth parameter in the shell scripts because the first four parameters are allocated to userid,request_id,resp_id,resp_appl_id.




source :http://www.aboutoracleapps.com/2009/01/how-to-register-shell-script-as.html