Chapter Contents

Previous

Next
LISTTASK Statement

LISTTASK Statement



For asynchronous tasks, lists the active tasks and the completed tasks that were processed in the current SAS session.

Local


Syntax
Syntax Description
Example 1
Example 2

Syntax

LISTTASK _ALL_ |task ;

Syntax Description

_ALL_
gives information about asynchronous tasks, which are currently executing or have completed.

task
identifies a specific task by a name that corresponds to the remote-session-id that is associated with the REMOTE= or the PROCESS= option in the RSUBMIT statement. It is the name of the task that is specified in the WAITFOR statement.

Details

The LISTTASK statement lists information about a single active task by name or about all tasks in the current SAS session.


Example 1

This example lists information for all tasks.

listtask _all_;


Example 2

This example lists information for the REMHOST task only.

listtask remhost;


Chapter Contents

Previous

Next

Top of Page

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