Date: Tue, 18 Jan 2000 15:42:42 +0100
Reply-To: Tony Germini <tgermini@cnx-global.ch>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Tony Germini <tgermini@CNX-GLOBAL.CH>
Organization: cnx-global
Subject: Re: Antwort: Re: UNIX Host system commands
Hi Gehard ,
1. I tested several commmands ('ls, grep, ...') the result is always the
same.
2. the command correctly executed .
>>>> MORE INFORMATIONS ===============================
I run the following data step on my machine.
dated _nul _;
call system(' ls -1 > ls.txt');
run;
On the terminal, I receive this msg error
<< + Suspended (tty output) >>
(- - > the SAS session is completely blocked and awaits something... yes
but what)
Gehard Hellriegel <detecsm_hellriegelg@WESTLB.DE> wrote in message
news:4125686A.004B2827.00@data.WestLB.de...
> Hi,
> do you have that problem with all commands, e.g. with "ls"?
> 1 . If not: is the dataset in use / open?
> 2. What happens, if you issue the command in a terminal at the moment,
when SAS
> hangs?
>
>
>
>
>
>
> Tony Germini <tgermini@CNX-GLOBAL.CH> on 18.01.2000 13:35:24
>
> Bitte antworten an Tony Germini <tgermini@cnx-global.ch>
>
> An: SAS-L@LISTSERV.UGA.EDU
> Kopie: (Blindkopie: DeTeCSM HellriegelG/D/ExternalStaff/WLB)
> Thema: Re: UNIX Host system commands
>
>
>
> I had forgotten to specify that I tested the CALL SYSTEM procedure with
WAIT
> and with NOXWAIT
> ...but the result is same...
>
>
> Tony Germini <tgermini@cnx-global.ch> wrote in message
> news:861dif$r43$1@pollux.ip-plus.net...
> > I would to issues UNIX host system commands with SAS.
> >
> > By using the routine <<CALL SYSTEM(' <cmd')>> , my SAS session is
totally
> > blocked
> > ...and the unique solution is to kill the process.
> >
> > Do I have to modify my configuration? (options, ...?) or does there
exist
> > another way of making this ?
> >
> > Thanks a lot for your advices
> >
> > ========================================
> >
> > data _nul _;
> > call system(' chmod 777 test.sd2 ');
> > run;
> >
> > ==> Sun Solaris - Common Desktop Environment 1.2
> > SAS System 6.12 Ts055
> >
> >
>
>
>
>
>
> Mit freundlichen Gruessen
>
>
> DeTeCSM, Gerhard Hellriegel
>
> WestLB
> Abteilung: 001-80622
> Aderstr. 22
> D - 40217 Duesseldorf
> Tel.: +49211 826 6173
> Fax: +49211 826 5393
|