View previous topic :: View next topic
|
Author |
Message |
Vishal Jain
New User
Joined: 19 Aug 2009 Posts: 7 Location: Pune
|
|
|
|
I am looking for a REXX, which can expand a COBOL program including all its copy statements. (similar to what we see in a listing using Changeman or Endevor) |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Please search the forum, this or something similar has been asked umpteen times before.
I can not recall what the answers were, so I'm afraid you will have to learn to search |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I concur with Expat. It's been discussed numerous times, but last I knew you'll need to write your own program. |
|
Back to top |
|
|
Vishal Jain
New User
Joined: 19 Aug 2009 Posts: 7 Location: Pune
|
|
|
|
I also did a search on this.
But not able to get any matching result which can answer my query. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Quote: |
but last I knew you'll need to write your own program. |
As Kevin says, and I believe the same.
All those that had asked the same question may or may not have scuttled off and written their own code. If they did, they sure did not post any of it on our forum. |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1315 Location: Vilnius, Lithuania
|
|
|
|
Vishal Jain wrote: |
I am looking for a REXX, which can expand a COBOL program including all its copy statements. (similar to what we see in a listing using Changeman or Endevor) |
Why bother if you can just compile it and get a listing? |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
|
|
Can this not be achieved using the IBM utility ISRLEMX ? Though why you'd want to invoke it from REXX eludes me.....
Google ISRLEMX to find details on using this.
Garry. |
|
Back to top |
|
|
Vishal Jain
New User
Joined: 19 Aug 2009 Posts: 7 Location: Pune
|
|
|
|
If my changeman is down and I want to view listing of anyh component, then this REXX will help me a lot. |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
|
|
Quote: |
If my changeman is down and I want to view listing of anyh component, then this REXX will help me a lot.
|
That's as may be, but what's wrong with running a batch job to execute ISRLEMX? If you need to manipulate the output, you can output it to a dataset or capture the output from (e.g.) SDSF. You could even pass the output to a compile step.
If you really need to, you could invoke ISRLEMX from REXX. There are many examples of invoking programs from REXX in the forum.
Garry. |
|
Back to top |
|
|
Vishal Jain
New User
Joined: 19 Aug 2009 Posts: 7 Location: Pune
|
|
|
|
ok. Thanks Garry.. Let me first try ISRLEMX. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Do you've workbench available at your shop? You can compile your Cobol program through that if change man is down and then look at the listing generated there. |
|
Back to top |
|
|
Vishal Jain
New User
Joined: 19 Aug 2009 Posts: 7 Location: Pune
|
|
|
|
no we don't have workbench available. |
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1315 Location: Vilnius, Lithuania
|
|
|
|
Holy sith, why go through all this effing trouble?
Just take a copy of the ChangeMan JCL, cut out everything that updates ChangeMan libs and use that... |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
prino wrote: |
Just take a copy of the ChangeMan JCL, cut out everything that updates ChangeMan libs and use that... |
I believe that won't work Robert -- change man libraries are, usually, not allowed to update by some RACF ID. When I try to do that, JCL syntax chekcer says
Code: |
==MSG> .JAAN 8 DSS4757E - UPDATE ACCESS TO DATA SET DENIED TO USER XX1234X |
|
|
Back to top |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1315 Location: Vilnius, Lithuania
|
|
|
|
Anuj Dhawan wrote: |
prino wrote: |
Just take a copy of the ChangeMan JCL, cut out everything that updates ChangeMan libs and use that... |
I believe that won't work Robert -- change man libraries are, usually, not allowed to update by some RACF ID. When I try to do that, JCL syntax chekcer says
Code: |
==MSG> .JAAN 8 DSS4757E - UPDATE ACCESS TO DATA SET DENIED TO USER XX1234X |
|
Did you not read what I now emphasized in red? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
my mistake, percepted your response other way round.
Thanks,
Anuj |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
If my changeman is down |
And this happens regularly?
Suggest that needs to be resolved rather than developng work-arounds. . . |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
well changeman could be down due to corrupted data via usage of REXX scripts outside of the changeman/endevor environement. |
|
Back to top |
|
|
Vishal Jain
New User
Joined: 19 Aug 2009 Posts: 7 Location: Pune
|
|
|
|
Quote: |
If my changeman is down |
Not every time, But sometimes changeman takes 1-2 hrs to get up and working (this might be due to some maintenance) |
|
Back to top |
|
|
Vishal Jain
New User
Joined: 19 Aug 2009 Posts: 7 Location: Pune
|
|
|
|
Quote: |
well changeman could be down due to corrupted data via usage of REXX scripts outside of the changeman/endevor environement. |
What I wana do is, we already have LST libraries when we compile a program, my REXX should decode and provide me the lilsting. Not sure who come changeman will get corrupted due to this. |
|
Back to top |
|
|
|