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
 

 

REXX compiled via RXTCOMP

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
sergeyken

New User


Joined: 29 Apr 2008
Posts: 52
Location: Maryland

PostPosted: Tue Feb 07, 2017 9:41 pm    Post subject: REXX compiled via RXTCOMP
Reply with quote

Sorry, but I cannot find any explanation from available sources.

When already tested REXX code has been successfully compiled using REXXTOOLS RXTCOMP compiler, and then a binary load module created, it fails at run time when trying to call any TSO function, like OUTTRAP or whatever:
Quote:
212 +++ X=OUTTRAP("RES.")
IRX0043I Error running TESTMOD1, line 212: Routine not found

Kindly give me a clue where the external TSO functions (or any other external functions?) must be defined to be used with load module created from a compiled REXX code?
Back to top
View user's profile Send private message

Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2029
Location: Silicon Valley

PostPosted: Tue Feb 07, 2017 9:48 pm    Post subject: Reply to: REXX compiled via RXTCOMP
Reply with quote

What environment are you running it on?

If it is a batch job, remember that you still need to provide a TSO environment.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10218
Location: italy

PostPosted: Tue Feb 07, 2017 10:53 pm    Post subject: Reply to: REXX compiled via RXTCOMP
Reply with quote

I do not know about the REXXTOOLS compiler

but the IBM REXX compiler is very sensitive to the STUB linked into the executable

Using the wrong STUB would usually result in an odd behavior
Back to top
View user's profile Send private message
sergeyken

New User


Joined: 29 Apr 2008
Posts: 52
Location: Maryland

PostPosted: Wed Feb 08, 2017 10:35 pm    Post subject:
Reply with quote

After long investigation I was able to find the answer as fine print in the Open Software Inc. manual icon_rolleyes.gif
Quote:
Note: If your compiled REXX program utilizes any TSO service, you must run it under IKJEFT01 (the batch TMP).
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2029
Location: Silicon Valley

PostPosted: Thu Feb 09, 2017 10:27 pm    Post subject: Reply to: REXX compiled via RXTCOMP
Reply with quote

repeating:
Quote:
remember that you still need to provide a TSO environment.


That is, not sure you need a long investigation.
Back to top
View user's profile Send private message
sergeyken

New User


Joined: 29 Apr 2008
Posts: 52
Location: Maryland

PostPosted: Fri Feb 10, 2017 1:03 am    Post subject: Re: Reply to: REXX compiled via RXTCOMP
Reply with quote

Pedro wrote:
repeating:
Quote:
remember that you still need to provide a TSO environment.
That is, not sure you need a long investigation.

0) This requirement might be interpreted as "ADDRESS TSO" which could be executed in compiled version, but did not help to access TSO services.

1) Then, WTF compiled REXX version is needed? The widely used standard REXX instruments unpredictably do not run from successfully(!) compiled REXX (and linked load module).

2) Despite of what manual says, the compiled REXX just fails with S0C4 when started via IKJEFT01, as recommended by manual...

So, finally even "long investigation" did not help so far icon_rolleyes.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7951
Location: Bellevue, IA

PostPosted: Fri Feb 10, 2017 1:39 am    Post subject:
Reply with quote

What did the vendor say when you asked your question there?
Back to top
View user's profile Send private message
sergeyken

New User


Joined: 29 Apr 2008
Posts: 52
Location: Maryland

PostPosted: Sat Feb 11, 2017 2:34 am    Post subject:
Reply with quote

Robert Sample wrote:
What did the vendor say when you asked your question there?

I am subcontractor, and not supposed to contact the vendor directly.

After some investigation I was able to find the reason. The client's Endevor team provided so called "processor group" to "automatically perform REXX compilation, and link edit the load module". Noone of that support group was able to clarify any minor question.

Further investigation discovered that the "standard processor group" for REXX compilation has internal hardcoded REXX compiler option PREFIX(RXTRXPRC), the one compatible with... calling REXX from COBOL only! The created object/load modules became incompatible with calls from JCL/TSO/Assembler etc.

The Endevor team has been notified of their own problem. So far I use my own JCL to perform REXX compilation. Now it's working as described.

Thank you
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
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm


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