De-compile REXX.



IBM's Command List programming language & Restructured Extended Executor

De-compile REXX.

Postby Viswanathchandru » Thu Apr 05, 2012 9:38 pm

Dear all,

I had a couple of snipet's for my use which i compiled them and somewhere i lost the original codes. Is there a way i can decompile as we do for the assembler's. I would need to do some ground works to change the script. Is there a way i can do it. Please let me know if in case i need to share more information on this.

Regards,
Viswa
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: De-compile REXX.

 

Re: De-compile REXX.

Postby enrico-sorichetti » Thu Apr 05, 2012 10:02 pm

was the <thing> compiled using the sline option?
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: De-compile REXX.

Postby Viswanathchandru » Thu Apr 05, 2012 10:12 pm

Hello Enrico! thanks for your time and reply!

I believe when i compiled i didnt give any option there which would do the IBM default NOSLINE if i'm not wrong! There starts the problem. If NOSLINE the source module would not be included in the load during compile rite? I'm now too confused:?


Regards,
Viswa
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: De-compile REXX.

Postby Pedro » Fri Apr 06, 2012 1:36 am

What does your compiled object look like?

============
This is a long shot, but might help in future endeavors.

Perhaps you had added a capability to run a trace:
parse arg parms
If POS('DEBUG', parms) > 0) Then
   Trace('r')
. . .

If so, capture a trace to get the some of program logic.
Pedro Vera
User avatar
Pedro
 
Posts: 569
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 39 times

Re: De-compile REXX.

Postby Viswanathchandru » Mon Apr 09, 2012 5:52 pm

Thanks a lot Pedro! I ended up in writing the codes again and the last weekend was blue weekend for me. :(


Regards,
Viswa
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: De-compile REXX.

Postby dick scherrer » Mon Apr 09, 2012 10:47 pm

Hello,

Everything i "write" on the mainframe, i download to my pc as an off-site backup. . . (source, jcl, control statements for sort and other utilites, etc).

This has "saved" me multiple times when someone decided to clean-up some datasets they knew nothing about. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: De-compile REXX.

Postby prino » Tue Apr 10, 2012 3:54 am

dick scherrer wrote:Everything i "write" on the mainframe, i download to my pc as an off-site backup. . . (source, jcl, control statements for sort and other utilites, etc).

This has "saved" me multiple times when someone decided to clean-up some datasets they knew nothing about. . .

I do the same, not only at work, but even at home on my PC running Hercules, where the potential for disasters is even larger. In addition, I also make frequent backups of all Hercules shadow disks!
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 536
Joined: Wed Mar 11, 2009 12:22 am
Location: Oostende, Belgium
Has thanked: 3 times
Been thanked: 21 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post