Archive

Archive for the ‘Oracle’ Category

Installing RedHat Linux

April 27th, 2009 admin No comments



Read more…

Post to Twitter Post to Digg
  • Share/Bookmark

SQL*Loader – complete reference

April 6th, 2009 admin 2 comments

SQL*Loader

SQL*Loader is a high-speed data loading utility that loads data from external files into tables in an Oracle database. SQL*Loader accepts input data in a variety of formats, can perform filtering, and can load data into multiple Oracle database tables during the same load session. SQL*Loader is an integral feature of Oracle databases and is available in all configurations.

Commands and Parameters

SQL*Loader can be invoked in one of three ways:

sqlldr
sqlldr keyword=value [keyword=value ...]
sqlldr value [value ...]

Valid Keywords/Parameters: Read more…

Post to Twitter Post to Digg
  • Share/Bookmark

cmclean.sql script to cleanup concurrent manager tables

April 4th, 2009 admin 3 comments

Click here to download cmclean.sql

REM
REM FILENAME
REM   cmclean.sql
REM DESCRIPTION
REM   Clean out the concurrent manager tables
REM NOTES
REM   Usage: sqlplus <apps_user/apps_passwd> @cmclean
REM
REM
REM   $Id: cmclean.sql,v 1.4 2001/04/07 15:55:07 pferguso Exp $
REM
REM
REM +==============================+
set verify off;
set head off;
set timing off
set pagesize 1000
column manager format a20 heading ‘Manager short name’
column pid heading ‘Process id’
column pscode format a12 heading ‘Status code’
column ccode format a12 heading ‘Control code’
column request heading ‘Request ID’
column pcode format a6 heading ‘Phase’
column scode format a6 heading ‘Status’
WHENEVER SQLERROR EXIT ROLLBACK; Read more…

Post to Twitter Post to Digg
  • Share/Bookmark

How to submit concurrent program from command promot / shell

April 3rd, 2009 admin 3 comments

We can submit concurrent programs from OS command / shell prompt using CONCSUB utility. Following is the syntax of the same:

CONCSUB <APPS username>/<APPS password>
<responsibility application short name>
<responsibility name>
<username>
[WAIT=N|Y|<n seconds>]
CONCURRENT
<program application short name>
<program name>
[PROGRAM_NAME="<description>"]
[REPEAT_TIME=<resubmission time>]
[REPEAT_INTERVAL= <number>]
[REPEAT_INTERVAL_UNIT=< resubmission unit>]
[REPEAT_INTERVAL_TYPE=< resubmission type>]
[REPEAT_END=<resubmission end date and time>]
[NLS_LANGUAGE=<language of the request>]
[NLS_TERRITORY=<territory of the request>]
[START=<date>]
[IMPLICIT=< type of concurrent request>
[<parameter 1> ... <parameter n>]

Examples:

Active Users
CONCSUB apps/[apps_pwd] SYSADMIN “System Administrator” SYSADMIN WAIT=N CONCURRENT FND FNDSCURS

Prints Environment Variables
CONCSUB apps/[apps_pwd] SYSADMIN “System Administrator” SYSADMIN WAIT=N CONCURRENT FND FNDPRNEV APPL_TOP

Post to Twitter Post to Digg
  • Share/Bookmark

Oracle Applications Concurrent Request phase codes and status codes

April 3rd, 2009 admin No comments

 

Table Name: FND_CONCURRENT_REQUESTS

Column Name: PHASE_CODE
 

Value  Meaning
 C  Completed
 I  Inactive
 P  Pending
 R  Running

 
Table Name: FND_CONCURRENT_REQUESTS

Column Name: STATUS_CODE
 

Value  Meaning
 D  Cancelled
 U  Disabled
 E  Error
 M  No Manager
 R  Normal
 I  Normal
 C  Normal
 H  On Hold
 W  Paused
 B  Resuming
 P  Scheduled
 Q  Standby
 S  Suspended
 X  Terminated
 T  Terminating
 A  Waiting
 Z  Waiting
 G  Warning
Post to Twitter Post to Digg
  • Share/Bookmark