HPlogo SNA IMF Programmer's Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 4 Intrinsics Used with No-Wait I/O

ABORT3270

» 

Technical documentation

» Feedback

 » Table of Contents

 » Glossary

 » Index

ABORT3270 aborts an outstanding no-wait RECV3270 or TRAN3270 request.

Syntax

                       I         I
ABORT3270        (terminalid, result)

Parameters

terminalid (input)

Integer identifying the terminal. The terminalid is returned in a call to the OPEN3270 intrinsic.

result (output)

The following values can be generated by the ABORT3270 intrinsic:

0 = Successful completion.

1 = Device not open.

22 = BASIC calling sequence error has occurred.

25 = Intrinsic call made while in split stack mode.

26 = Intrinsic call made with the parameter value out of bounds.

Description

The ABORT3270 intrinsic aborts an outstanding no-wait RECV3270 or TRAN3270 request. Do not call ABORT3270 from SNA IMF programs that use standard MPE V and MPE XL I/O; call it only from programs that use no-wait I/O.

If no I/O requests are outstanding, the result parameter will return zero.

COBOL II Calling Sequence

CALL "CABORT3270" USING TERMINALID RESULT. (on MPE V and in compatibility mode on MPE XL)

CALL INTRINSIC "ABORT3270" USING TERMINALID RESULT. (in native mode on MPE XL)

Both parameters are numeric data items.

FORTRAN Calling Sequence

CALL ABORT3270 (TERMINALID, RESULT)

Both parameters are integer variables.

SPL Calling Sequence

ABORT3270 (TERMINALID, RESULT)

Both parameters are integer variables.

Pascal Calling Sequence

ABORT3270 (TERMINALID, RESULT);

Both parameters are short integer variables.

C/XL Calling Sequence

ABORT3270 (&TERMINALID, &RESULT);

Both parameters are of type short.

Feedback to webmaster