Date: Tue, 5 Sep 2000 15:47:31 -0400
Reply-To: "Malarkey, Pat" <PMALARKEY@ULLICO.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Malarkey, Pat" <PMALARKEY@ULLICO.COM>
Subject: The Elusive CALL MODULE Function
Content-Type: multipart/alternative;
Hi, all!
I'm trying to call a c program from a SAS program. I think the CALL MODULE
- or one of its variants - fits the need, but there's not much in the
documentation about the syntax or how to use it.
CALL MODULE(<cntl,>module<,argument-1,...,argument-n>);
What is <cntl>? Can module be specified as, for example, c:\program
files\mypgm? I'm assuming <argument-1,...,argument-n> are parameters you
want to pass?
I'm working on a Unix/AIX plaftorm, and the following represents about my
5th or 6th try...
6 data _null_;
7 CALL module(',hadgrpsc,drgnull1.dat,drggrp1.dat,
8 dwhgrp.spc,hadgrps.ini');
9 run;
NOTE: Invalid argument to function MODULE at line 7 column 6.
_ERROR_=1 _N_=1
Hadgrpsc is the name of the program I want to execute, drgnull1.dat is the
input file, drggrp1.dat is what I want to call the output file and
dwhgrp.spc and hadgrps.ini are parameter files required by the hadgrpsc
program. To execute this program from a command prompt:
$ hadgrpsc drgnull1.dat drggrp1.dat dwhgrp.spc hadgrps.ini <Enter>
Many thanks!
- Pat
Patricia M. Malarkey
(202)962-8995
[text/html]
|