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
Content-Type: multipart/mixed;
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.;
or...
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
noodle. Luck!
Pat Flickner
--
I used to have an open mind but my brains kept falling out.
[text/x-vcard]
begin: vcard
fn: Patricia Flickner
n: Flickner;Patricia
org: believe me, very little
email;internet: pflick@access1.net
title: Or Not... (Shakespear in Pittsburghese)
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard
|