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

Execute the Rexx program by EXEC command without compiling


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

New User


Joined: 09 Mar 2005
Posts: 17
Location: Shanghai,China

PostPosted: Mon Oct 31, 2005 8:15 pm
Reply with quote

Hi everybody,

We can execute the Rexx program by EXEC command and without a compilation. So this could make everybody see the my source program. Everybody could know the logic and revise it without a authority.

So What can I do to prevent this from happening? icon_eek.gif
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Mon Oct 31, 2005 9:53 pm
Reply with quote

Put you source code in a password protected dataset.

Regards,

Priyesh.
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Mon Oct 31, 2005 11:14 pm
Reply with quote

Why you cannot compile your source?
To run your program with PGM=MYREXX on a OS/390 or z/OS you must compile it with STUB=MVS, and for what I know is the only way....(but as usual I can be wrong.)
Tell us your problem with compiler... We are here to help you if you need...
Back to top
View user's profile Send private message
Ramya A

Active User


Joined: 26 Jul 2004
Posts: 104

PostPosted: Tue Nov 01, 2005 2:18 am
Reply with quote

How could I compile my REXX code? Do I need any utility to be installed in my mainframes in order to get my REXX source compiled?
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Tue Nov 01, 2005 6:25 am
Reply with quote

Ramya Arun wrote:
How could I compile my REXX code? Do I need any utility to be installed in my mainframes in order to get my REXX source compiled?


You would need the IBM Rexx Compiler.
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Tue Nov 01, 2005 2:47 pm
Reply with quote

Are you working on OS/390 or in z/OS or other?
usually you will find in your sys1.proclib a proc named REXXCL
( or in SYS1.SFANPRC)
This is the proc of compiler that will execute the REXXCOMP.
Tell me if you can find this.
Back to top
View user's profile Send private message
Ramya A

Active User


Joined: 26 Jul 2004
Posts: 104

PostPosted: Tue Nov 01, 2005 11:33 pm
Reply with quote

Hi MGIndaco

Yes, I could find this compiler REXXCL in my system. I also tried compiling one of my rexx code and it is working!!! This is of great help!! Thank you so much. icon_biggrin.gif

Rgds,
Ramya
Back to top
View user's profile Send private message
smileseenu

New User


Joined: 27 Sep 2006
Posts: 13
Location: India

PostPosted: Thu Nov 12, 2009 3:45 pm
Reply with quote

i coud't find REXXCL in SYS1.PROCLIB, is there any way to complie the REXX PGM... otherthan this...??
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Nov 12, 2009 3:49 pm
Reply with quote

Why respond to a topic which has been dormant for four years. START A NEW ONE.

But, as I am in a good mood, the REXX compiler is a pay for option, so if you can't find it, the chances are that your company never paid for it.

Very few companies that I have worked at haver purchased this option.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Sat Nov 14, 2009 2:36 am
Reply with quote

Quote:
Very few companies that I have worked at haver purchased this option.

U are right Expat
I asked my sysprog and he told the same. Our company did not buy it Grr.!!
.

Maybe its costly or something icon_rolleyes.gif

Regards,
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Nov 14, 2009 3:18 am
Reply with quote

FWIW/IMHO - if compiled rexx is needed to "survive" the resources required to run certain rexx code, rexx is being misused. . .

While rexx can do many powerful things, it is not meant to be used in high-volume situations. . .

Again, only MHO. . .

d
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 400
Location: Mumbai

PostPosted: Sat Nov 14, 2009 4:17 am
Reply with quote

The original question (4 yrs ago) was how to implement "security by ignorance" (if I think they can't change it, then they must not be able to change it).

But Dick is right. Rexx is for scripting, not volume processing. Although, IMHO, for infrequent tasks, that distinction is blurred.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Nov 14, 2009 6:23 am
Reply with quote

Quote:
Although, IMHO, for infrequent tasks, that distinction is blurred.
I quite agree icon_cool.gif

I've just not figured a way to "size" how big a bear is too big to eat. . .

d
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Sat Nov 14, 2009 8:10 pm
Reply with quote

dick scherrer wrote:
While rexx can do many powerful things, it is not meant to be used in high-volume situations. . .


High volume situations as in processing large quantities of data? I hope you mean that. As compiled rexx is used extensively in SA/390.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Nov 14, 2009 10:15 pm
Reply with quote

Hello,

Quote:
High volume situations as in processing large quantities of data? I hope you mean that.
Yup, large quantities of data is what i mean. . .

Lots of times the 10 or 100 record test is fine but the 100 millioin record run causes grief icon_wink.gif
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 400
Location: Mumbai

PostPosted: Sun Nov 15, 2009 12:42 am
Reply with quote

even a million is OK but it might take a minute or two where SORT might take a few seconds. Depends on the complexity of the task. Since most tasks asked for on this board seem to be moving a field or counting records, rexx is fine for files in with hundreds of thousands of lines, but if the task is more complex such as multi-file compare, sorting, etc, then Rexx may not be the best choice.

Strangely, the use of stems is very inefficient. I never figured out why that is. Rexx on other platforms as well as other languages that implement associative arrays like Java don't have that problem. TSO Rexx also appears to keep and reparse comments at runtime. A program with many comments will run slower than one without them. In these cases, compiling does make a difference. ISPF goes so far as to ship a copy of ISPDTLC (>24000 lines of rexx) which is devoid of comments and leading spaces. That does not sound like a very robust implementation of Rexx to me. In other words, it isn't that Rexx as a language is slow, but the TSO implementation of it is slow.
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 Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Using API Gateway from CICS program CICS 0
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
Search our Forums:

Back to Top