Access the API trace log file

Start of changeAfter you have set up the API trace tool you can now access the log file to begin troubleshooting.End of change

To access this log file, complete the following steps:
  1. On the character-based interface, enter wrklnk ('home/user profile'), where user profile is the user profile's name.
  2. On the Work with Object Link dialog box, select Option 5 to display the contents of the trace.txt file stored in that directory.
This shows a portion of an example log file:
Browse : /home/day/trace.txt                                             
 Record :       1   of    5430 by  14            Column :    1    140 by  79    
 Control :                                                                      
                                                                              
 ************Beginning of data**************                                    
030515 08:53:13 (00000003) DBG1 KRB/KRB_GENERAL: Version 5, Release 3, Service level V5R3M0
030515 08:53:13 (00000003) DBG1 KRB/KRB_GENERAL: STDOUT handle=4, STDERR handle==-1,
DEBUG handle=4
030515 08:53:13 (00000003) DBG6 KRB/KRB_GENERAL: Using variant character table for code set 37
030515 08:53:13 (00000003) DBG1 KRB/KRB_API: --> krb5_init_context()
030515 08:53:13 (00000003) DBG8 KRB/KRB_GENERAL: Updating profile from 
QIBM/USERDATA/OS400/NETWORKAUTHENTICATION/krb5.conf
030515 08:53:13 (00000003) DBG8 KRB/KRB_GENERAL: Line:   [libdefaults]
030515 08:53:13 (00000003) DBG8 KRB/KRB_GENERAL: Line:   default_keytab_name = /
030515 08:53:13 (00000003) DBG8 KRB/KRB_GENERAL: Line:   default_realm = MYCO.COM
030515 08:53:13 (00000003) DBG8 KRB/KRB_GENERAL: Line:   [realms]               
030515 08:53:13 (00000003) DBG8 KRB/KRB_GENERAL: Line:   MYCO.COM = {
030515 08:53:13 (00000003) DBG8 KRB/KRB_GENERAL: Line:   kdc = kdc1.myco.com:88
030515 08:53:13 (00000003) DBG8 KRB/KRB_GENERAL: Line:   kpasswd_server = kdc1.myco.com:464
030515 08:53:13 (00000003) DBG8 KRB/KRB_GENERAL: Line:   }                      
030515 08:53:13 (00000003) DBG8 KRB/KRB_GENERAL: Line:   [domain_realm]         
                                                                                
F3=Exit   F10=Display Hex   F12=Exit  F15=Services  F16=Repeat find            
F19=Left   F20=Right        
For information about specific error messages that are found in the API trace, see the corresponding API in the Information Center. You can either use the following methods for locating information about these APIs: