Jeff,

AFAIR OpenSeq on UniData looks for either a path name, or if you specify an
item id it looks for an item in a directory file (not a path). 

So you would need to either

A) OPENSEQ "/tmp/" : MTR.REC TO F.MTR.ROW.FILE ... 

Or

B) create a file pointer to /tmp (e.g. named TMP) and then
 OPENSEQ "TMP",MTR.REC TO F.MTR.ROW.FILE ...

Brian

 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 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