Date: Wed, 13 Aug 2003 10:41:10 -0400
Reply-To: Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Gerhard Hellriegel <ghellrieg@T-ONLINE.DE>
Subject: Re: invoke a REXX exec in the data step on MVS OS390 system.
REXX is a TSO interpreter, but you have a batch job! Test that in a online
session and it might work!
A better question: what you want to do? Or what do you expect? REXX you can
call in batch with some tricks, but you always have to be careful with
interactice things, like display lists, put, get with your terminal, ....
Your batch job does not know your terminal!
If you need it in batch, maybe there are some other possibilities to do
what you need...
On Wed, 13 Aug 2003 09:56:53 +0200, Behrens, Dje (KIRU) <Dje.Behrens@RZ-
KIRU.DE> wrote:
>Hi ,
>
>i would like to invoke a REXX exec in the data step on MVS OS390 system.
> hier ist the source code:
>
> //A20CALL2 JOB DI11,CLASS=M,MSGCLASS=1,TIME=1440,REGION=0M
> //S0010 EXEC SAS8
> //WORK DD SPACE=(CYL,(100,50),RLSE)
> //SASLIST DD SYSOUT=*,DCB=(LRECL=133,RECFM=FBA)
> //SYSIN DD *
> options nocenter mprint;
> data _null_;
> call system("exec DSNINFO2");
> run;
>
>
> The rexx member 'desninfo02' is stored in the library
>'a20.lib1.doku'. That is allocated to sysproc by logon.
> According to "sas companion for the mvs envireonment' it should
work
>properly.
>
> Somehow it does'n work. The sas rc is zero.
> Can someone give me any hints why it does'n work.
>
>
>
> Thanks a lot in advance.
>
>
>
>Dje Behrens
>Anwendungsprogrammierung Einwohnerwesen
>
>Zweckverband Kommunale Informationsverarbeitung Reutlingen-Ulm (KIRU)
>Interkommunale Informationsverarbeitung Reutlingen-Ulm GmbH (IIRU)
>
>Schulze-Delitzsch-Weg 28, 89079 Ulm
>Telefon: 0731/9455-11413 * Telefax 0731/31413 * Internet www.rz-kiru.de
|