[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: [sqr-users] read file?



Jeet,

There are 4 limits to the length of a read:
1) The record length you specified when you opened the file
2) The record length you specified on the read command
3) The maximum size of an SQR string variable (32767)
4) The first newline, chr(10), or null, chr(0) encountered in the file

Good luck,
Eric

Jeet wrote:

>Hi All,
>I am reading a data file from a SQR program. After
>opening the file, I am reading lines from the data
>file as follows 
>
>   read 1 into $in-rec:4000
>
>Now is there a limit on how many character at the max,
>one line at time can be read from data file?  In other
>words, how many character can I read from the data
>file at a time using the “read” statement in SQR? 
>
>Thanks so much in advance for any suggestions on this.
>
>
>       - Jeet. 
>
>
>
>               
>____________________________________________________
>Start your day with Yahoo! - make it your home page 
>http://www.yahoo.com/r/hs 
> 
>
>_______________________________________________
>sqr-users mailing list
>sqr-users@sqrug.org
>http://www.sqrug.org/mailman/listinfo/sqr-users
>
>  
>

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users