Thanks Dan. I understand it.

On Sep 16, 8:03 am, Daniel Klein <[email protected]> wrote:
> Elementary my dear Watson.
>
> When you use JED and the key has a reserved character, the jBASE jEDI
> converts those characters. In this case the ':' is converted to ']3a'
> (note that ':' is 0x3A). You can verify this in Windows Explorer.
>
> OTOH, OPENSEQ is not going thru the jBASE jEDI, so it is hitting an OS
> restriction.
>
> Sherlock (aka Dan)
>
>
>
> On Tue, Sep 15, 2009 at 3:53 PM, Kiran <[email protected]> wrote:
>
> > Hi,
>
> > The system that I am using is most certainly Windows. But I am not
> > able to understand one thing with your answer is, I am able to create
> > a file manually using JED, then why cannot I do the same using
> > WRITESEQ?
>
> > The sample record in TEST.BP which I have created is as below:
>
> > jsh r09 ~ -->CT TEST.BP TEST:FILE
> >    TEST:FILE
> > 001 TESTING
>
> > jsh r09 ~ -->
>
> > The above record has been created manually. Could you please help me
> > to understand this?
>
> > Thanks,
> > Kiran.
>
> > On Sep 15, 10:28 pm, "[email protected]"
> > <[email protected]> wrote:
> >> If this is a Windows system, that would make sense.
> >> WRITESEQ writes a directory file, and ":" is illegal
> >> in the file name.
>
> >> Original Message:
> >> -----------------
> >> From: Kiran [email protected]
> >> Date: Mon, 14 Sep 2009 18:04:18 -0700 (PDT)
> >> To: [email protected]
> >> Subject: Unable to write using WRITESEQ
>
> >> Hi Viewer,
>
> >> I have some trouble using WRITESEQ. My problem is, I am unable to
> >> write to a record if a colon (:) character is part of the ID.
>
> >> For example,
>
> >> PROGRAM TEST.WRITE
>
> >> OPENSEQ 'TEST.BP', 'TEST:RECORD' TO F.FILE ELSE
> >>  PRINT 'CANNOT OPEN THE FILE'
> >> END
>
> >> WRITESEQ 'TESTING ONLY' TO F.FILE ELSE
> >> PRINT 'CANNOT WRITE TO THE FILE'
> >> END
>
> >> CLOSESEQ F.FILE
>
> >> STOP
>
> >> END
>
> >> When executing this program, with a pre-created record TEST:RECORD,
> >> system is not writing the record to the file.
>
> >> jsh r09 ~ -->CT TEST.BP TEST:RECORD
> >>     TEST:RECORD
>
> >> jsh r09 ~ -->
>
> >> The previously created record is as above. After executing the
> >> program, the output is as follows:
>
> >> jsh r09 ~ -->CT TEST.BP TEST:RECORD
> >>     TEST:RECORD
>
> >> jsh r09 ~ -->
>
> >> The same thing, if I use a . instead of a : system is updating the
> >> record.
>
> >> The output of the record with a .
>
> >> jsh r09 ~ -->TEST.WRITE
> >> jsh r09 ~ -->CT TEST.BP TEST.RECORD
> >>     TEST.RECORD
> >> 001 TESTING
>
> >> jsh r09 ~ -->
>
> >> What could be the problem with a : char in the record ID?
>
> >> Thanks,
> >> Kiran.
>
> >> --------------------------------------------------------------------
> >> myhosting.com - Premium Microsoft® Windows® and Linux web and application
> >> hosting -http://link.myhosting.com/myhosting

--~--~---------~--~----~------------~-------~--~----~
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

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