SlideShare uma empresa Scribd logo
1 de 6
Baixar para ler offline
func_dyn_title_set.c
#include   <stdio.h>
#include   <stdlib.h>
#include   <string.h>
#include   "constant_definition.h"
#include   "case_constant_definition.h"
#include   "case_constant_sql_stmt_def.h"
#include   "constant_oracle_versions.h"

extern vaciar_cadena();
char *func_dyn_title_set (int version, int sentencia )
        {
        static char dyn_title[MAX_VAR_SIZE];

       vaciar_cadena (dyn_title,MAX_VAR_SIZE);
       switch ( sentencia )
               {
               case CASE_ORACLE_VERSION:
                       strcpy (dyn_title,"Oracle Version 0");
                       break;
               case CASE_ACTIVE_PARAMETERS:
                       strcpy (dyn_title,"Active Parameters 0");
                       break;
               case CASE_USERS_CONNECTED:
                       strcpy (dyn_title,"User conected0");
                       break;
               case CASE_WAIT_STATISTICS:
                       strcpy (dyn_title,"Wait Statistics0");
                       break;
               case CASE_DATAFILE_I_0:
                       strcpy (dyn_title,"Datafile I-O 0");
                       break;
               case CASE_DATAFILE_BLOCKS_R_W:
                       strcpy (dyn_title,"Datafile Blocks R+W 0");
                       break;
               case CASE_WAIT_EVENTS:
                       strcpy (dyn_title,"Wait Events 0");
                       break;
               case CASE_INSTANCE_STATUS:
                       strcpy (dyn_title,"Instance status 0");
                       break;
               case CASE_TEMPORAL_SPACE_BY_USER:
                       strcpy (dyn_title,"Temporal Space by user 0");
                       break;
               case CASE_TOT_FREELIST_WAIT_PERCENT:
                       strcpy (dyn_title,"Total Freelist Wait Percentage 0");
                       break;
               case CASE_LAST_CHECKPOINT_TIME:
                       strcpy (dyn_title,"Last Checkpoint Time 0");
                       break;
               case CASE_LIST_TABLESPACES:
                       strcpy (dyn_title,"List Tablespaces 0");
                       break;
               case CASE_ACTIVE_TRANSACTIONS:
                       strcpy (dyn_title,"Active Transactions 0");
                       break;
               case CASE_LATCH_DETAILS:
                       strcpy (dyn_title,"Latch Details 0");
                       break;
               case CASE_RESOURCE_LIMITS:
                       strcpy (dyn_title,"Resource Limits 0");
                       break;
               case CASE_LIST_DATAFILES:
                       strcpy (dyn_title,"List Datafiles 0");
                       break;
               case CASE_LIST_DATAFILES_NEW_9I:
                       strcpy (dyn_title,"List Datafiles New 9i 0");
                                   Página 1
func_dyn_title_set.c
                            break;
                  case   CASE_LIST_TABLESPACES_NEW_9I:
                            strcpy (dyn_title,"List Tablespaces New 9i0");
                            break;
                  case   CASE_ACTIVE_SESSIONS:
                            strcpy (dyn_title,"Active Sessions 0");
                            break;
                  case   CASE_SESSIONS_WAITS:
                            strcpy (dyn_title,"Session Waits 0");
                            break;
                  case   CASE_DEFAULT_STORAGE_SETS_TABLESPACE:
                            strcpy (dyn_title,"Default Storage Settings - By
Tablespace   0");
                          break;
                  case CASE_ALL_TABLES_STORAGE_SETTINGS:
                          strcpy (dyn_title,"All tables Storage (Except SYS and
SYSTEM)   0");
                           break;
                   case CASE_ALL_NON_SYS_TABLES_SETTINGS:
                           strcpy (dyn_title,"Non-Sys Tables 0");
                           break;
                   case CASE_ALL_NON_SYS_INDEXES_SETTINGS:
                           strcpy (dyn_title,"Non-Sys Indexes 0");
                           break;
                   case CASE_USER_DEFINED:
                           strcpy (dyn_title,"User Defined 0");
                           break;
                   case CASE_LIST_DATAFILE_REDO_CONTROL_FILES:
                           strcpy (dyn_title,"List Datafiles, Online Redo Logs,
Control Files     0");
                           break;
                   case CASE_LIST_DATAFILES_USED_BLOCKS:
                           strcpy (dyn_title,"List Datafiles and their Used Blocks
0");
                        break;
                case CASE_LIST_SORT_BY_USER:
                        strcpy (dyn_title,"List sorts by user 0");
                        break;
                case CASE_LIST_LOCK_STATUS:
                        strcpy (dyn_title,"List lock status 0");
                        break;
                case CASE_LIST_USER_BY_CPU_USAGE:
                        strcpy (dyn_title,"List Users by CPU Usage 0");
                        break;
                case CASE_SQL_STATEMENT_BY_THIS_USER:
                        strcpy (dyn_title,"Sql statement by this user 0");
                        break;
                case CASE_REDO_LOGS_STATUS:
                        strcpy (dyn_title,"Redo Logs - Status 0");
                        break;
                case CASE_ARCHIVED_LOGS_HISTORY:
                        switch (version)
                                {
                                case VERSION_ORACLE_816:
                                case VERSION_ORACLE_817:
                                case VERSION_ORACLE_920:
                                        strcpy (dyn_title,"Archived Logs History
 - by first TimeStamp 0");
                                        break;
                                case VERSION_ORACLE_734:
                                        strcpy (dyn_title,"Archived Logs History
 - by first TimeStamp 0");
                                        break;
                                }
                        break;
                case CASE_REDO_LOG_RECOVERY_REPORT:
                        strcpy (dyn_title,"Redo Log Recovery Report - CURRENT
Online Redo log info 0");
                                    Página 2
func_dyn_title_set.c
                       break;
               case CASE_ARCHIVE_LOG_HISTROY:
                       strcpy (dyn_title,"Archive Log History 0");
                       break;
               case CASE_SESSION_LATCH_WAITS_SQL:
                       strcpy (dyn_title,"Session Latch Waits - SQL 0");
                       break;
               case CASE_SESSION_PROGRAM_RUNNING_SQL:
                       strcpy (dyn_title,"Session and Program Running - SQL
0");
                        break;
                case CASE_PRIVILEGES_BY_USER:
                        strcpy (dyn_title,"Privileges by User 0");
                        break;
                case CASE_DETAILED_LOCKING_CAUSES:
                        strcpy (dyn_title,"Detailed locking causes 0");
                        break;
                case CASE_CURRENT_STATISTICS_VALUES:
                        strcpy (dyn_title,"Current Statistics Values 0");
                        break;
                case CASE_TABLE_DESCRIPTION_USER_TABLENAME:
                        strcpy (dyn_title,"Table Description del Usuario
[<OWNER>] [<TABLENAME>] 0");
                        break;
                case CASE_CURRENT_ACTIVITY_REPORT:
                        strcpy (dyn_title,"Current Activity Report 0");
                        break;
                case CASE_DICTIONARY_TABLE_COMMENTS:
                        strcpy (dyn_title,"Table Dictionary Comments 0");
                        break;
                case CASE_DICTIONARY_TABLE_COLUMNS_DESCRIP:
                        strcpy (dyn_title,"Table Dictionary Columns Description
0");
                        break;
                case CASE_SGA_STATISTIC_GENERAL:
                        strcpy (dyn_title,"Sga Statistic General 0");
                        break;
                case CASE_SGA_STATISTIC_MEMORY_USAGE:
                        strcpy (dyn_title,"Sga Statistic Memory Usage 0");
                        break;
                case CASE_SGA_STATISTIC_INFORMATION:
                        strcpy (dyn_title,"Sga Statistic Memory Information
0");
                        break;
                case CASE_ROW_CACHE_INFORMATION:
                        strcpy (dyn_title,"Row Cache Information 0");
                        break;
                case CASE_PERFORMANCE_DISK_I_O:
                        strcpy (dyn_title,"Performance Disk I-O 0");
                        break;
                case CASE_RECURSIVE_CALLS:
                        strcpy (dyn_title,"Recursive Calls 0");
                        break;
                case CASE_SYSTEM_EVENTS:
                        strcpy (dyn_title,"System Events 0");
                        break;
/* -------------------------------------------------------------- */
                        /*
#define CASE_SQL_AREA_ALL_ENTRIES                               52
                        */
                case CASE_SQL_AREA_ALL_ENTRIES:
                        strcpy (dyn_title,"Sql Area All Information 0");
                        break;
                        /*
#define CASE_SQL_AREA_CPU_USAGE                                 53
                        */
                case CASE_SQL_AREA_CPU_USAGE:
                                    Página 3
func_dyn_title_set.c
                        strcpy (dyn_title,"Sql Area Cpu Usage 0");
                        break;
                        /*
#define CASE_SQL_AREA_MEMORY_USAGE                              54
                        */
                case CASE_SQL_AREA_MEMORY_USAGE:
                        strcpy (dyn_title,"Sql Area Memory Usage 0");
                        break;
                        /*
                        /*
#define CASE_SQL_AREA_BUFFER_GET_SUM                     55
                        */
                case CASE_SQL_AREA_BUFFER_GET_SUM:
                        strcpy (dyn_title,"Sql Area Buffer Get Sum 0");
                        break;
                        /*
#define CASE_INIT_PARAMETERS_VALUES_STATUS               56
                        */
                case CASE_INIT_PARAMETERS_VALUES_STATUS:
                        strcpy (dyn_title,"Init Parameters Values - Status 0");
                        break;
/* -------------------------------------------------------------- */
                case CASE_TABLESPACE_FRAGMENTATION:
                        strcpy (dyn_title,"Tablespace Defragmentation 0");
                        break;
                case CASE_SHOW_NLS_PARAMETERS:
                        strcpy (dyn_title,"Show Nls Parameters 0");
                        break;
                case CASE_CONTROL_FILES_STATUS:
                        strcpy (dyn_title,"Control File Status 0");
                        break;
                case CASE_SORT_SEGMENTS_USERS:
                        strcpy (dyn_title,"Show Sort Segments - Users 0");
                        break;
                case CASE_ORACLE_QUOTAS:
                        strcpy (dyn_title,"Quotas by TableSpace - User 0");
                        break;
                case CASE_TABLE_GENERAL_DESCRIPTION:
                        strcpy (dyn_title,"Tables General Description 0");
                        break;
                case CASE_TABLE_COLUMN_DESCRIPTION:
                        strcpy (dyn_title,"Tables Column Description 0");
                        break;
                case CASE_TABLE_CONSTRAINTS:
                        strcpy (dyn_title,"Tables Constraints 0");
                        break;
                case CASE_INDEX_GENERAL_DESCRIPTION:
                        strcpy (dyn_title,"Index General Description 0");
                        break;
                case CASE_AUDIT_DEFINITION:
                        strcpy (dyn_title,"Audit Definition 0");
                        break;
                case CASE_SHOW_SEGMENTS_EXTENTS:
                        strcpy (dyn_title," Show Segments - Extents 0");
                        break;
                case CASE_SHOW_EXTENTS_INSIDE_DATAFILES:
                        strcpy (dyn_title," Show Extents Inside Datafiles 0");
                        break;
                case CASE_SHOW_USER_LISTS:
                        strcpy (dyn_title," Show Users Lists 0");
                        break;
                case CASE_SHOW_ROLES_PRIVILEGES:
                        strcpy (dyn_title," Show Roles - Privileges 0");
                        break;
                case CASE_SHOW_PRIVILEGES_COLUMNS:
                        strcpy (dyn_title," Show Privileges by Columns 0");
                        break;
                case CASE_SHOW_LOCKS_VIEWS:
                                     Página 4
func_dyn_title_set.c
               strcpy (dyn_title," Show Locks Views (Another Way )
0");
                break;
        case CASE_GRAPH_LOCK_WAITS:
                strcpy (dyn_title," Graph Session Lock Waits 0");
                break;
        case CASE_OBJECT_ACCESS_SESSION:
                strcpy (dyn_title," Object access by Sid 0");
                break;
        case CASE_SHOW_LATCHES:
                strcpy (dyn_title," Show Latches 0");
                break;
        case CASE_SHOW_STATISTICS:
                strcpy (dyn_title," Show Statistics 0");
                break;
        case CASE_SHOW_TRANSACTIONS:
                strcpy (dyn_title," Show Transaction Status 0");
                break;
        case CASE_SHOW_DATAFILES_STATUS:
                strcpy (dyn_title," Datafile Status 0");
                break;
        case CASE_SHOW_DB_OBJECT_CACHE:
                strcpy (dyn_title," Show Database Object Cache 0");
                break;
        case CASE_TABLE_ALERT_EXTENT_USED:
                strcpy (dyn_title," Table Alert Extent Used 0");
                break;
        case CASE_INDEX_ALERT_EXTENT_USED:
                strcpy (dyn_title," Index Alert Extent Used 0");
                break;
        case CASE_USER_TIME_WORKING:
                strcpy (dyn_title," User Active Program Working 0");
                break;
        case CASE_IS_USER_WORKING:
                strcpy (dyn_title," User Time User Working 0");
                break;
        case CASE_VER_SQL_PROGRAM:
                strcpy (dyn_title," See SQL*Plus/Other Programs 0");
                break;
        case CASE_SQL_SESS_IO:
                strcpy (dyn_title," Show Session I/O Activity 0");
                break;
        case CASE_SQL_SESSION_EVENT:
                strcpy (dyn_title," Show Session Event Times 0");
                break;
        case CASE_SQL_SESSION_WAIT:
                strcpy (dyn_title," Show Session Wait Reasons 0");
                break;
        case CASE_SQL_SESSION_LONG_OPER:
                strcpy (dyn_title," Show Session Long Opers 0");
                break;
        case CASE_SQL_LOCKED_OBJECTS:
                strcpy (dyn_title," Show Locked Objects 0");
                break;
        case CASE_SQL_TRANSACTION_DETAIL:
                strcpy (dyn_title," Show Transactions Details 0");
                break;
        case CASE_SQL_LOCK_MEDIUM_INFO:
                strcpy (dyn_title," Show Lock Medium Details 0");
                break;
        case CASE_SQL_LOCK_FULL_INFO:
                strcpy (dyn_title," Show Lock Full Details 0");
                break;
        case CASE_SQL_LOCK_BY_SESSION_ID:
                strcpy (dyn_title," Show Lock Session by SID 0");
                break;
        case CASE_SQL_WHO_IS_WAITING_FOR:
                strcpy (dyn_title,"Locking for who is waiting ? 0");
                            Página 5
func_dyn_title_set.c
                        break;
                case CASE_SQL_WHICH_SQL_RUNNING:
                        strcpy (dyn_title,"Which Sql is Running 0");
                        break;
                case CASE_WHICH_OBJECTS_LOCKED_BY_USER:
                        strcpy (dyn_title,"Which Object Locked By User 0");
                        break;
/* ------------------------------------------------- */
/************* Agregado 25-Agosto-2005 ***************/
                case CASE_BUFFER_CACHE_DEFINED:
                        strcpy (dyn_title,"Show Buffer Cached Defined 0");
                        break;
/* ------------------------------------------------- */
                case CASE_BUFFER_CACHE_TOTAL_SIZE:
                        strcpy (dyn_title,"Show Buffer Total Size 0");
                        break;
/* ------------------------------------------------- */
                case CASE_OPTIMIZER_INDEX_COST_ADJ_ESTIMATE:
                        strcpy (dyn_title,"Estimate parameter
optimizer_index_cost_adj 0");
                        break;
/* ------------------------------------------------- */
                case CASE_OPTIMIZER_INDEX_CACHING_ESTIMAGE:
                        strcpy (dyn_title,"Estimate parameter
optimizer_index_caching 0");
                        break;
/* ------------------------------------------------- */
/* ------------------------------------------------- */
                default:
                        strcpy (dyn_title,"Oracle Version 0");
                        break;
                }
        return dyn_title;
        }




                                    Página 6

Mais conteúdo relacionado

Mais procurados

Drupal II: The SQL
Drupal II: The SQLDrupal II: The SQL
Drupal II: The SQLddiers
 
Open Source Search: An Analysis
Open Source Search: An AnalysisOpen Source Search: An Analysis
Open Source Search: An AnalysisJustin Finkelstein
 
Format xls sheets Demo Mode
Format xls sheets Demo ModeFormat xls sheets Demo Mode
Format xls sheets Demo ModeJared Bourne
 
Js 单元测试框架介绍
Js 单元测试框架介绍Js 单元测试框架介绍
Js 单元测试框架介绍louieuser
 
Статичный SQL в С++14. Евгений Захаров ➠ CoreHard Autumn 2019
Статичный SQL в С++14. Евгений Захаров ➠  CoreHard Autumn 2019Статичный SQL в С++14. Евгений Захаров ➠  CoreHard Autumn 2019
Статичный SQL в С++14. Евгений Захаров ➠ CoreHard Autumn 2019corehard_by
 
Zf Zend Db by aida
Zf Zend Db by aidaZf Zend Db by aida
Zf Zend Db by aidawaraiotoko
 
Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020Sandesh Rao
 
PostgreSQL's Secret NoSQL Superpowers
PostgreSQL's Secret NoSQL SuperpowersPostgreSQL's Secret NoSQL Superpowers
PostgreSQL's Secret NoSQL SuperpowersAmanda Gilmore
 
PhpUnit - The most unknown Parts
PhpUnit - The most unknown PartsPhpUnit - The most unknown Parts
PhpUnit - The most unknown PartsBastian Feder
 
Student management system
Student management systemStudent management system
Student management systemgeetika goyal
 
ZendCon2010 Doctrine MongoDB ODM
ZendCon2010 Doctrine MongoDB ODMZendCon2010 Doctrine MongoDB ODM
ZendCon2010 Doctrine MongoDB ODMJonathan Wage
 
Wait queue
Wait queueWait queue
Wait queueRoy Lee
 
Doctrine MongoDB Object Document Mapper
Doctrine MongoDB Object Document MapperDoctrine MongoDB Object Document Mapper
Doctrine MongoDB Object Document MapperJonathan Wage
 
Symfony2 from the Trenches
Symfony2 from the TrenchesSymfony2 from the Trenches
Symfony2 from the TrenchesJonathan Wage
 
Symfony Day 2010 Doctrine MongoDB ODM
Symfony Day 2010 Doctrine MongoDB ODMSymfony Day 2010 Doctrine MongoDB ODM
Symfony Day 2010 Doctrine MongoDB ODMJonathan Wage
 
Upgrade your javascript to drupal 8
Upgrade your javascript to drupal 8Upgrade your javascript to drupal 8
Upgrade your javascript to drupal 8Théodore Biadala
 
FYBSC IT Web Programming Unit V Advanced PHP and MySQL
FYBSC IT Web Programming Unit V  Advanced PHP and MySQLFYBSC IT Web Programming Unit V  Advanced PHP and MySQL
FYBSC IT Web Programming Unit V Advanced PHP and MySQLArti Parab Academics
 

Mais procurados (19)

Drupal II: The SQL
Drupal II: The SQLDrupal II: The SQL
Drupal II: The SQL
 
Open Source Search: An Analysis
Open Source Search: An AnalysisOpen Source Search: An Analysis
Open Source Search: An Analysis
 
C99.php
C99.phpC99.php
C99.php
 
Format xls sheets Demo Mode
Format xls sheets Demo ModeFormat xls sheets Demo Mode
Format xls sheets Demo Mode
 
Js 单元测试框架介绍
Js 单元测试框架介绍Js 单元测试框架介绍
Js 单元测试框架介绍
 
Статичный SQL в С++14. Евгений Захаров ➠ CoreHard Autumn 2019
Статичный SQL в С++14. Евгений Захаров ➠  CoreHard Autumn 2019Статичный SQL в С++14. Евгений Захаров ➠  CoreHard Autumn 2019
Статичный SQL в С++14. Евгений Захаров ➠ CoreHard Autumn 2019
 
Zf Zend Db by aida
Zf Zend Db by aidaZf Zend Db by aida
Zf Zend Db by aida
 
Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020Troubleshooting tips and tricks for Oracle Database Oct 2020
Troubleshooting tips and tricks for Oracle Database Oct 2020
 
PostgreSQL's Secret NoSQL Superpowers
PostgreSQL's Secret NoSQL SuperpowersPostgreSQL's Secret NoSQL Superpowers
PostgreSQL's Secret NoSQL Superpowers
 
PhpUnit - The most unknown Parts
PhpUnit - The most unknown PartsPhpUnit - The most unknown Parts
PhpUnit - The most unknown Parts
 
Student management system
Student management systemStudent management system
Student management system
 
B13 Investigating oracle by Julian Dyke
B13 Investigating oracle by Julian DykeB13 Investigating oracle by Julian Dyke
B13 Investigating oracle by Julian Dyke
 
ZendCon2010 Doctrine MongoDB ODM
ZendCon2010 Doctrine MongoDB ODMZendCon2010 Doctrine MongoDB ODM
ZendCon2010 Doctrine MongoDB ODM
 
Wait queue
Wait queueWait queue
Wait queue
 
Doctrine MongoDB Object Document Mapper
Doctrine MongoDB Object Document MapperDoctrine MongoDB Object Document Mapper
Doctrine MongoDB Object Document Mapper
 
Symfony2 from the Trenches
Symfony2 from the TrenchesSymfony2 from the Trenches
Symfony2 from the Trenches
 
Symfony Day 2010 Doctrine MongoDB ODM
Symfony Day 2010 Doctrine MongoDB ODMSymfony Day 2010 Doctrine MongoDB ODM
Symfony Day 2010 Doctrine MongoDB ODM
 
Upgrade your javascript to drupal 8
Upgrade your javascript to drupal 8Upgrade your javascript to drupal 8
Upgrade your javascript to drupal 8
 
FYBSC IT Web Programming Unit V Advanced PHP and MySQL
FYBSC IT Web Programming Unit V  Advanced PHP and MySQLFYBSC IT Web Programming Unit V  Advanced PHP and MySQL
FYBSC IT Web Programming Unit V Advanced PHP and MySQL
 

Destaque

Funct format sql_statement.c
Funct format sql_statement.cFunct format sql_statement.c
Funct format sql_statement.calbertinous
 
Func dyn proc_func_set.c
Func dyn proc_func_set.cFunc dyn proc_func_set.c
Func dyn proc_func_set.calbertinous
 
Func time sleep.c
Func time sleep.cFunc time sleep.c
Func time sleep.calbertinous
 
Funciones auxiliares.c
Funciones auxiliares.cFunciones auxiliares.c
Funciones auxiliares.calbertinous
 
Orastat line command
Orastat line commandOrastat line command
Orastat line commandalbertinous
 

Destaque (6)

Funct format sql_statement.c
Funct format sql_statement.cFunct format sql_statement.c
Funct format sql_statement.c
 
Func dyn proc_func_set.c
Func dyn proc_func_set.cFunc dyn proc_func_set.c
Func dyn proc_func_set.c
 
Func time sleep.c
Func time sleep.cFunc time sleep.c
Func time sleep.c
 
Funciones auxiliares.c
Funciones auxiliares.cFunciones auxiliares.c
Funciones auxiliares.c
 
Orastat line command
Orastat line commandOrastat line command
Orastat line command
 
Menu orastat.c
Menu orastat.cMenu orastat.c
Menu orastat.c
 

Semelhante a Set Dynamic Title String

Ver menu opcion.c
Ver menu opcion.cVer menu opcion.c
Ver menu opcion.calbertinous
 
Func dyn statement_set.c
Func dyn statement_set.cFunc dyn statement_set.c
Func dyn statement_set.calbertinous
 
Func dyn column_set.c
Func dyn column_set.cFunc dyn column_set.c
Func dyn column_set.calbertinous
 
Transaction isolationexamples
Transaction isolationexamplesTransaction isolationexamples
Transaction isolationexamplesMahabubur Rahaman
 
10. session 10 loops and arrays
10. session 10   loops and arrays10. session 10   loops and arrays
10. session 10 loops and arraysPhúc Đỗ
 

Semelhante a Set Dynamic Title String (6)

Ver menu opcion.c
Ver menu opcion.cVer menu opcion.c
Ver menu opcion.c
 
Func dyn statement_set.c
Func dyn statement_set.cFunc dyn statement_set.c
Func dyn statement_set.c
 
Func dyn column_set.c
Func dyn column_set.cFunc dyn column_set.c
Func dyn column_set.c
 
Transaction isolationexamples
Transaction isolationexamplesTransaction isolationexamples
Transaction isolationexamples
 
Lock basicsexamples
Lock basicsexamplesLock basicsexamples
Lock basicsexamples
 
10. session 10 loops and arrays
10. session 10   loops and arrays10. session 10   loops and arrays
10. session 10 loops and arrays
 

Mais de albertinous

Local functions preceded_calls.h
Local functions preceded_calls.hLocal functions preceded_calls.h
Local functions preceded_calls.halbertinous
 
Func menu mostrar.c
Func menu mostrar.cFunc menu mostrar.c
Func menu mostrar.calbertinous
 
Extern functions funciones_auxiliares.h
Extern functions funciones_auxiliares.hExtern functions funciones_auxiliares.h
Extern functions funciones_auxiliares.halbertinous
 
Decode name mode.c
Decode name mode.cDecode name mode.c
Decode name mode.calbertinous
 
Decode name lock.c
Decode name lock.cDecode name lock.c
Decode name lock.calbertinous
 
Decode lock mode.c
Decode lock mode.cDecode lock mode.c
Decode lock mode.calbertinous
 
Decode command oracle.c
Decode command oracle.cDecode command oracle.c
Decode command oracle.calbertinous
 
Constant oracle versions.h
Constant oracle versions.hConstant oracle versions.h
Constant oracle versions.halbertinous
 
Constant definition.h
Constant definition.hConstant definition.h
Constant definition.halbertinous
 
Case constant sql_stmt_def.h
Case constant sql_stmt_def.hCase constant sql_stmt_def.h
Case constant sql_stmt_def.halbertinous
 
Case constant func_def.h
Case constant func_def.hCase constant func_def.h
Case constant func_def.halbertinous
 
Case constant definition.h
Case constant definition.hCase constant definition.h
Case constant definition.halbertinous
 

Mais de albertinous (14)

Resource1
Resource1Resource1
Resource1
 
Local functions preceded_calls.h
Local functions preceded_calls.hLocal functions preceded_calls.h
Local functions preceded_calls.h
 
Func menu mostrar.c
Func menu mostrar.cFunc menu mostrar.c
Func menu mostrar.c
 
Extern functions funciones_auxiliares.h
Extern functions funciones_auxiliares.hExtern functions funciones_auxiliares.h
Extern functions funciones_auxiliares.h
 
Decode name mode.c
Decode name mode.cDecode name mode.c
Decode name mode.c
 
Decode name lock.c
Decode name lock.cDecode name lock.c
Decode name lock.c
 
Decode lock mode.c
Decode lock mode.cDecode lock mode.c
Decode lock mode.c
 
Decode command oracle.c
Decode command oracle.cDecode command oracle.c
Decode command oracle.c
 
Constant oracle versions.h
Constant oracle versions.hConstant oracle versions.h
Constant oracle versions.h
 
Constant definition.h
Constant definition.hConstant definition.h
Constant definition.h
 
Case constant sql_stmt_def.h
Case constant sql_stmt_def.hCase constant sql_stmt_def.h
Case constant sql_stmt_def.h
 
Case constant func_def.h
Case constant func_def.hCase constant func_def.h
Case constant func_def.h
 
Case constant definition.h
Case constant definition.hCase constant definition.h
Case constant definition.h
 
Orasta500.c
Orasta500.cOrasta500.c
Orasta500.c
 

Último

The-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptxThe-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptxmbikashkanyari
 
business environment micro environment macro environment.pptx
business environment micro environment macro environment.pptxbusiness environment micro environment macro environment.pptx
business environment micro environment macro environment.pptxShruti Mittal
 
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...ssuserf63bd7
 
Appkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxAppkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxappkodes
 
Unveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic ExperiencesUnveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic ExperiencesDoe Paoro
 
WSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdfWSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdfJamesConcepcion7
 
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdfChris Skinner
 
Onemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring CapabilitiesOnemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring CapabilitiesOne Monitar
 
1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdfShaun Heinrichs
 
Send Files | Sendbig.comSend Files | Sendbig.com
Send Files | Sendbig.comSend Files | Sendbig.comSend Files | Sendbig.comSend Files | Sendbig.com
Send Files | Sendbig.comSend Files | Sendbig.comSendBig4
 
digital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingdigital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingrajputmeenakshi733
 
NAB Show Exhibitor List 2024 - Exhibitors Data
NAB Show Exhibitor List 2024 - Exhibitors DataNAB Show Exhibitor List 2024 - Exhibitors Data
NAB Show Exhibitor List 2024 - Exhibitors DataExhibitors Data
 
How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...
How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...
How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...Hector Del Castillo, CPM, CPMM
 
Jewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource CentreJewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource CentreNZSG
 
Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Anamaria Contreras
 
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptxGo for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptxRakhi Bazaar
 
1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdfShaun Heinrichs
 
PSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationPSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationAnamaria Contreras
 
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdftrending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdfMintel Group
 
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...Associazione Digital Days
 

Último (20)

The-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptxThe-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
The-Ethical-issues-ghhhhhhhhjof-Byjus.pptx
 
business environment micro environment macro environment.pptx
business environment micro environment macro environment.pptxbusiness environment micro environment macro environment.pptx
business environment micro environment macro environment.pptx
 
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
Intermediate Accounting, Volume 2, 13th Canadian Edition by Donald E. Kieso t...
 
Appkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptxAppkodes Tinder Clone Script with Customisable Solutions.pptx
Appkodes Tinder Clone Script with Customisable Solutions.pptx
 
Unveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic ExperiencesUnveiling the Soundscape Music for Psychedelic Experiences
Unveiling the Soundscape Music for Psychedelic Experiences
 
WSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdfWSMM Technology February.March Newsletter_vF.pdf
WSMM Technology February.March Newsletter_vF.pdf
 
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
20220816-EthicsGrade_Scorecard-JP_Morgan_Chase-Q2-63_57.pdf
 
Onemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring CapabilitiesOnemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
Onemonitar Android Spy App Features: Explore Advanced Monitoring Capabilities
 
1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf
 
Send Files | Sendbig.comSend Files | Sendbig.com
Send Files | Sendbig.comSend Files | Sendbig.comSend Files | Sendbig.comSend Files | Sendbig.com
Send Files | Sendbig.comSend Files | Sendbig.com
 
digital marketing , introduction of digital marketing
digital marketing , introduction of digital marketingdigital marketing , introduction of digital marketing
digital marketing , introduction of digital marketing
 
NAB Show Exhibitor List 2024 - Exhibitors Data
NAB Show Exhibitor List 2024 - Exhibitors DataNAB Show Exhibitor List 2024 - Exhibitors Data
NAB Show Exhibitor List 2024 - Exhibitors Data
 
How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...
How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...
How Generative AI Is Transforming Your Business | Byond Growth Insights | Apr...
 
Jewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource CentreJewish Resources in the Family Resource Centre
Jewish Resources in the Family Resource Centre
 
Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.Traction part 2 - EOS Model JAX Bridges.
Traction part 2 - EOS Model JAX Bridges.
 
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptxGo for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
Go for Rakhi Bazaar and Pick the Latest Bhaiya Bhabhi Rakhi.pptx
 
1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf1911 Gold Corporate Presentation Apr 2024.pdf
1911 Gold Corporate Presentation Apr 2024.pdf
 
PSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationPSCC - Capability Statement Presentation
PSCC - Capability Statement Presentation
 
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdftrending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
trending-flavors-and-ingredients-in-salty-snacks-us-2024_Redacted-V2.pdf
 
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
Lucia Ferretti, Lead Business Designer; Matteo Meschini, Business Designer @T...
 

Set Dynamic Title String

  • 1. func_dyn_title_set.c #include <stdio.h> #include <stdlib.h> #include <string.h> #include "constant_definition.h" #include "case_constant_definition.h" #include "case_constant_sql_stmt_def.h" #include "constant_oracle_versions.h" extern vaciar_cadena(); char *func_dyn_title_set (int version, int sentencia ) { static char dyn_title[MAX_VAR_SIZE]; vaciar_cadena (dyn_title,MAX_VAR_SIZE); switch ( sentencia ) { case CASE_ORACLE_VERSION: strcpy (dyn_title,"Oracle Version 0"); break; case CASE_ACTIVE_PARAMETERS: strcpy (dyn_title,"Active Parameters 0"); break; case CASE_USERS_CONNECTED: strcpy (dyn_title,"User conected0"); break; case CASE_WAIT_STATISTICS: strcpy (dyn_title,"Wait Statistics0"); break; case CASE_DATAFILE_I_0: strcpy (dyn_title,"Datafile I-O 0"); break; case CASE_DATAFILE_BLOCKS_R_W: strcpy (dyn_title,"Datafile Blocks R+W 0"); break; case CASE_WAIT_EVENTS: strcpy (dyn_title,"Wait Events 0"); break; case CASE_INSTANCE_STATUS: strcpy (dyn_title,"Instance status 0"); break; case CASE_TEMPORAL_SPACE_BY_USER: strcpy (dyn_title,"Temporal Space by user 0"); break; case CASE_TOT_FREELIST_WAIT_PERCENT: strcpy (dyn_title,"Total Freelist Wait Percentage 0"); break; case CASE_LAST_CHECKPOINT_TIME: strcpy (dyn_title,"Last Checkpoint Time 0"); break; case CASE_LIST_TABLESPACES: strcpy (dyn_title,"List Tablespaces 0"); break; case CASE_ACTIVE_TRANSACTIONS: strcpy (dyn_title,"Active Transactions 0"); break; case CASE_LATCH_DETAILS: strcpy (dyn_title,"Latch Details 0"); break; case CASE_RESOURCE_LIMITS: strcpy (dyn_title,"Resource Limits 0"); break; case CASE_LIST_DATAFILES: strcpy (dyn_title,"List Datafiles 0"); break; case CASE_LIST_DATAFILES_NEW_9I: strcpy (dyn_title,"List Datafiles New 9i 0"); Página 1
  • 2. func_dyn_title_set.c break; case CASE_LIST_TABLESPACES_NEW_9I: strcpy (dyn_title,"List Tablespaces New 9i0"); break; case CASE_ACTIVE_SESSIONS: strcpy (dyn_title,"Active Sessions 0"); break; case CASE_SESSIONS_WAITS: strcpy (dyn_title,"Session Waits 0"); break; case CASE_DEFAULT_STORAGE_SETS_TABLESPACE: strcpy (dyn_title,"Default Storage Settings - By Tablespace 0"); break; case CASE_ALL_TABLES_STORAGE_SETTINGS: strcpy (dyn_title,"All tables Storage (Except SYS and SYSTEM) 0"); break; case CASE_ALL_NON_SYS_TABLES_SETTINGS: strcpy (dyn_title,"Non-Sys Tables 0"); break; case CASE_ALL_NON_SYS_INDEXES_SETTINGS: strcpy (dyn_title,"Non-Sys Indexes 0"); break; case CASE_USER_DEFINED: strcpy (dyn_title,"User Defined 0"); break; case CASE_LIST_DATAFILE_REDO_CONTROL_FILES: strcpy (dyn_title,"List Datafiles, Online Redo Logs, Control Files 0"); break; case CASE_LIST_DATAFILES_USED_BLOCKS: strcpy (dyn_title,"List Datafiles and their Used Blocks 0"); break; case CASE_LIST_SORT_BY_USER: strcpy (dyn_title,"List sorts by user 0"); break; case CASE_LIST_LOCK_STATUS: strcpy (dyn_title,"List lock status 0"); break; case CASE_LIST_USER_BY_CPU_USAGE: strcpy (dyn_title,"List Users by CPU Usage 0"); break; case CASE_SQL_STATEMENT_BY_THIS_USER: strcpy (dyn_title,"Sql statement by this user 0"); break; case CASE_REDO_LOGS_STATUS: strcpy (dyn_title,"Redo Logs - Status 0"); break; case CASE_ARCHIVED_LOGS_HISTORY: switch (version) { case VERSION_ORACLE_816: case VERSION_ORACLE_817: case VERSION_ORACLE_920: strcpy (dyn_title,"Archived Logs History - by first TimeStamp 0"); break; case VERSION_ORACLE_734: strcpy (dyn_title,"Archived Logs History - by first TimeStamp 0"); break; } break; case CASE_REDO_LOG_RECOVERY_REPORT: strcpy (dyn_title,"Redo Log Recovery Report - CURRENT Online Redo log info 0"); Página 2
  • 3. func_dyn_title_set.c break; case CASE_ARCHIVE_LOG_HISTROY: strcpy (dyn_title,"Archive Log History 0"); break; case CASE_SESSION_LATCH_WAITS_SQL: strcpy (dyn_title,"Session Latch Waits - SQL 0"); break; case CASE_SESSION_PROGRAM_RUNNING_SQL: strcpy (dyn_title,"Session and Program Running - SQL 0"); break; case CASE_PRIVILEGES_BY_USER: strcpy (dyn_title,"Privileges by User 0"); break; case CASE_DETAILED_LOCKING_CAUSES: strcpy (dyn_title,"Detailed locking causes 0"); break; case CASE_CURRENT_STATISTICS_VALUES: strcpy (dyn_title,"Current Statistics Values 0"); break; case CASE_TABLE_DESCRIPTION_USER_TABLENAME: strcpy (dyn_title,"Table Description del Usuario [<OWNER>] [<TABLENAME>] 0"); break; case CASE_CURRENT_ACTIVITY_REPORT: strcpy (dyn_title,"Current Activity Report 0"); break; case CASE_DICTIONARY_TABLE_COMMENTS: strcpy (dyn_title,"Table Dictionary Comments 0"); break; case CASE_DICTIONARY_TABLE_COLUMNS_DESCRIP: strcpy (dyn_title,"Table Dictionary Columns Description 0"); break; case CASE_SGA_STATISTIC_GENERAL: strcpy (dyn_title,"Sga Statistic General 0"); break; case CASE_SGA_STATISTIC_MEMORY_USAGE: strcpy (dyn_title,"Sga Statistic Memory Usage 0"); break; case CASE_SGA_STATISTIC_INFORMATION: strcpy (dyn_title,"Sga Statistic Memory Information 0"); break; case CASE_ROW_CACHE_INFORMATION: strcpy (dyn_title,"Row Cache Information 0"); break; case CASE_PERFORMANCE_DISK_I_O: strcpy (dyn_title,"Performance Disk I-O 0"); break; case CASE_RECURSIVE_CALLS: strcpy (dyn_title,"Recursive Calls 0"); break; case CASE_SYSTEM_EVENTS: strcpy (dyn_title,"System Events 0"); break; /* -------------------------------------------------------------- */ /* #define CASE_SQL_AREA_ALL_ENTRIES 52 */ case CASE_SQL_AREA_ALL_ENTRIES: strcpy (dyn_title,"Sql Area All Information 0"); break; /* #define CASE_SQL_AREA_CPU_USAGE 53 */ case CASE_SQL_AREA_CPU_USAGE: Página 3
  • 4. func_dyn_title_set.c strcpy (dyn_title,"Sql Area Cpu Usage 0"); break; /* #define CASE_SQL_AREA_MEMORY_USAGE 54 */ case CASE_SQL_AREA_MEMORY_USAGE: strcpy (dyn_title,"Sql Area Memory Usage 0"); break; /* /* #define CASE_SQL_AREA_BUFFER_GET_SUM 55 */ case CASE_SQL_AREA_BUFFER_GET_SUM: strcpy (dyn_title,"Sql Area Buffer Get Sum 0"); break; /* #define CASE_INIT_PARAMETERS_VALUES_STATUS 56 */ case CASE_INIT_PARAMETERS_VALUES_STATUS: strcpy (dyn_title,"Init Parameters Values - Status 0"); break; /* -------------------------------------------------------------- */ case CASE_TABLESPACE_FRAGMENTATION: strcpy (dyn_title,"Tablespace Defragmentation 0"); break; case CASE_SHOW_NLS_PARAMETERS: strcpy (dyn_title,"Show Nls Parameters 0"); break; case CASE_CONTROL_FILES_STATUS: strcpy (dyn_title,"Control File Status 0"); break; case CASE_SORT_SEGMENTS_USERS: strcpy (dyn_title,"Show Sort Segments - Users 0"); break; case CASE_ORACLE_QUOTAS: strcpy (dyn_title,"Quotas by TableSpace - User 0"); break; case CASE_TABLE_GENERAL_DESCRIPTION: strcpy (dyn_title,"Tables General Description 0"); break; case CASE_TABLE_COLUMN_DESCRIPTION: strcpy (dyn_title,"Tables Column Description 0"); break; case CASE_TABLE_CONSTRAINTS: strcpy (dyn_title,"Tables Constraints 0"); break; case CASE_INDEX_GENERAL_DESCRIPTION: strcpy (dyn_title,"Index General Description 0"); break; case CASE_AUDIT_DEFINITION: strcpy (dyn_title,"Audit Definition 0"); break; case CASE_SHOW_SEGMENTS_EXTENTS: strcpy (dyn_title," Show Segments - Extents 0"); break; case CASE_SHOW_EXTENTS_INSIDE_DATAFILES: strcpy (dyn_title," Show Extents Inside Datafiles 0"); break; case CASE_SHOW_USER_LISTS: strcpy (dyn_title," Show Users Lists 0"); break; case CASE_SHOW_ROLES_PRIVILEGES: strcpy (dyn_title," Show Roles - Privileges 0"); break; case CASE_SHOW_PRIVILEGES_COLUMNS: strcpy (dyn_title," Show Privileges by Columns 0"); break; case CASE_SHOW_LOCKS_VIEWS: Página 4
  • 5. func_dyn_title_set.c strcpy (dyn_title," Show Locks Views (Another Way ) 0"); break; case CASE_GRAPH_LOCK_WAITS: strcpy (dyn_title," Graph Session Lock Waits 0"); break; case CASE_OBJECT_ACCESS_SESSION: strcpy (dyn_title," Object access by Sid 0"); break; case CASE_SHOW_LATCHES: strcpy (dyn_title," Show Latches 0"); break; case CASE_SHOW_STATISTICS: strcpy (dyn_title," Show Statistics 0"); break; case CASE_SHOW_TRANSACTIONS: strcpy (dyn_title," Show Transaction Status 0"); break; case CASE_SHOW_DATAFILES_STATUS: strcpy (dyn_title," Datafile Status 0"); break; case CASE_SHOW_DB_OBJECT_CACHE: strcpy (dyn_title," Show Database Object Cache 0"); break; case CASE_TABLE_ALERT_EXTENT_USED: strcpy (dyn_title," Table Alert Extent Used 0"); break; case CASE_INDEX_ALERT_EXTENT_USED: strcpy (dyn_title," Index Alert Extent Used 0"); break; case CASE_USER_TIME_WORKING: strcpy (dyn_title," User Active Program Working 0"); break; case CASE_IS_USER_WORKING: strcpy (dyn_title," User Time User Working 0"); break; case CASE_VER_SQL_PROGRAM: strcpy (dyn_title," See SQL*Plus/Other Programs 0"); break; case CASE_SQL_SESS_IO: strcpy (dyn_title," Show Session I/O Activity 0"); break; case CASE_SQL_SESSION_EVENT: strcpy (dyn_title," Show Session Event Times 0"); break; case CASE_SQL_SESSION_WAIT: strcpy (dyn_title," Show Session Wait Reasons 0"); break; case CASE_SQL_SESSION_LONG_OPER: strcpy (dyn_title," Show Session Long Opers 0"); break; case CASE_SQL_LOCKED_OBJECTS: strcpy (dyn_title," Show Locked Objects 0"); break; case CASE_SQL_TRANSACTION_DETAIL: strcpy (dyn_title," Show Transactions Details 0"); break; case CASE_SQL_LOCK_MEDIUM_INFO: strcpy (dyn_title," Show Lock Medium Details 0"); break; case CASE_SQL_LOCK_FULL_INFO: strcpy (dyn_title," Show Lock Full Details 0"); break; case CASE_SQL_LOCK_BY_SESSION_ID: strcpy (dyn_title," Show Lock Session by SID 0"); break; case CASE_SQL_WHO_IS_WAITING_FOR: strcpy (dyn_title,"Locking for who is waiting ? 0"); Página 5
  • 6. func_dyn_title_set.c break; case CASE_SQL_WHICH_SQL_RUNNING: strcpy (dyn_title,"Which Sql is Running 0"); break; case CASE_WHICH_OBJECTS_LOCKED_BY_USER: strcpy (dyn_title,"Which Object Locked By User 0"); break; /* ------------------------------------------------- */ /************* Agregado 25-Agosto-2005 ***************/ case CASE_BUFFER_CACHE_DEFINED: strcpy (dyn_title,"Show Buffer Cached Defined 0"); break; /* ------------------------------------------------- */ case CASE_BUFFER_CACHE_TOTAL_SIZE: strcpy (dyn_title,"Show Buffer Total Size 0"); break; /* ------------------------------------------------- */ case CASE_OPTIMIZER_INDEX_COST_ADJ_ESTIMATE: strcpy (dyn_title,"Estimate parameter optimizer_index_cost_adj 0"); break; /* ------------------------------------------------- */ case CASE_OPTIMIZER_INDEX_CACHING_ESTIMAGE: strcpy (dyn_title,"Estimate parameter optimizer_index_caching 0"); break; /* ------------------------------------------------- */ /* ------------------------------------------------- */ default: strcpy (dyn_title,"Oracle Version 0"); break; } return dyn_title; } Página 6