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

Compiled verses Interpreted


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

New User


Joined: 08 Jun 2006
Posts: 53

PostPosted: Mon Aug 21, 2006 7:32 pm
Reply with quote

Hi,
I am trying to use the Rexx in compiled mode. i.e I created a Load module. and I am using as EXEC PGM=REXXPGM.. I am getting an error

EAGREX4300E Error 43 running compiled ?, line 20: Routine not found

This statement is

if SYSDSN("'"tabledsn"'") \= 'OK' Then

that means SYSDSN is not found. What should i do? Where will i get the coding considerations between a Compiled rexx code and interpreter rexx code.

Thanks in advance
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Mon Aug 21, 2006 8:23 pm
Reply with quote

It doesn't work in interpreted REXX either:

4 +++ IF SYSDSN("'"tabledsn"'") \= 'OK'
IRX0043I Error running TEST437, line 4: Routine not found

so what's the point? AFAIK, SYSDSN is a TSO/E External Function, so you probably have to make a call to TSO, or a non-compiled exec running in TSO, to use that function. I didn't see any specific details in the REXX370 Compiler for z/OS Reference Manual, so I guess they should work the same as long as they are both using only REXX built-in functions.
Back to top
View user's profile Send private message
Sahoo

New User


Joined: 08 Jun 2006
Posts: 53

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

This works in compiled code as well . The problem was the stub that i used while compiling.
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 Different result between normal rexx ... CLIST & REXX 2
No new posts Mantis Program Compiled? CICS 2
No new posts Finding the plan when code compiled u... DB2 2
No new posts LISTIDR compiled date/time IBM Tools 3
No new posts REXX compiled via RXTCOMP CLIST & REXX 7
Search our Forums:

Back to Top