Date: Mon, 10 Jul 2000 10:11:34 -0400
Reply-To: Jit Bhattacharya <jit.bhattacharya@PRUDENTIAL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jit Bhattacharya <jit.bhattacharya@PRUDENTIAL.COM>
Subject: Porting macro variables between hosts
Content-type: text/plain; charset=us-ascii
Hello,
I need some help with porting macro variables created by an SCL code on the PC
to a mainframe host(MVS).
The portion of SCL code that creates the macro vars is -
length string $ 50
m_var $ 8
;
array scl_var{*} $ userid stcode comp ;
string = 'userid stcode comp' ;
do i=1 to dim(scl_var) ;
m_var= scan( string,i ) ;
call symput( m_var,scl_var{i} ) ;
end ;
The macro vars USERID, STCODE, and COMP are created in the PC environment.
However, I need these to be created on the mainframe side.
At the time the SCL executes, I have a MVS/TSO session open with SAS/CONNECT.
Further into the SCL code, I copy source code into the preview buffer that is
executed on the mainframe. Since this procedure does not resolve SCL variables
as from within a SUBMIT block, I need to convert SCL variables to macros on MVS.
Any help would be much appreciated.
Jit
|