Date: Thu, 18 Mar 1999 00:14:29 GMT
Reply-To: REXX Programming discussion list <REXXLIST@UGA.CC.UGA.EDU>
Sender: REXX Programming discussion list <REXXLIST@UGA.CC.UGA.EDU>
From: Bill <wcclalo@STATCAN.CA>
Organization: Deja News - The Leader in Internet Discussion
Subject: Re: REXX to edit from batch
In article <email@example.com>,
"Shravan Kumar" <SKPabba(at)Yahoo(dot)com> wrote:
> I know this question has been posted here many times,
> but I am trying to run a REXX which edits a dataset from JCL. I get a
> return code of -3 after the 'EDIT' statement in the REXX.
> I am doing one more thing here, I am running this rexx
> dynamically, I mean
> to say statements are given as input to JCL step and my DYNEXEC rexx
> executes this REXX.
> Can anyone figure out what is the problem.
To use ISPEXEC, you must be running in an ISPF environment.
Your EXEC is essentially running from TSO READY mode.
You need to do something like ISPSTART CMD(%DYNEXEC) so that your EXEC
runs under ISPF.
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own