Oracle Examples:
1. Oracle example of a call from a Stored Procedure:
Add the following to the declaration section of the stored procedure:
v_job_name varchar2(256);
Then add the call to the procedure:
v_job_name := WsParameterReadJ('NAME', p_job_id);
2. Oracle example of a call from sqlplus:
Note: The line beginning exec ... and end with ; must be one line.
Place the following code in a text file called FileName.sql:
set pages 0 feed off heading off
SELECT WsParameterReadJ('NAME',60)
FROM DUAL;
Execute the file from sqlplus (using @FileName). The following out is typical:
New Daily Run