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: 6967
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: 6967
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: 2038
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
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


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