On Thu, Jan 21, 2010 at 9:05 PM, =?ISO-8859-1?Q?Victor_Hugo_Ochoa?=
<[email protected]> wrote:
> somebody knows
>
> How I can capture the output of this command
>
> pun script linux a
>
> PUN FILE 0138 SENT TO   CMDAUTO1 RDR AS  0036 RECS 0128 CPY  001 A NOHOLD 
> NOKEEP

That's because PUNCH is a CMS command, but the output is from CP.
Suggest (assuming Rexx):

'CP SPOOL PUNCH CONT'
'PUNCH SCRIPT LINUX A'
parse value diag(8, 'SPOOL PUNCH CLOSE NOCONT') with . . spoolid .

Reply via email to