12
Author – A.Kishore http://appsdba.info Implementing a SQL*PLUS Concurrent Request 1> Defining the Executable Concurrent:Program:Executable. 2> Defining the Concurrent Program Concurrent:Program:Define

Implementing a SQL*PLUS Concurrent Request - …€¦ · Implementing a SQL*PLUS Concurrent Request 1> Defining the Executable Concurrent:Program:Executable. 2> Defining the Concurrent

Embed Size (px)

Citation preview

Page 1: Implementing a SQL*PLUS Concurrent Request - …€¦ · Implementing a SQL*PLUS Concurrent Request 1> Defining the Executable Concurrent:Program:Executable. 2> Defining the Concurrent

Author – A.Kishore http://appsdba.info Implementing a SQL*PLUS Concurrent Request

1> Defining the ExecutableConcurrent:Program:Executable.

2> Defining the Concurrent ProgramConcurrent:Program:Define

Page 2: Implementing a SQL*PLUS Concurrent Request - …€¦ · Implementing a SQL*PLUS Concurrent Request 1> Defining the Executable Concurrent:Program:Executable. 2> Defining the Concurrent

Author – A.Kishore http://appsdba.info

3> Assigning the Concurrent Program to a Request GroupSecurity:Responsibility:Request.

Page 3: Implementing a SQL*PLUS Concurrent Request - …€¦ · Implementing a SQL*PLUS Concurrent Request 1> Defining the Executable Concurrent:Program:Executable. 2> Defining the Concurrent

Author – A.Kishore http://appsdba.info

Page 4: Implementing a SQL*PLUS Concurrent Request - …€¦ · Implementing a SQL*PLUS Concurrent Request 1> Defining the Executable Concurrent:Program:Executable. 2> Defining the Concurrent

Author – A.Kishore http://appsdba.info APPENDIX 1: Sample SQL*PLUS ScriptSET PAGESIZE 40SET LINESIZE 80SET FEEDBACK OFFSET VERIFY OFFSET HEADING ONTTITLE 'Userid|Activity Report'BTITLE 'Confidential'COLUMN c1 HEADING 'User Name'COLUMN c2 HEADING 'Session Start Time'COLUMN c3 HEADING 'Session End Time'SELECT SUBSTR(fu.user_name, 1,30) "c1", TO_CHAR(fl.start_time, 'fmYYYY/MM/DD fmHH:MI:SS AM') "c2", NVL(TO_CHAR(fl.end_time, 'fmYYYY/MM/DD fmHH:MI:SS AM'),'Session In Doubt') "c3"from fnd_user fu,fnd_logins flwhere fu.user_id = fl.user_idand fu.user_name = UPPER('&1')and fl.start_time >= '&2'ORDER BY fl.start_time/SET FEEDBACK ONSET VERIFY ON

COPY the sql file into $FND_TOP/sql

Parameter

Page 5: Implementing a SQL*PLUS Concurrent Request - …€¦ · Implementing a SQL*PLUS Concurrent Request 1> Defining the Executable Concurrent:Program:Executable. 2> Defining the Concurrent

Author – A.Kishore http://appsdba.info

Page 6: Implementing a SQL*PLUS Concurrent Request - …€¦ · Implementing a SQL*PLUS Concurrent Request 1> Defining the Executable Concurrent:Program:Executable. 2> Defining the Concurrent

Author – A.Kishore http://appsdba.info

Page 7: Implementing a SQL*PLUS Concurrent Request - …€¦ · Implementing a SQL*PLUS Concurrent Request 1> Defining the Executable Concurrent:Program:Executable. 2> Defining the Concurrent

Author – A.Kishore http://appsdba.info

Page 8: Implementing a SQL*PLUS Concurrent Request - …€¦ · Implementing a SQL*PLUS Concurrent Request 1> Defining the Executable Concurrent:Program:Executable. 2> Defining the Concurrent

Author – A.Kishore http://appsdba.info

Page 9: Implementing a SQL*PLUS Concurrent Request - …€¦ · Implementing a SQL*PLUS Concurrent Request 1> Defining the Executable Concurrent:Program:Executable. 2> Defining the Concurrent

Author – A.Kishore http://appsdba.info

Page 10: Implementing a SQL*PLUS Concurrent Request - …€¦ · Implementing a SQL*PLUS Concurrent Request 1> Defining the Executable Concurrent:Program:Executable. 2> Defining the Concurrent

Author – A.Kishore http://appsdba.info

Page 11: Implementing a SQL*PLUS Concurrent Request - …€¦ · Implementing a SQL*PLUS Concurrent Request 1> Defining the Executable Concurrent:Program:Executable. 2> Defining the Concurrent

Author – A.Kishore http://appsdba.info

Page 12: Implementing a SQL*PLUS Concurrent Request - …€¦ · Implementing a SQL*PLUS Concurrent Request 1> Defining the Executable Concurrent:Program:Executable. 2> Defining the Concurrent

Author – A.Kishore http://appsdba.info