Skip to content

Debug

Prints the buffer representation of a record.

PROCEDURE Debug (  
   record_ IN type_record_,  
   level_  IN NUMBER DEFAULT Log_SYS.debug_ )

Parameters

record_
Foundation1 record.

level_
    Logging level; default Debug.

Example

SQL> SET SERVEROUT ON SIZE 100000  
SQL> DECLARE  
        AM  Plsqlap_Record_API.type_record_;  
     BEGIN  
        ...  
        Plsqlap_Record_API.Debug(AM);  
        ...  
END;
APPLICATION_MESSAGE  
      is the main record consisting of five attributes, three simple attributes,  
      one attribute, TEXT_BODY is an aggregate and one attribute,  
      ADDRESS_LABEL_LIST is an array. The attribute TEXT_BODY contains a record  
      of type TEXT_BODY. The attribute ADDRESS_LABEL_LIST contains three records  
      of type ADDRESS_LABEL.  
        
1:$DATA:APPLICATION_MESSAGE/Modify=  
---1:$APPLICATION_MESSAGE_ID:TK=100^*  
---2:$SENDER:A=Jan H Malmberg  
---3:$MESSAGE_TYPE:A=A1  
---4:$TEXT_BODY:ARRAY=  
------1:$DATA:TEXT_BODY=  
---------1:$TEXT_VALUE:LT=This is the message body  
---5:$ADDRESS_LABEL_LIST:ARRAY/*=  
------1:$DATA:ADDRESS_LABEL=  
---------1:$TRANSPORT_CONNECTOR:A=Mail  
---------2:$ADDRESS_DATA:T=ranko.narancic@ifsab.se  
---------3:$SENT:D=2001-04-25-00.00.00  
------2:$DATA:ADDRESS_LABEL=  
---------1:$TRANSPORT_CONNECTOR:A=Mail  
---------2:$ADDRESS_DATA:T=jan.olof.herbersson@ifsab.se  
---------3:$SENT:D=2001-04-25-00.00.00  
------3:$DATA:ADDRESS_LABEL/Create=  
---------1:$OBJ_ID:A*  
---------2:$SEQ_NO:I*  
---------3:$TRANSPORT_CONNECTOR:A=Mail  
---------4:$ADDRESS_DATA:T=jan.h.malmberg@ifsab.se  
---------5:$SENDER:A*  
---------6:$STATE:ENUM*  
---------7:$SENT:D*  
---------8:$EXPIRES:D*  
---------9:$RECEIPT_REQUIRED:D*  
---------10:$ENVELOPE:T=soap  
---------11:$TRANSFORMER:T*  
---------12:$OPTIONS:T*  
---------13:$RETRIED_COUNT:I*  
---------14:$MAX_RETRIES:I*  
---------15:$ERROR_TEXT:T*  
---------16:$REPLY:R.HEX*