Chapter Contents

Previous

Next
Command Directory

attn

Generate a SIGINT Signal

ABBREVIATION
at{tn}

FORMAT
attn

DESCRIPTION
The attn command generates a SIGINT signal in programs executing under the debugger. A message is sent to the terminal to confirm that the signal is raised. See the discussion of signals in Chapter 17, "Signal-Handling Functions," in the SAS/C Library Reference, Volume 1.

SYSTEM DEPENDENCIES
A SIGINT signal is an interruption from the terminal normally generated under TSO when you press the attention key or under CMS when you issue the command IC. However, the attention key (under TSO) or the IC command (under CMS) gives control of execution back to the debugger. Thus, the attn command is a way of sending a SIGINT signal to an executing program.

COMMAND CAN BE ISSUED FROM

PROFILE yes
configuration file no
Source window prefix none

SCOPE
The attn command is not affected by changes in scope.

RETURN CODES SET
Successful: 0
Unsuccessful: 1


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.