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
 

 

How to protect REXX code by applying some expiration date.

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> FAQ & Off Topics
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    Post subject: How to protect REXX code by applying some expiration date.
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

Senior Member


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

PostPosted: Fri Aug 03, 2012 3:32 pm    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
Reply with quote

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

Senior Member


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

PostPosted: Fri Aug 03, 2012 10:34 pm    Post subject: Reply to: How to protect REXX code by applying some expirati
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.    IBMMAINFRAMES.com Support Forums -> FAQ & Off Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm


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