next up previous index
Next: Z045 Identify Job Up: CERNLIB Previous: Z042 Calling a

Z044 Identify Job as Interactive

Routine ID: Z044
Author(s): F. Carminati, T. Lindelöf, R. Matthews, C. Vosicki, J. ZollLibrary: KERNLIB
Submitter: Submitted: 01.12.1974
Language: Fortran or C or AssemblerRevised: 01.06.1993

INTRAC allows an executing module to determine whether it is running interactively or not.

Structure:

FUNCTION subprogram
User Entry Names: INTRAC

Usage:

In any logical expression,

    INTRAC()
has the value .TRUE. if the module is executing interactively and .FALSE. otherwise. Note that INTRAC must be declared LOGICAL in the calling routine.

Method:

On UNIX machines execution is interactive if 'standard input' (System Unit 0, i.e. Fortran Unit 5 normally) is connected to a terminal. The same is true on VAX as from June 1993.

Z045


Janne Saarela
Mon Apr 3 15:06:23 METDST 1995