|Date: ||Mon, 13 Jul 1998 20:53:50 -0700|
|Reply-To: ||Patricia Flickner <pflick@ACCESS1.NET>|
|Sender: ||"SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>|
|From: ||Patricia Flickner <pflick@ACCESS1.NET>|
|Subject: ||Re: reading data from IBM mainframe|
Wei, this is pretty easy. With mainframe SAS, you have to have the "if"
statement after the input, or at least, after the input of ID since it
needs to know what ID is. You've confused it, which isn't too difficult
to do with MVS at times. I'm impressed that the pc didn't get upset
with this as well.
INPUT @1 ID $5. @; IF ID = 'ABCDE';
INPUT @6 OTHER $20.;
INPUT @1 ID $5.
@6 OTHER $20.;
IF ID = 'ABCDE';
That should clear up the problem, but on occasion, I'm wrong. If that's
the case, feel free to e-mail me and thrash me soundly with a wet
I used to have an open mind but my brains kept falling out.
fn: Patricia Flickner
org: believe me, very little
title: Or Not... (Shakespear in Pittsburghese)