IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Outtrap and sysdsn - routine not found


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
DwChilders

New User


Joined: 14 Apr 2006
Posts: 7

PostPosted: Tue Aug 01, 2006 9:22 am
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Aug 01, 2006 6:10 pm
Reply with quote

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
View user's profile Send private message
DwChilders

New User


Joined: 14 Apr 2006
Posts: 7

PostPosted: Tue Aug 01, 2006 6:18 pm
Reply with quote

>>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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts how to use Tso outtrap external function All Other Mainframe Topics 8
No new posts A directory in the pathname was not f... ABENDS & Debugging 0
No new posts I need a 4 lines block where substrin... DFSORT/ICETOOL 12
No new posts ACS exit routine JCL & VSAM 0
Search our Forums:

Back to Top