$UseASA: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
(Automatically generated page update)
Line 2: Line 2:
<span class="pageSubtitle">Prevent carriage control in USE output</span>
<span class="pageSubtitle">Prevent carriage control in USE output</span>


<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $UseASA function.</p>
<p class="warn"><b>Note: </b>Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $UseASA function.</p>


This function fools <var class="product">Model 204</var> into not placing carriage control characters in USE dataset output.  
This function fools <var class="product">Model 204</var> into not placing carriage control characters in USE dataset output.  

Revision as of 18:59, 19 July 2013

Prevent carriage control in USE output

Note: Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $UseASA function.

This function fools Model 204 into not placing carriage control characters in USE dataset output.

The $UseASA function accepts no arguments and returns 0 if successful or an error code.

Syntax

%result = $UseASA

%result is set to the return code.

0 - Successful 4 - Dataset does not use control characters 8 - No USE dataset active

$UseASA return codes

For example, this code fragment prevents M204 from inserting carriage control characters:

%X = $UseASA

Products authorizing $UseASA