$UseASA: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 11: | Line 11: | ||
<p class="syntax"><section begin="syntax" />%result = $UseASA | <p class="syntax"><section begin="syntax" />%result = $UseASA | ||
<section end="syntax" /></p> | <section end="syntax" /></p> | ||
<p | <p> | ||
</p> | </p> | ||
<p class="caption">%result is set to the return code.</p> | <p class="caption">%result is set to the return code.</p> |
Revision as of 00:16, 26 October 2012
Prevent carriage control in USE output
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
Products authorizing $UseASA
- Sirius functions
- Fast/Unload User Language Interface
- Janus Open Client
- Janus Open Server
- Janus Sockets
- Janus Web Server
- Japanese functions
- Sir2000 Field Migration Facility