Normally when I run into a statement that doesn't like mv or dimmed arrays I 
just assign before or after

Like:
SEARCH.FOR = ABC<1,J>
LOCATE SEARCH.FOR IN DEF SETTING bla bla bla

or in this case

OPENSEQ '/data/trax/CLM.IDX/OVER.30' TO SEQ.TEST ELSE ABORT
FVARS(1) = SEQ.TEST

I haven't tested this to see if it works - I have my own dragons to slay right 
now  :-)

---- Perry Taylor <perry.tay...@zirmed.com> wrote: 

=============
I'd call this one a bug.  I just tried the following on 10.2.7 on
RHEL5...

      OPENSEQ '/data/trax/CLM.IDX/OVER.30' TO SEQ.TEST ELSE ABORT

      STATUS FS FROM SEQ.TEST ELSE ABORT

      CLOSESEQ SEQ.TEST

      CRT 'FILE SIZE = ': FS<6>

I get...

FILE SIZE = 10146506752

But if I run...

      DIM FVARS(10)

      OPENSEQ '/data/trax/CLM.IDX/OVER.30' TO FVARS(1) ELSE ABORT

      STATUS FS FROM FVARS(1) ELSE ABORT

      CLOSESEQ FVARS(1)

      CRT 'FILE SIZE = ': FS<6>

I get...

Abnormal termination of UniVerse.
Fault type is 11.  Layer type is BASIC run machine.
Fault occurred in BASIC program PTEST at address 5a.


-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Marc A
Hilbert
Sent: Monday, May 17, 2010 3:41 PM
To: 'U2 Users List'
Subject: Re: [U2] OPENSEQ and Abnormal termination of UV

What happens wif you open to regular variable then pass it over to the
array:
OPENSEQ .... TO FVAR
FILEVARS(1) = FVAR
?
Regards,
Marc


-----Mensaje original-----
De: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] En nombre de Rajesh Menon
Enviado el: lunes, 17 de mayo de 2010 16:12
Para: U2 Users List
Asunto: Re: [U2] OPENSEQ and Abnormal termination of UV

Yes file system is setup to support +2Gb files. As I mentioned I can
open
the file using a scalar file variable. Problem happening only with the
combination of +2Gb and using array variable.

Thanks,
Rajesh

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan Goble
Sent: Monday, May 17, 2010 12:00 PM
To: 'u2-users@listserver.u2ug.org'
Subject: Re: [U2] OPENSEQ and Abnormal termination of UV

You may want to check with your Systems Administrator to be sure your
file
system is setup to support files larger than 2gig

----- Original Message -----
From: u2-users-boun...@listserver.u2ug.org
<u2-users-boun...@listserver.u2ug.org>
To: u2-users@listserver.u2ug.org <u2-users@listserver.u2ug.org>
Sent: Mon May 17 14:55:30 2010
Subject: [U2] OPENSEQ and Abnormal termination of UV

Does anyone knows what is happening here:
I am trying to open a text file (over 4Gb) using OPENSEQ and storing the
file variable into a array as follows:
COMMON /MYPROG/ FILEVARS(10)
OPENSEQ "/tmp/file.txt" to FILEVARS(1) ELSE ...
This operation results abnormal termination with fault type error 11.
Fault
occurred at address 1c (which is the OPENSEQ command.). If the file size
is
less than 2147483647 bytes (2Gb), it works.

Opening the same file using a scalar file variable always work
irrespective
of the file size.
OPENSEQ "/tmp/file.txt" TO FV.FILE ELSE ...

Any reason why the first method failing for +2Gb files? Any workarounds?

Universe: 10.2.7
AIX:  5.3

Thanks
Rajesh Menon

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

CONFIDENTIALITY NOTICE: This e-mail message, including any 
attachments, is for the sole use of the intended recipient(s) 
and may contain confidential and privileged information.  Any
unauthorized review, use, disclosure or distribution is 
prohibited. ZirMed, Inc. has strict policies regarding the 
content of e-mail communications, specifically Protected Health 
Information, any communications containing such material will 
be returned to the originating party with such advisement 
noted. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the 
original message.
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to