DBA Data[Home] [Help]

APPS.XLA_UTILITY_PKG dependencies on XLA_ENVIRONMENT_PKG

Line 537: || xla_environment_pkg.g_process_id

533: --
534: g_file_name
535: := NVL(g_file_override_filename
536: ,c_file_prefix
537: || xla_environment_pkg.g_process_id
538: || '_'
539: || xla_environment_pkg.g_session_id
540: || c_file_suffix);
541:

Line 539: || xla_environment_pkg.g_session_id

535: := NVL(g_file_override_filename
536: ,c_file_prefix
537: || xla_environment_pkg.g_process_id
538: || '_'
539: || xla_environment_pkg.g_session_id
540: || c_file_suffix);
541:
542: ---
543: --- The file mode must be opened in 'w' mode in 7.3, otherwise in 'a' mode

Line 700: || xla_environment_pkg.g_chr_newline

696: -- Symbol is after the threshold.
697: -- PLAB: To review to handle nested new lines
698: --
699: l_new_msg := SUBSTR(p_msg,1,l_pos-1)
700: || xla_environment_pkg.g_chr_newline
701: || ' '||LPAD('=',l_equal_position-1,' ')
702: || SUBSTR(p_msg,l_pos+1);
703: END IF;
704: END IF;

Line 711: RETURN l_datetime || ' '||REPLACE(l_new_msg,xla_environment_pkg.g_chr_newline

707: --
708: -- Add the time on the left side and left pad the new line character
709: -- with the space allocated to the timing
710: --
711: RETURN l_datetime || ' '||REPLACE(l_new_msg,xla_environment_pkg.g_chr_newline
712: ,xla_environment_pkg.g_chr_newline || RPAD(' ',16,' '));
713: ELSE
714: RETURN l_new_msg;
715: END IF;

Line 712: ,xla_environment_pkg.g_chr_newline || RPAD(' ',16,' '));

708: -- Add the time on the left side and left pad the new line character
709: -- with the space allocated to the timing
710: --
711: RETURN l_datetime || ' '||REPLACE(l_new_msg,xla_environment_pkg.g_chr_newline
712: ,xla_environment_pkg.g_chr_newline || RPAD(' ',16,' '));
713: ELSE
714: RETURN l_new_msg;
715: END IF;
716: END convert_msg;

Line 747: l_pos := INSTR(p_msg,xla_environment_pkg.g_chr_newline,l_compt,1);

743: l_length := LENGTHB(p_msg);
744: l_compt := 1;
745: WHILE (l_compt <= l_length) LOOP
746: BEGIN
747: l_pos := INSTR(p_msg,xla_environment_pkg.g_chr_newline,l_compt,1);
748: IF ((l_pos = 0) OR ((l_pos -l_compt) > c_max_msg_output)) THEN
749: l_l := LEAST(c_max_msg_output,l_length-l_compt+1);
750: l_sub := SUBSTR(p_msg,l_compt,l_l);
751: l_compt := l_compt+l_l;

Line 994: l_pos := INSTR(p_msg,xla_environment_pkg.g_chr_newline,l_compt,1);

990: l_length := LENGTHB(p_msg);
991: l_compt := 1;
992: WHILE (l_compt <= l_length) LOOP
993: BEGIN
994: l_pos := INSTR(p_msg,xla_environment_pkg.g_chr_newline,l_compt,1);
995: IF ((l_pos = 0) OR ((l_pos -l_compt) > c_max_msg_pipe)) THEN
996: l_l := LEAST(c_max_msg_pipe,l_length-l_compt+1);
997: l_sub := SUBSTR(p_msg,l_compt,l_l);
998: l_compt := l_compt+l_l;

Line 1025: g_pipe_name := xla_environment_pkg.g_session_name

