home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!paladin.american.edu!auvm!UKCC.UKY.EDU!CROVO
- Organization: University of Kentucky
- Message-ID: <SAS-L%92081712104344@VM.MARIST.EDU>
- Newsgroups: bit.listserv.sas-l
- Date: Mon, 17 Aug 1992 11:27:12 EDT
- Reply-To: "Crovo, Bob" <CROVO@UKCC.UKY.EDU>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: "Crovo, Bob" <CROVO@UKCC.UKY.EDU>
- Subject: Macro read from the stack
- Lines: 28
-
- We run SAS 6.06 under VM/ESA 1.1.1 here at University of Kentucky.
- A user is porting an application from CMS release 4 and I am having
- trouble making it work here. A Rexx exec stacks some data and calls
- SAS. SAS uses %INPUT to read the data into a couple variables.
-
- /* Stack data for SAS */
- COUNTY="'029'"
- AREA="'AREA307'"
- MAKEBUF
- PUSH County
- PUSH Area
- "EXEC SAS TEST ( LP PP"
- DROPBUF
-
- /* This is a test program to determine how SAS can read data values
- from the console stack. %INPUT is supposed to assign values
- to the named variables. */
- CMS Filedef Terminal Terminal;
- %Input First Last;
- Data _Null_;
- Put &First &Last;
- File Terminal;
- Put &First &Last;
- /*
-
-
- Please reply to me directly--I'm not on the list. Thanks
- in advance for any help you can lend.
-