Date: Tue, 31 Dec 2002 10:02:33 -0500
Reply-To: diskin.dennis@KENDLE.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: diskin.dennis@KENDLE.COM
Subject: Re: Error with call system command:
Content-type: text/plain; charset=us-ascii
As far as I know, there is no way to suppress this message, but you can use
a simple work around of just concatenating 2 or more shorter strings in the
Call System argument:
call system ("export INF=&envi/clients/&client/raw/&filein; print John Your input file ${INF} ;" ||
"export OUTF=&envi/clients/&client/temp/sortout&jobstreamID ;" ||
"syncsort <<endofsort\n /infile $INF 160 /outfile $OUTF 160 OVERWRITE /FIELDS wholerec 1 char160 /keys wholerec\n endofsort");
In fact, this might make it more readable/
HTH,
Dennis Diskin
From: SUBSCRIBE SAS-L surendra <surendranath.gujjala@INGENIX.COM>
@LISTSERV.UGA.EDU> on 12/31/2002 09:41 AM
Please respond to SUBSCRIBE SAS-L surendra
<surendranath.gujjala@INGENIX.COM>
Sent by: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
To: SAS-L@LISTSERV.UGA.EDU
cc:
Subject: Re: Error with call system command:
Here is the code for which I'm getting error
data _null_;
call system ("export INF=&envi/clients/&client/raw/&filein; print John Your
input file ${INF} ;export
OUTF=&envi/clients/&client/temp/sortout&jobstreamID ; syncsort <<endofsort
\n /infile $INF 160 /outfile $OUTF 160 OVERWRITE /FIELDS wholerec 1 char
160 /keys wholerec
\n endofsort");
run;