Jeff,

I think Openseq looks either for a fully specified path to the file as in :
OPENSEQ "/tmp/recordname" TO F.MTR.ROW ELSE....

or it understands the filename, recordname construct but looks for the
filename in the VOC, as in

OPENSEQ TMPFIL, recordname to F.MTR.ROW ELSE...
where TMPFIL is a DIR type VOC entry pointing to /tmp

but it can't cope with your construct which is effectively
OPENSEQ '/tmp', recordname....

hth

Piers

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jeff Powell
Sent: 04 January 2006 14:31
To: u2 users group
Subject: [U2] openseq question


Happy New Year.

I am having trouble with the openseq function in UniData. We are
operation in Pick mode.

Openseq can't find the specified file at path,filename. Is there an
assumed prefix?

Here is the code frag that is failing.

MTR.FILE.PATH='/tmp'
OPENSEQ  MTR.FILE.PATH, MTR.REC TO F.MTR.ROW.FILE ELSE
  EXECUTE '!touch ':MTR.FILE.PATH:"/":MTR.REC
  OPENSEQ  MTR.FILE.PATH, MTR.REC TO F.MTR.ROW.FILE ELSE
    CALL SB.DISP(3,"TROUBLE OPENING
":MTR.FILE.PATH:"/":MTR.REC:" [E":STATUS():"]")
    GO PGM.EXIT
  END
END

Thanks,

Jeff
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to