Difference: 0LASubrDataDebugLog (1 vs. 2)

Revision 22020-03-04 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="FullAPIList"

.DATA DEBUG LOG

Line: 6 to 6
 

Usage:

Changed:
<
<
      PASS         <stream_name>              FIELD            SHARE? N
      PASS         <pathname>                 FIELD            SHARE? N
      PASS         <open_mode>                FIELD            SHARE? N
      PASS         <line_termination>         FIELD            SHARE? N
      GOSUB    --- .STREAM OPEN
      *        check for errors
      IF       --- .STREAM OPEN               NE

>
>
      PASS         <debug_message>            FIELD            SHARE? N
      GOSUB    --- .DATA DEBUG LOG

 

Description:

Added:
>
>
This subroutine allows you to write messages to the Data API log file. APPX_DATASVC_LOG must be pointing to a writable file

<debug_message> is the message you want to write to the log. You can execute multiple PASS statements and the text will be concatenated into one log entry. Each log entry is date/time stamped.

 

Comments


<--/commentPlugin-->

Revision 12020-03-04 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="FullAPIList"

.DATA DEBUG LOG

This subroutine allows you to write a free format messages to the debug log. This is only useful when working with the Data API (Release 5.5.0 & higher)


Usage:

      PASS         <stream_name>              FIELD            SHARE? N
      PASS         <pathname>                 FIELD            SHARE? N
      PASS         <open_mode>                FIELD            SHARE? N
      PASS         <line_termination>         FIELD            SHARE? N
      GOSUB    --- .STREAM OPEN
      *        check for errors
      IF       --- .STREAM OPEN               NE

Description:

Comments


<--/commentPlugin-->

-- Jean Neron - 2020-03-03

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback