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-
>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");
> 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
> 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.
>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