Dennis Bartlett <dqbartlett <at> gmail.com> writes: > > OPENSEQ TEMP.FILE1 to temp_file1 else > READSEQ... > WRITESEQ > CLOSESEQ... > Hi Dennis,..
Thanks a lot for your help. However let me explain my requirement. I need to open and read a file from the server. That means a text file from a path and not the Unidata file. Can you please let me know how to do it? as Im facing issues with opening the file. Thanks & Regards, Sathya V. > On 7 May 2013 16:37, Sathya <sathya83aa <at> gmail.com> wrote: > > > Hi all,.. > > > > Im getting the below error while running my code,..Can someone please help > > me with this issue? > > > > Illegal use of the file, select, cursor, BCI, Socket, HTTP, XML, SCTX ,MQS, > > SOAP or database variable. > > > > Code snippet : > > > > OSOPEN TEMP.FILE1 TO temp_file1 ELSE STOP "CAN Not find file" > > > > READ DATA FROM temp_file1 ELSE STOP "Can not find temp filename" > > > > Where TEMP.FILE1 is something like "Filepath/filename.txt". Its a text file > > in the server and I want to read the contents and do some comparison. > > > > TIA, > > Sathya V. > > > > _______________________________________________ > > U2-Users mailing list > > U2-Users <at> listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > _______________________________________________ > U2-Users mailing list > U2-Users <at> listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > > _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
