On Wed, 10 Nov 2010 13:41:50 -0500, Leonard Sasso wrote:
>I want to use the chmod command but the length of the filename and and
>path is too long.
>
>chmod 644
>/u/emedtest/nfstst/fsit/prov/caqh/20101105/RosterException_20101105.txt
>
>What is the continuation character for the chmod command ?
>
Did I say something against 3270 terminals yesterday? If you
don't use a 3270, you don't have any command length problem.
Bizarre, but you might try:
chmod 644 /u/emedtest/nfstst/fsit/prov/caqh/$(
)20101105/RosterException_20101105.txt
... not chmod-specific; this sort of lexical resolution is
performed by shell.
>From:
>Paul Gilmartin <[email protected]>
>11/10/2010 12:32 PM
>
>Or preallocate the file in JCL with
>
> //NAME DD PATHMODE=(...),PATHOPTS=(OCREAT,OEXCL),PATH='...'
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html