LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2000, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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


Back to: Top of message | Previous page | Main SAS-L page