[U2] OPENSEQ and the LOCKED Option

2011-10-28 Thread Al DeWitt
Unidata 7.1.20 ECLTYPE P Whenever I try to include the LOCKED option in the OPENSEQ statement my test program does not compile. If I leave it out it does compile. When two users run this program one executes the OPENSEQ command and the other appears hung...no message, nothing. When the

Re: [U2] OPENSEQ and the LOCKED Option

2011-10-28 Thread Wjhonson
Please provide the exact source, and the exact compilation error message -Original Message- From: Al DeWitt adew...@stylmark.com To: u2-users u2-users@listserver.u2ug.org Sent: Fri, Oct 28, 2011 2:21 pm Subject: [U2] OPENSEQ and the LOCKED Option Unidata 7.1.20 ECLTYPE P Whenever

Re: [U2] OPENSEQ and the LOCKED Option

2011-10-28 Thread Colin Alfke
I've usually only used it where I expect one user to be accessing the file at a time anyway. However, it should (mine does on UD 7.1.6) compile. You are using an END before the next THEN or ELSE - that might do it. hth Colin Alfke Calgary, Canada -Original Message- From: Al DeWitt

Re: [U2] OPENSEQ and the LOCKED Option

2011-10-28 Thread Al DeWitt
Here is my admittedly simple test program and the results: 001: IMPORT.FILE = FILE_IN.CSV 002: CLOSE.IT = 1 003: OPENSEQ DELTAIMPORT,IMPORT.FILE TO FILEIN 004: LOCKED

Re: [U2] OPENSEQ and the LOCKED Option

2011-10-28 Thread Colin Alfke
You need to change line 6 to END ELSE (to end the locked clause) -Original Message- From: Al DeWitt Here is my admittedly simple test program and the results: 001: IMPORT.FILE = FILE_IN.CSV 002: CLOSE.IT = 1

Re: [U2] OPENSEQ and the LOCKED Option

2011-10-28 Thread Al DeWitt
That did it! Thank you very much. Al DeWitt -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Colin Alfke Sent: Friday, October 28, 2011 5:01 PM To: 'U2 Users List' Subject: Re: [U2] OPENSEQ and the LOCKED Option