AppendCPCommandOutput (Stringlist function): Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Template:Stringlist:AppendCPCommandOutput subtitle}} | {{Template:Stringlist:AppendCPCommandOutput subtitle}} | ||
This | This [[Notation conventions for methods#Callable functions|callable]] method invokes a CP command in the Online's virtual machine and adds the output from that command to a <var>Stringlist</var>. The <var>AppendCPCommand</var> 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== | ==Syntax== | ||
{{Template:Stringlist:AppendCPCommandOutput syntax}} | {{Template:Stringlist:AppendCPCommandOutput syntax}} |
Revision as of 12:33, 21 September 2011
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
%rc | number |
---|---|
sl | Stringlist object |
command | string |
BufferSize | number |