READSEQ reads only limited length. :(
- siva
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 23
- Thank you received: 1
13 years 7 months ago #9336
by siva
READSEQ reads only limited length. :( was created by siva
Hi
I used READSEQ to read a line from file. But when the line is too lengthy the READSEQ omits some trailing message. Finally i came to know that READSEQ has some limited length of text reading. Can anybody suggest an alternative way to do so. ( Note: I need to read line by line) .
Many thanks in advance.
I used READSEQ to read a line from file. But when the line is too lengthy the READSEQ omits some trailing message. Finally i came to know that READSEQ has some limited length of text reading. Can anybody suggest an alternative way to do so. ( Note: I need to read line by line) .
Many thanks in advance.
Please Log in or Create an account to join the conversation.
- saahmad
- Offline
- Premium Member
-
Less
More
- Posts: 145
- Thank you received: 9
13 years 3 months ago #10665
by saahmad
Replied by saahmad on topic Re: READSEQ reads only limited length. :(
how big is your line and are you sure there are no special character that may stop the readseq.
Also note that in unix the line end charater is one byte and in windows it is two bytes. make sure that you are handling that part also.
lastly i quote from the jbase developer's guide
"The default buffer size for a READSEQ is 1024 bytes. This can be changed using the IOCTL ()
function with the JIOCTL_COMMAND_SEQ_CHANGE_RECORDSIZE Sequential File Extensions."
please look at the IOCTL command
Lastly if java is an option please use it
Also note that in unix the line end charater is one byte and in windows it is two bytes. make sure that you are handling that part also.
lastly i quote from the jbase developer's guide
"The default buffer size for a READSEQ is 1024 bytes. This can be changed using the IOCTL ()
function with the JIOCTL_COMMAND_SEQ_CHANGE_RECORDSIZE Sequential File Extensions."
please look at the IOCTL command
Lastly if java is an option please use it
Please Log in or Create an account to join the conversation.
Time to create page: 0.029 seconds