%DUMP CHANNELS--List PSL Global Channels
List the open PSL global process and file channels.
Syntax
Parameters
This command has no parameters.
Description
The %DUMP CHANNELS command returns a list of global file and process channels opened using either the fopen() or popen() functions. The output from the %DUMP CHANNELS command contains the same information as that provided by the get_chan_info() function within a PSL program. The PSL interpreter returns the list of global channel information to the console window from which the %DUMP CHANNELS command was executed.
Each line of output from the %DUMP CHANNELS command is a string with the format: name, status, details, type, readname, readpid, writepid, writename. These string types are described in the following table.
Field | Definition |
---|---|
name | Alphanumeric name given to the channel when it was created as a global channel, or when it was changed from local channel to a global channel |
status | OPEN or CLOSED |
details | one of the following:
|
type | PIPE or FILE |
readname | one of the following:
|
readpid | one of the following:
|
writepid | one of the following:
|
writename | one of the following:
|