HP3000-L Archives

November 2007, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Roy Brown <[log in to unmask]>
Reply To:
Roy Brown <[log in to unmask]>
Date:
Sat, 3 Nov 2007 19:18:37 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (38 lines)
In message <[log in to unmask]>, Craig Lalley 
<[log in to unmask]> writes
>----- Original Message ----
>From: Brian Donaldson <[log in to unmask]>
>To: [log in to unmask]
>Sent: Saturday, November 3, 2007 10:06:47 AM
>Subject: COPY command issue
>
>I do the following command inside a COBOL program using the COMMAND
>intrinsic:
>
>COPY FROM=O66.out.hpsspool;TO=holdfile;YES
>
>The COMMAND intrinsic failed, returning an error code telling me it
>could not locate the source file.
>***************
>
>Brian,
>
>Unless you have a typo and meant to do an FCOPY,  the copy command 
>above will fail.
>
>COPY 066.OUT.HPSPOOL, holdfile
>
>will work.
>
>-Craig

Even if it was a typo for FCOPY, or even if COPY allowed that syntax, 
the second typo, 'hpsspool' (2 s's) would getcha...

-- 
Roy Brown        'Have nothing in your houses that you do not know to be
Kelmscott Ltd     useful, or believe to be beautiful'  William Morris

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2