[quote:4a5f3]LRECL=value
specifies the logical record length (that is, the number of bytes in a record). [/quote:4a5f3]作者: shiyiming 时间: 2007-7-11 11:14 标题: Re: 有没有好心人给出详细的解释? To mie7140:
LRCL also called Logical Record Length. It specifies how long a string of a line is in a acsii file. SAS will force to read that lenght before it goes to the second line. By default, SAS will use 256 characters as the value for LRCL. For example, if you have a file with LRCL=1024 characters and your code did not say LRCL=1024, SAS will read till 256 characters and the jump to the second line. You will lose all your data after that.
The same scenario will apply to the acsii file output in data setp. Please let me know if that helps. As long as your character string is not greater than the SAS default, you will have no problem. Otherwise, you need to make sure SAS know's how long the string is.