Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Outtrap and sysdsn - routine not found

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Outtrap and sysdsn - routine not found
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

Moderator Team Head


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

PostPosted: Tue Aug 01, 2006 6:10 pm    Post subject: Re: Outtrap and sysdsn - routine not found
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 7 Fri Mar 24, 2017 9:28 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am
No new posts SORT - E15 and E35 using same user ex... Abhi Nature DFSORT/ICETOOL 12 Mon Oct 03, 2016 4:33 pm
No new posts CEE3501S The module DSNHADDR was not ... Sayan Bhattacharyya ABENDS & Debugging 11 Tue Oct 20, 2015 3:53 pm
No new posts FTP with OUTTRAP Ricardo Viegas TSO/ISPF 0 Thu Oct 15, 2015 7:27 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us