On Fri, 24 May 2024 22:09:45 +0000, Farley, Peter wrote:

>Thanks Sri, that was the trick (as Dana also replied).
>
>From: IB Sri Hari Kolusu
>Sent: Friday, May 24, 2024 4:45 PM
>
>
>Try with single quotes before SPACE parm
>
>cp -W "seqparms='SPACE=(CYL,(5,5)),RECFM=VB,LRECL=259,BLKSIZE=0'"  
>$HOME/testfile.txt "//'TSOUSER.NEWFILE'"
>
>
It's careless documentation to introduce syntax rules only on examples.  I've
submitted a feedback to:
<https://www.ibm.com/docs/en/zos/3.1.0?topic=descriptions-cp-copy-file>

A sole example shows required apostrophes around seqparms:
     cp -W "seqparms='...'"

The apostrophes should also appear in the two instances
of "seqparms" in the Format a]section and the one in
the Description section.

-- 
Thanks,
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to