$UseASA: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
mNo edit summary |
||
Line 2: | Line 2: | ||
<span class="pageSubtitle"><section begin="desc" />Prevent carriage control in USE output<section end="desc" /></span> | <span class="pageSubtitle"><section begin="desc" />Prevent carriage control in USE output<section end="desc" /></span> | ||
<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. | <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> | ||
This function fools Model 204 into not placing carriage control characters in USE dataset output. | 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. | The $UseASA function accepts no arguments and returns 0 if successful or an error code. | ||
==Syntax== | ==Syntax== | ||
<p class="syntax"><section begin="syntax" /> %RESULT = $UseASA | <p class="syntax"><section begin="syntax" /> %RESULT = $UseASA | ||
Line 13: | Line 14: | ||
</p> | </p> | ||
<p class="caption">%RESULT is set to the return code.</p> | <p class="caption">%RESULT is set to the return code.</p> | ||
<p class="code"> | <p class="code"> | ||
0 - Successful | 0 - Successful | ||
Line 20: | Line 22: | ||
<p class="caption">$UseASA return codes | <p class="caption">$UseASA return codes | ||
</p> | </p> | ||
For example, this code fragment prevents M204 from inserting carriage control characters: | For example, this code fragment prevents M204 from inserting carriage control characters: | ||
Line 35: | Line 36: | ||
<li>[[Japanese functions]]</li> | <li>[[Japanese functions]]</li> | ||
<li>[[Sir2000 Field Migration Facility]]</li> | <li>[[Sir2000 Field Migration Facility]]</li> | ||
</ul> | </ul> | ||
<p class="caption">Products authorizing $UseASA | <p class="caption">Products authorizing $UseASA |
Revision as of 21:05, 8 February 2011
<section begin="desc" />Prevent carriage control in USE output<section end="desc" />
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
<section begin="syntax" /> %RESULT = $UseASA <section end="syntax" />
0 - Successful 4 - Dataset does not use control characters 8 - No USE dataset active
For example, this code fragment prevents M204 from inserting carriage control characters:
%X = $UseASA