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

How to protect REXX code by applying some expiration date.


IBM Mainframe Forums -> FAQ & Basics
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
abhisingh

New User


Joined: 26 Apr 2012
Posts: 10
Location: India

PostPosted: Fri Aug 03, 2012 3:03 pm
Reply with quote

Hi All,

We have developed a tool (runs by REXX macro) in REXX having 8-10 calling/called code modules.
If we give it to some other group/team, we want to apply a protective way so that the group would be able to use it only for few days(4-5 days) after that the tool will be locked.

Is it possible using REXX If yes then please suggest.

Thanks in advance.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Fri Aug 03, 2012 3:32 pm
Reply with quote

Is the group outside your current company/shop? What if they clone it in those 4-5 days?

May be just remove the library altogther whenever you wish too! icon_neutral.gif
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Aug 03, 2012 5:17 pm
Reply with quote

Moderators,

could you move this thread to the
IDIOT/STUPID QUESTIONS Forum, please.
Back to top
View user's profile Send private message
abhisingh

New User


Joined: 26 Apr 2012
Posts: 10
Location: India

PostPosted: Fri Aug 03, 2012 6:35 pm
Reply with quote

icon_redface.gif
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Aug 03, 2012 8:52 pm
Reply with quote

only if the rexx is compiled.
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Fri Aug 03, 2012 10:34 pm
Reply with quote

REXX normally does not do anything particularly special. For example, if the REXX program updates a file, likely, the user can update that same file using their own REXX program. It is the file that needs to be locked up, not the rexx program.

Quote:
only if the rexx is compiled.

It is easier for the user to write their own version of the rexx program if they can see yours, so compiling it would help in that regard (they cannot easily clone your compiled program to create their own). However, it will not stop the user from merely copying the compiled program and executing it later from their own library.

So perhaps add code:

Code:
If date('J') > 12220 Then; Do; say 'goodbye'; Exit;End
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> FAQ & Basics

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
Search our Forums:

Back to Top