Date: Mon, 18 May 1998 14:26:14 EDT
Reply-To: F J Kelley <JKELLEY@UGA.CC.UGA.EDU>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: F J Kelley <JKELLEY@UGA.CC.UGA.EDU>
Subject: Re: VM to AIX conversion
In-Reply-To: <vines.vYk8+SX4MpA@ahm_tor_comm01.amerhonda.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
I am assuming this is about raw data files being sent (via ftp?)
from the VM to the AIX box. Are the lines being cut at 80 (and having
a <cr> inserted) or being wrapped at 80 (which only affects how
they are displayed)? If the former, then there is a problem with
your transfer method, if the latter, then your SAS programs should
be ok (but be aware that now all lines are 'variable length' and you
will have a number of _odd_ problems with less-than-full lines).
You can modify the program to use varying-length formats (especially
for the variables at the end of the line), or you can modify the INFILE
to blank-pad up to some length, or you can out-and-out cheat and write
a program that will write something in a column location that is safely
beyond the end of the data on each line. Transferring SAS portable files
should not be a problem, though remember they are binary and you don't
want the system to perform ebcdic-to-ascii xlation. -- Joe
>
> We are currently migrating from a VM based SAS system to an AIX
>RS/6000 based. The
> raw data sets being moved from VM being truncated and wrapped at 80
>columns.
>
> This sort of causes havoc on all our (I am sure that there will be
>many) ancient programs
> that address columns over 80 during INPUT statements. Are there any
>suggestions on
> how this problem may be solved using SAS or does this problem require
>a solution
> external to the SAS program itself?
>
|