Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Execute the Rexx program by EXEC command without compiling

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: Execute the Rexx program by EXEC command without compiling
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: 1452
Location: Chicago, IL

PostPosted: Mon Oct 31, 2005 9:53 pm    Post subject: Re: Rexx Program
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    Post subject:
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    Post subject:
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

Moderator Team Head


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

PostPosted: Tue Nov 01, 2005 6:25 am    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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: 8597
Location: Back in jolly old England

PostPosted: Thu Nov 12, 2009 3:49 pm    Post subject:
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: 1532
Location: Chennai

PostPosted: Sat Nov 14, 2009 2:36 am    Post subject:
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

Site Director


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

PostPosted: Sat Nov 14, 2009 3:18 am    Post subject: Reply to: Execute the Rexx program by EXEC command without c
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: 401
Location: Mumbai

PostPosted: Sat Nov 14, 2009 4:17 am    Post subject:
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

Site Director


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

PostPosted: Sat Nov 14, 2009 6:23 am    Post subject: Reply to: Execute the Rexx program by EXEC command without c
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: 2443
Location: Netherlands, Amstelveen

PostPosted: Sat Nov 14, 2009 8:10 pm    Post subject: Re: Reply to: Execute the Rexx program by EXEC command witho
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

Site Director


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

PostPosted: Sat Nov 14, 2009 10:15 pm    Post subject:
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: 401
Location: Mumbai

PostPosted: Sun Nov 15, 2009 12:42 am    Post subject: Reply to: Execute the Rexx program by EXEC command without c
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    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
No new posts OUTREC with ALter Command scorp_rahul23 DFSORT/ICETOOL 1 Wed Nov 22, 2017 3:10 pm
No new posts Rexx to send an email without SMTP Se... upendrasri All Other Mainframe Topics 9 Sun Nov 19, 2017 7:59 pm
This topic is locked: you cannot edit posts or make replies. ISREDIT Macro is not returning back t... nico_neoz CLIST & REXX 21 Sat Nov 18, 2017 7:40 pm
No new posts REXX LISTDSI () SMSINFO is not working upendrasri CLIST & REXX 4 Fri Nov 17, 2017 11:33 am
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 4 Wed Nov 15, 2017 4:27 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us