$UseASA: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
(Automatically generated page update)
 
(7 intermediate revisions by 2 users not shown)
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="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>
<p class="warn"><b>Note: </b>Many $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&nbsp;204</var> into not placing carriage control characters in USE dataset output.  
This function fools <var class="product">Model&nbsp;204</var> into not placing carriage control characters in USE dataset output.  
Line 27: Line 27:
==Products authorizing {{PAGENAMEE}}==  
==Products authorizing {{PAGENAMEE}}==  
<ul class="smallAndTightList">
<ul class="smallAndTightList">
<li>[[Sirius functions]]</li>
<li>[[List of $functions|Sirius functions]]</li>
<li>[[Fast/Unload User Language Interface]]</li>
<li>[[Fast/Unload User Language Interface]]</li>
<li>[http://m204wiki.rocketsoftware.com/images/4/4a/JoclrNew.pdf Janus Open Client]</li>
<li>[[Media:JoclrNew.pdf|Janus Open Client]]</li>
<li>[http://m204wiki.rocketsoftware.com/images/1/17/JosrvrNew.pdf Janus Open Server]</li>
<li>[[Media:JosrvrNew.pdf|Janus Open Server]]</li>
<li>[[Janus Sockets]]</li>
<li>[[Janus Sockets]]</li>
<li>[[Janus Web Server]]</li>
<li>[[Janus Web Server]]</li>
<li>Japanese functions</li>
<li>Japanese functions</li>
<li>[http://m204wiki.rocketsoftware.com/images/4/4b/SirfieldNew.pdf Sir2000 Field Migration Facility]</li>
<li>[[Media:SirfieldNew.pdf|Sir2000 Field Migration Facility]]</li>
</ul>
</ul>


[[Category:$Functions|$UseASA]]
[[Category:$Functions|$UseASA]]

Latest revision as of 23:27, 20 September 2018

Prevent carriage control in USE output

Note: Many $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 a return code.

Return codes

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

Example

This code fragment prevents Model 204 from inserting carriage-control characters:

%x = $UseASA

Products authorizing $UseASA