View previous topic :: View next topic
|
Author |
Message |
DwChilders
New User
Joined: 14 Apr 2006 Posts: 7
|
|
|
|
Hi, I've been running Rexx from the command line, and everything's working fine. But, porting it over to the batch IRXJCL environment has been challenging.
I think I've got the proper ADDRESS TSO statements when using ALLOC, and ADDRESS MVS when using EXECIO. But I keep getting ROUTINE NOT FOUND errors when trying to use OUTTRAP and SYSDSN.
Is there something special that needs to be done, to prepare Rexx to interpret these commands in batch? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
According to the z/OS V1R7.0 TSO/E REXX Reference
manual, both OUTTRAP and SYSDSN are TSO/E functions and
Quote: |
You can use the OUTTRAP function only in REXX execs that run in the TSO/E address space.
and
You can use the SYSDSN function only in REXX execs that run in the TSO/E address space.
|
If you don't provide a TSO address space (PGM=IKJEFT0x), then I don't know how you're going to get either function to work. |
|
Back to top |
|
|
DwChilders
New User
Joined: 14 Apr 2006 Posts: 7
|
|
|
|
>>If you don't provide a TSO address space (PGM=IKJEFT0x), then I don't know how you're going to get either function to work.<<
We are using PGM=IRXJCL. Are you saying that the IKJEFT0x is necessary? |
|
Back to top |
|
|
|