View previous topic :: View next topic
|
Author |
Message |
Sahoo
New User
Joined: 08 Jun 2006 Posts: 53
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
Sahoo
New User
Joined: 08 Jun 2006 Posts: 53
|
|
|
|
This works in compiled code as well . The problem was the stub that i used while compiling. |
|
Back to top |
|
|
|