1021: IS
1022:
1023: BEGIN
1024: g_pipename_increment := g_pipename_increment + 1;
1025: g_pipe_name := xla_environment_pkg.g_session_name
1026: || '_'
1027: || LTRIM(RTRIM(TO_CHAR(g_pipename_increment)))
1028: || c_pipe_name_suffix;
1029: g_unique_location := REPLACE(g_location ,'''','')

Line 1031: || xla_environment_pkg.g_session_name

1027: || LTRIM(RTRIM(TO_CHAR(g_pipename_increment)))
1028: || c_pipe_name_suffix;
1029: g_unique_location := REPLACE(g_location ,'''','')
1030: || '_'
1031: || xla_environment_pkg.g_session_name
1032: || '_'
1033: || LTRIM(RTRIM(TO_CHAR(g_pipename_increment)));
1034: END set_unique_session_info;
1035:

Line 1162: trace('OS Module = ' || xla_environment_pkg.g_module ,-10);

1158: trace(RPAD('+',76,'-')||'+' ,-10);
1159: trace('Revision = $Revision: 120.11 $' ,-10);
1160: trace('Datetime = ' || TO_CHAR(sysdate,'DD-MON-YYYY HH24:MI:SS')
1161: ,-10);
1162: trace('OS Module = ' || xla_environment_pkg.g_module ,-10);
1163: trace('OS Process id = ' || xla_environment_pkg.g_process_id, -10);
1164: trace('RDBMS Session id = ' || xla_environment_pkg.g_session_id, -10);
1165: trace('SRS Program = ' || xla_environment_pkg.g_program ,-10);
1166: trace('Location = ' || g_location ,-10);

Line 1163: trace('OS Process id = ' || xla_environment_pkg.g_process_id, -10);

1159: trace('Revision = $Revision: 120.11 $' ,-10);
1160: trace('Datetime = ' || TO_CHAR(sysdate,'DD-MON-YYYY HH24:MI:SS')
1161: ,-10);
1162: trace('OS Module = ' || xla_environment_pkg.g_module ,-10);
1163: trace('OS Process id = ' || xla_environment_pkg.g_process_id, -10);
1164: trace('RDBMS Session id = ' || xla_environment_pkg.g_session_id, -10);
1165: trace('SRS Program = ' || xla_environment_pkg.g_program ,-10);
1166: trace('Location = ' || g_location ,-10);
1167: trace('Timeout = ' || g_timeout ,-10);

Line 1164: trace('RDBMS Session id = ' || xla_environment_pkg.g_session_id, -10);

1160: trace('Datetime = ' || TO_CHAR(sysdate,'DD-MON-YYYY HH24:MI:SS')
1161: ,-10);
1162: trace('OS Module = ' || xla_environment_pkg.g_module ,-10);
1163: trace('OS Process id = ' || xla_environment_pkg.g_process_id, -10);
1164: trace('RDBMS Session id = ' || xla_environment_pkg.g_session_id, -10);
1165: trace('SRS Program = ' || xla_environment_pkg.g_program ,-10);
1166: trace('Location = ' || g_location ,-10);
1167: trace('Timeout = ' || g_timeout ,-10);
1168: trace('Type = ' || g_debug_mode ,-10);

Line 1165: trace('SRS Program = ' || xla_environment_pkg.g_program ,-10);

1161: ,-10);
1162: trace('OS Module = ' || xla_environment_pkg.g_module ,-10);
1163: trace('OS Process id = ' || xla_environment_pkg.g_process_id, -10);
1164: trace('RDBMS Session id = ' || xla_environment_pkg.g_session_id, -10);
1165: trace('SRS Program = ' || xla_environment_pkg.g_program ,-10);
1166: trace('Location = ' || g_location ,-10);
1167: trace('Timeout = ' || g_timeout ,-10);
1168: trace('Type = ' || g_debug_mode ,-10);
1169: trace('Mode = ' || g_mode ,-10);

Line 1785: RETURN xla_environment_pkg.g_session_id;

1781: IS
1782:
1783: BEGIN
1784: IF p_option = 'SESSION_ID' THEN
1785: RETURN xla_environment_pkg.g_session_id;
1786: ELSIF p_option = 'PROCESS_ID' THEN
1787: RETURN xla_environment_pkg.g_process_id;
1788: ELSE
1789: xla_exceptions_pkg.raise_message

Line 1787: RETURN xla_environment_pkg.g_process_id;

1783: BEGIN
1784: IF p_option = 'SESSION_ID' THEN
1785: RETURN xla_environment_pkg.g_session_id;
1786: ELSIF p_option = 'PROCESS_ID' THEN
1787: RETURN xla_environment_pkg.g_process_id;
1788: ELSE
1789: xla_exceptions_pkg.raise_message
1790: ('XLA' ,'XLA_INTERNAL_ERROR'
1791: ,'ERROR' ,'Invalid option '||p_option

Line 2346: xla_environment_pkg.refresh;

2342: +======================================================================*/
2343: PROCEDURE reset
2344: IS
2345: BEGIN
2346: xla_environment_pkg.refresh;
2347: set_default_options;
2348: g_stat := 'N';
2349: END reset;
2350: