Difference: 0LASubrDataWriteStream (1 vs. 3)

Revision 32020-05-20 - JeanNeron

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

.DATA WRITE STREAM

Line: 15 to 15
  No parameters are required. You must populate --- STREAM BUFFER before calling this routine. --- STREAM BUFFER will be cleared after the call.
Changed:
<
<
If there is a problem writing the data, an error will be logged if APPX_DATASVC_LOG is set.
>
>
If APPX_DATASVC_LOG is set then every call will be logged and if there is a problem writing the data, the error will also be logged.
 

Comments


<--/commentPlugin-->

Revision 22020-03-04 - JeanNeron

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

.DATA WRITE STREAM

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

>
>
      GOSUB    --- .DATA WRITE STREAM

 

Description:

Added:
>
>
This subroutine returns the contents of --- STREAM BUFFER to the caller. The data will be converted to UTF-8 encoding (if not already in that encoding).

No parameters are required. You must populate --- STREAM BUFFER before calling this routine. --- STREAM BUFFER will be cleared after the call.

If there is a problem writing the data, an error will be logged if APPX_DATASVC_LOG is set.

 

Comments


<--/commentPlugin-->

Revision 12020-03-04 - JeanNeron

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

.DATA WRITE STREAM

This subroutine allows you to return data to the caller. 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