Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search 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
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
References
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3314
Location: Charlotte,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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1