AppendCPCommandOutput (Stringlist function)

From m204wiki
Revision as of 12:33, 21 September 2011 by Alex (talk | contribs)
Jump to navigation Jump to search

Add output from CP command to Stringlist (Stringlist class)

[Introduced in Sirius Mods 7.9]


This callable method invokes a CP command in the Online's virtual machine and adds the output from that command to a Stringlist. The AppendCPCommand method accepts one or more arguments and returns a numeric result. Since CP commands are only available in a CMS environment, this method is useless when running under z/OS (MVS) or VSE and will result in request cancellation if invoked under those operating systems.

Syntax

[%rc =] sl:AppendCPCommandOutput( command, [BufferSize= number])

Syntax terms

%rcnumber
sl Stringlist object
command string
BufferSize number

Usage notes

Examples

See also