View previous topic :: View next topic
|
Author |
Message |
worthy2005
New User
Joined: 09 Mar 2005 Posts: 17 Location: Shanghai,China
|
|
|
|
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? |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Put you source code in a password protected dataset.
Regards,
Priyesh. |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
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 |
|
|
Ramya A
Active User
Joined: 26 Jul 2004 Posts: 104
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
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 |
|
|
Ramya A
Active User
Joined: 26 Jul 2004 Posts: 104
|
|
|
|
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.
Rgds,
Ramya |
|
Back to top |
|
|
smileseenu
New User
Joined: 27 Sep 2006 Posts: 13 Location: India
|
|
|
|
i coud't find REXXCL in SYS1.PROCLIB, is there any way to complie the REXX PGM... otherthan this...?? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
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 |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1744 Location: Tirupur, India
|
|
|
|
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
Regards, |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Quote: |
Although, IMHO, for infrequent tasks, that distinction is blurred. |
I quite agree
I've just not figured a way to "size" how big a bear is too big to eat. . .
d |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
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 |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
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 |
|
|
|