How To Create A Custom Concurrent Program With Host Method and Pass Parameters To The Shell Script (ID 266268.1)
How To Create A Custom Concurrent Program With Host Method and Pass Parameters To The Shell Script (ID 266268.1)
Goal
PURPOSE:
--------
To explain how to create a custom concurrent program with Host as the method
(shell script) and pass a number of user parameters from the concurrent program
to the shell script.
This example will implement a concurrent program that receives two parameters at
the runtime of the concurrent program: the database username and the user's new
password to be changed. The shell script will connect to the database as system.
It will verify if the user's password can be changed.
(Note: Allowed users will be stored in a flat file on the CM-node.)
Assumptions:
-----------
1. Oracle Applications Release 11i is used. We are changing the database user
password, not Oracle Applications user's password.
2. We will not define a new application, responsibility, etc. within 11i. We
will use the existing Application Object Library application and System
Administrator responsibility.
3. At runtime, the concurrent program will need two parameters: database
username
and the new password. If the database username is not listed in
allowed_list.lst,
the user's password can not be changed.
4. The DBA group will be notified by email once there is an attempt to change
database user's password.
5. FNDCPASS could be used, but this is not the subject of this note.
6. If there is any user listed in the allowed_list.lst (one user per line, no
extra spaces) and that user does not exist in the database, the concurrent
request will complete ok, but the DBA group will get a notification that
"database user doesn't exist".
7. Ensure the you test the procedure in a test environment several times to
become familiar with the procedure. Verify that the program does what you
require prior to making the changes into production.
9. This procedure is not supported by Oracle Support Services. This is just
an example and will have to be adjusted for your own needs.
Back to top
Rate this document
Article Rating Rate this document
Excellent
Good
Poor
Did this document help you?
Yes
No
Just browsing
How easy was it to find this document?
Very easy
Somewhat easy
Not easy
CommentsProvide some feedback
Cancel