Date: Thu, 14 Jun 2001 14:56:59 -0400
Reply-To: "Fehd, Ronald J." <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J." <rjf2@CDC.GOV>
Subject: Re: is there any return in SAS programming
Content-Type: text/plain; charset="iso-8859-1"
> From: isaac wong [mailto:duckchai@NETVIGATOR.COM]
> I would like to know if there is any 'Return value', like 1 or 0 in a
> subroutine of SAS program?
>
> I would like to make use of the value to determine the flow
> of the program procedure.
investigate the SYS* macro variables
SYSERR
SYSFILRC
SYSINFO
SYSRC
with this style statement:
%PUT SYSERR<&SYSERR.>;
Ron Fehd the macro maven CDC Atlanta GA USA RJF2@cdc.gov
OpSys: WinNT Ver: 8.1
---> cheerful provider of UNTESTED SAS code!*! <---
e-mail your SAS improvements to: suggest@sas.com
archives: http://www.listserv.uga.edu/archives/sas-l.html
|