DBA Data[Home] [Help]

APPS.PO_DEBUG dependencies on PO_DEBUG

Line 1: PACKAGE BODY PO_DEBUG AS

1: PACKAGE BODY PO_DEBUG AS
2: -- $Header: POXDBUGB.pls 120.1 2005/06/29 19:29:55 shsiung noship $
3:
4:
5: /***************************************************************

Line 506: -- variable PO_DEBUG.write_to_file.

502:
503: ===========================================================================*/
504:
505: -- Write debug messages to file or standard out based on the value of package
506: -- variable PO_DEBUG.write_to_file.
507: --
508: -- Use PO_DEBUG.set_file_io( TRUE / FALSE ) to set this variable.
509:
510: PROCEDURE PUT_LINE (v_line in varchar2) IS

Line 508: -- Use PO_DEBUG.set_file_io( TRUE / FALSE ) to set this variable.

504:
505: -- Write debug messages to file or standard out based on the value of package
506: -- variable PO_DEBUG.write_to_file.
507: --
508: -- Use PO_DEBUG.set_file_io( TRUE / FALSE ) to set this variable.
509:
510: PROCEDURE PUT_LINE (v_line in varchar2) IS
511:
512: x_temp varchar2(10) := 'NULL';

Line 516: if PO_DEBUG.write_to_file is NULL then

512: x_temp varchar2(10) := 'NULL';
513:
514: BEGIN
515:
516: if PO_DEBUG.write_to_file is NULL then
517:
518: -- Do nothing.
519: null;
520:

Line 521: elsif PO_DEBUG.write_to_file then

517:
518: -- Do nothing.
519: null;
520:
521: elsif PO_DEBUG.write_to_file then
522:
523: -- write to system log file
524: -- Assuming all the rules for utl_file have been properly followed
525: -- the following call should write to a system generated log file.

Line 543: PO_DEBUG.write_to_file := NULL; -- Reset the file I/O flag so that the package is not invoked again

539:
540: when others then
541: -- do not raise any exception
542: --dbms_output.put_line('*** ERROR WRITING TO FILE - Check UTL_FILE_DIR Parameter in init.ora *** : ' || x_temp);
543: PO_DEBUG.write_to_file := NULL; -- Reset the file I/O flag so that the package is not invoked again
544: -- May run into rollback problems if the FND_FILE package is called again
545: -- because it performs an implicit commit.
546:
547: END PUT_LINE;

Line 555: PO_DEBUG.write_to_file := flag;

551: PROCEDURE set_file_io(flag BOOLEAN) IS
552:
553: BEGIN
554:
555: PO_DEBUG.write_to_file := flag;
556:
557: /* Bug 1014430 : dbms_output should be enabled conditionally only if the
558: flag is false.
559: */

Line 575: END PO_DEBUG;

571:
572:
573:
574:
575: END PO_DEBUG;