$UseASA: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
EllieWiccan (talk | contribs) (Automatically generated page update) |
||
(36 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:$UseASA}} | {{DISPLAYTITLE:$UseASA}} | ||
<span class="pageSubtitle" | <span class="pageSubtitle">Prevent carriage control in USE output</span> | ||
<p class=" | <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 Model 204 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. | ||
The $UseASA function accepts no arguments and returns 0 if successful or an error code. | The <var>$UseASA</var> function accepts no arguments and returns 0 (if successful) or an error code. | ||
==Syntax== | ==Syntax== | ||
<p class="syntax">< | <p class="syntax"><span class="term">%result</span> = $UseASA | ||
</p> | </p> | ||
<p class="code"> | <p><var class="term">%result</var> is set to a [[#Return codes|return code]].</p> | ||
===Return codes=== | |||
<p class="code">0 - Successful | |||
4 - Dataset does not use control characters | |||
8 - No USE dataset active | |||
</p> | </p> | ||
==Example== | |||
<p class="code"> % | This code fragment prevents Model 204 from inserting carriage-control characters: | ||
<p class="code">%x = $UseASA | |||
</p> | </p> | ||
==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>[[Janus Open Client]]</li> | <li>[[Media:JoclrNew.pdf|Janus Open Client]]</li> | ||
<li>[[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> | <li>Japanese functions</li> | ||
<li>[[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