I'm sorry about my description is not enough clear.
Thank Daniel knows what I am saying and provides a method.
I also know another way, NO need IOCTL and just put CHAR(13) at the
end of string then the result will have x'0D0A'
WRITESEQ OUT.DATA:CHAR(13) APPEND TO F.OUT.PTR

I test the function of JIOCTL_COMMAND_SERIAL_SET_CRLF just curious.
But I don't really get that : The problem is you are trying to use a
'serial IO extension' on a 'file'.

http://www.jbase.com/r5/knowledgebase/manuals/3.0/30manpages/man/adv12_SEQUENTIAL.FILE.EXTENSIONS.htm
There mention:
JIOCTL_COMMAND_SERIAL_SET_CRLF
Append a CRLF to each WRITESEQ.

My output is a sequential file (.txt).Why can't I use that to append
x'0D0A' after writing a strring to a seq file?

Everyone's suggestion is appreciated

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