Page 1 of 1

De-compile REXX.

PostPosted: Thu Apr 05, 2012 9:38 pm
by Viswanathchandru
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

Re: De-compile REXX.

PostPosted: Thu Apr 05, 2012 10:02 pm
by enrico-sorichetti
was the <thing> compiled using the sline option?

Re: De-compile REXX.

PostPosted: Thu Apr 05, 2012 10:12 pm
by Viswanathchandru
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

Re: De-compile REXX.

PostPosted: Fri Apr 06, 2012 1:36 am
by Pedro
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.

Re: De-compile REXX.

PostPosted: Mon Apr 09, 2012 5:52 pm
by Viswanathchandru
Thanks a lot Pedro! I ended up in writing the codes again and the last weekend was blue weekend for me. :(


Regards,
Viswa

Re: De-compile REXX.

PostPosted: Mon Apr 09, 2012 10:47 pm
by dick scherrer
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. . .

Re: De-compile REXX.

PostPosted: Tue Apr 10, 2012 3:54 am
by prino
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!