On Fri, 30 Apr 2010 17:11:37 +0200, Hunkeler Peter (KIUP 4) wrote:

>>cp //"'..'" /tmp/file.txt
>>and/or cat //"'..'" > /tmp/file.txt
>
>Before posting my question, I ran a LISTC with OFILE, verified
>it is VBA-140, then did
>
>  cat '//TEMP.LISTCOUT' > temp.listcout
>
Remember, always, that Classic data sets are supported by cp
but not by cat.  So you could submit a PMR for a failure of

  cp "//'TEMP.LISTCOUT'" /dev/fd/1 > temp.listcout

but not for a failure of cat.

This is a case where I feel a programmer's misuse of a utility
would better result in an error message and failure than an
unpredictable result.

-- 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

Reply via email to