Looking at the example in the man pages, do you need another set of quotes?:
cp -W "seqparms='RECFM=U,space=(500,100)'" file "//'turbo.gammalib'" On Fri, 24 May 2024 20:01:02 +0000, Farley, Peter <peter.far...@broadridge.com> wrote: >What is wrong with this syntax for a cp command to copy a Unix file system >file to an MVS file: > >$ cp -W seqparms="SPACE=(CYL,(5,5)),RECFM=VB,LRECL=259,BLKSIZE=0" >$HOME/testfile.txt "//'TSOUSER.NEWFILE'" >cp: FSUMF365 Syntax error on -W argument : Unknown keyword (5. > >I have read and re-read the Unix commands reference manual pages on the cp >command and the "-W seqparms=" parameter and I don't see what I am doing wrong >here. > >The "_UNIX03" environment variable in not set in this shell session. > >Peter ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN