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 (January 1997, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 15 Jan 1997 18:56:22 -0500
Reply-To:     MICHAEL.RAITHEL@RAITHM49.CUSTOMS.SPRINT.COM
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         "Michael A. Raithel" <MICHAEL.RAITHEL@RAITHM49.CUSTOMS.SPRINT.COM>
Subject:      Re: (MVS) Call external Programms

Karsten Hahne posted the following:

>Is it possible to call external Programms like Cobol or PLI inside the >Data-Step. We work an a MVS Maschine with SAS 6.8. > >I need to call an external binded Programm to read Information from >DB2. Therfore it is neccessary to call the external Programm with >Parameters and to get Parameters from the external Programm. > >In the Moment we read the Data with Pass Through (SAS-ACCESS), but the >performance is to bad. >

Karsten,

You *CAN* call external programs with SAS in the MVS environment via "MODULE". To get the MODULE documentation, simply execute the following:

DATA _NULL_; CALL MODULE('*H'); RUN;

If the code, above, does not work, then perhaps you have a TS___ level of SAS that does not support MODULE. I believe that MODULE is available under MVS in SAS 6.08 TS420 and above.

The code, above, will put the MODULE invocation instructions into your SAS Log. The instructions have specific sections dealing with passing arguments to C, FORTRAN, and COBOL. PL/1 is not mentioned there (TS420), but I would be stunned and amazed if MODULE could not invoke assembler routines.

Good luck in taming the big iron, and in bending DB2 to your will!

I hope that this suggestion proves helpful now, and in the future!

Of course, all of these opinions and insights are my own, and do not reflect those of my organization or my associates.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Michael A. Raithel E-mail: maraithel@mcimail.com Author: Tuning SAS Applications in the MVS Environment ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ...There's the respect that makes calamity of so long life... ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


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