Please enable JavaScript to view this site.

A-Shell Reference

xcall WAKNO, jobno {,status}

WAKNO (Unix only) wakes up a job that is sleeping (in SLEEP or SLEEP.LIT).

Parameters

jobno  [in]

is the job number of the job to wake up. (See PLYJOB for a way of getting the number of another job.) Note that in order to be able to send a signal like this to another process under Unix, you either have to be the superuser or have the same effective user id as the target user.  

status  [out]  optional

returns the result of the operation:

Value

Description

-1

No such job

0

Success

1

Insufficient privileges to wake target user

3

No such process (job probably aborted uncleanly, leaving a phantom in the job table)