I have come across this limitation before, too.
One work-around is to use READSEQ and WRITESEQ, that seems to work OK
even when COPY and ED fail.

Also, the item size limit on the Windows implementation of UV was much
larger than that on Unix last time I participated in a conversion (it
may even have been unbounded). Code that worked OK on Windows failed on
HP-UX, so we had to change to use READSEQ/WRITESEQ. 
Heh, Windows better than *ix?
=O
<asbestos underwear on> ;-)

Regards


Mike


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Louie Bergsagel
Sent: Thursday, 18 September 2008 9:46 a.m.
To: [email protected]
Subject: Re: [U2] uniVerse COPY command and the UVTEMP directory

That happens to me all the time when I try to COPY a &HOLD& file/record
to
another directory. My reports are often 230mb or larger.
I asked IBM, and they said "COPY always had a size limit."  Can't ED it
either, as Dan observed.

So I just wrote a program to select the records, and copy them using the
unix cp command.
Then I list them using the unix ls command to make sure they were
copied.

-- Louie

0001:       COMMAND = \SELECT REPORTS WITH START.DATE =
\:OCONV(@DATE,"D4/")
0002:       DISPLAY COMMAND
0003:       EXECUTE COMMAND
0004:       LOOP
0005:          READNEXT COPY.HOLD.ID ELSE COPY.HOLD.ID = ''
0006:       WHILE COPY.HOLD.ID
0007:          COMMAND = \sh -c "cp -r
'/sam/hill/&HOLD&/\:COPY.HOLD.ID:\'
/sam/hill/HOLD.TODAY/\:
 COPY.HOLD.ID:\"\
0008:          DISPLAY COMMAND
0009:          EXECUTE COMMAND
0010:          COMMAND = \sh -c "ls -l
/sam/hill/HOLD.TODAY/\:COPY.HOLD.ID:
\"\
0011:          DISPLAY COMMAND
0012:          EXECUTE COMMAND
0013:          DISPLAY
0014:       REPEAT
0015:    END
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to