IFATTN (HLI function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:


==Function==
==Summary==
<p>
<dl>
The IFATTN call (ATTENTION) sends an attention interrupt signal. </p>
<dt>Description
 
<dd>The IFATTN call (ATTENTION) sends an attention interrupt signal.
==Thread type==
<dt>Thread type
IFDIAL
<dd>IFDIAL
<dt>IFCALL function number
<dd>43
</dl>


==Syntax==
==Syntax==


===Full syntax (43)===
<p class="syntax">IFATTN(RETCODE)</p>
<p class="syntax">IFATTN(RETCODE)</p>


===Compile-only syntax===
<dl>
<p>
<dt>Compile-only form
A compile-only form of IFATTN is not available.</p>
<dd>Not available
 
<dt>Execute-only form
===Execute-only syntax===
<dd>Not available
<p>
</dl>
An execute-only form of IFATTN is not available.</p>


===Parameters===
<table>
<table>
<tr class="head">
<tr class="head">
Line 32: Line 32:
</table>
</table>


==Notes and tips==
==Usage notes==
<p>
<p>
Use the IFATTN call only with an IFDIAL connection.</p>
Use the IFATTN call only with an IFDIAL connection.</p>

Revision as of 21:16, 1 July 2016

Summary

Description
The IFATTN call (ATTENTION) sends an attention interrupt signal.
Thread type
IFDIAL
IFCALL function number
43

Syntax

IFATTN(RETCODE)

Compile-only form
Not available
Execute-only form
Not available
Parameter Description
RETCODE [O,i,r] The Model 204 return code is the required output parameter. The code is a binary integer value.

Usage notes

Use the IFATTN call only with an IFDIAL connection.

The IFATTN call can be issued when a completion code of 1, 2, or 12 is returned from the previous call to IFREAD or IFWRITE call.

When the IFATTN call is issued, any current SOUL request is purged. Follow IFATTN with IFWRITE if processing is to continue.

Completion return code (RETCODE)

If the IFATTN call is unsuccessful, Model 204 returns an error code of 4 if the connection was lost.

Coding example (COBOL)

. . . PROCEDURE DIVISION. . . . CALL "IFATTN" USING RETCODE.