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.

--~--~---------~--~----~------------~-------~--~----~
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