see the following:

   1. OPENSEQ 'DIRFILE', 'RECORD' TO FILE
   2. ELSE CREATE FILE ELSE ABORT
   3. WEOFSEQ FILE
   4. WRITESEQ 'SOME DATA' TO FILE ELSE STOP


On Mon, Mar 12, 2012 at 11:00 AM, Marek <[email protected]> wrote:

> Kiran,
>
> As far as I can tell you should OPENPATH the directory, not the file
> itself. Your Y.FILEPATH should only be '/r10r/r10r/bnk/inputfiles'. After
> the directory is successfully opened you can then use the F.SEQ.FILE to
> read using the file name as record ID, something like:
>
> READ WHOLE.FILE FROM F.SEQ.FILE, '100113.001.DEBAFF.20090101.202.txt' THEN
> ** Do something with the content.
> END ELSE
> ** Error handling
> END
> Kind regards,
> On 9 March 2012 23:18, Kiran <[email protected]> wrote:
>
>> Further to my previous reply, I have tried something using OPENPATH
>> statement. And here I have attached the results in this post.
>>
>> It is the same as I have with OPENSEQ statement.
>>
>> Thanks,
>> Kiran.
>>
>> On Thursday, March 8, 2012 7:13:03 PM UTC-6, Kiran wrote:
>>
>>> Hi Group,
>>>
>>> I am working on AIX OS, and there is a issue with openseq command.
>>>
>>> Y.SRC.DIR = "CODE.BP"
>>> Y.FILE.NAME = "TEST.FILE"
>>>
>>> OPENSEQ Y.SRC.DIR, Y.FILE.NAME TO F.SEQ.FILE THEN
>>> PRINT F.SEQ.FILE
>>> END
>>>
>>> When I try running the above snippet of code, nothing gets printed on
>>> the screen. It appears like the file is not getting opened.
>>>
>>> Can somebody help me on this please?
>>>
>>> Thanks
>>> Kiran.
>>
>>  --
>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>
>> To post, send email to [email protected]
>> To unsubscribe, send email to [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/jBASE?hl=en
>>
>
>  --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>

-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to