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
 
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: 6968
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: 6968
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: 2086
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 How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

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