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
 

 

REXX which can provide a listing of a COBOl Program.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
Vishal Jain

New User


Joined: 19 Aug 2009
Posts: 7
Location: Pune

PostPosted: Wed Aug 19, 2009 3:32 pm    Post subject: REXX which can provide a listing of a COBOl Program.
Reply with quote

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
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Aug 19, 2009 3:35 pm    Post subject:
Reply with quote

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
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Aug 19, 2009 3:49 pm    Post subject: Reply to: REXX which can provide a listing of a COBOl Progra
Reply with quote

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
View user's profile Send private message
Vishal Jain

New User


Joined: 19 Aug 2009
Posts: 7
Location: Pune

PostPosted: Wed Aug 19, 2009 4:50 pm    Post subject:
Reply with quote

I also did a search on this.
But not able to get any matching result which can answer my query.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Aug 19, 2009 4:54 pm    Post subject:
Reply with quote

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
View user's profile Send private message
prino

Active Member


Joined: 07 Feb 2009
Posts: 985
Location: Oostende, Belgium

PostPosted: Wed Aug 19, 2009 6:00 pm    Post subject: Re: REXX which can provide a listing of a COBOl Program.
Reply with quote

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
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 990
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Wed Aug 19, 2009 6:03 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Vishal Jain

New User


Joined: 19 Aug 2009
Posts: 7
Location: Pune

PostPosted: Thu Aug 20, 2009 11:14 am    Post subject:
Reply with quote

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
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 990
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Aug 20, 2009 12:29 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Vishal Jain

New User


Joined: 19 Aug 2009
Posts: 7
Location: Pune

PostPosted: Thu Aug 20, 2009 12:43 pm    Post subject:
Reply with quote

ok. Thanks Garry.. Let me first try ISRLEMX.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Aug 20, 2009 2:26 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Vishal Jain

New User


Joined: 19 Aug 2009
Posts: 7
Location: Pune

PostPosted: Thu Aug 20, 2009 2:28 pm    Post subject:
Reply with quote

no we don't have workbench available.
Back to top
View user's profile Send private message
prino

Active Member


Joined: 07 Feb 2009
Posts: 985
Location: Oostende, Belgium

PostPosted: Thu Aug 20, 2009 2:40 pm    Post subject:
Reply with quote

Holy sith, why go through all this effing trouble? icon_evil.gif

Just take a copy of the ChangeMan JCL, cut out everything that updates ChangeMan libs and use that... icon_idea.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Aug 20, 2009 2:56 pm    Post subject:
Reply with quote

prino wrote:
Just take a copy of the ChangeMan JCL, cut out everything that updates ChangeMan libs and use that... icon_idea.gif
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
View user's profile Send private message
prino

Active Member


Joined: 07 Feb 2009
Posts: 985
Location: Oostende, Belgium

PostPosted: Thu Aug 20, 2009 3:34 pm    Post subject:
Reply with quote

Anuj Dhawan wrote:
prino wrote:
Just take a copy of the ChangeMan JCL, cut out everything that updates ChangeMan libs and use that... icon_idea.gif
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
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Aug 20, 2009 5:25 pm    Post subject:
Reply with quote

icon_redface.gif my mistake, percepted your response other way round.

Thanks,
Anuj
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Aug 20, 2009 8:44 pm    Post subject:
Reply with quote

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
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Aug 20, 2009 8:53 pm    Post subject:
Reply with quote

well changeman could be down due to corrupted data via usage of REXX scripts outside of the changeman/endevor environement.
Back to top
View user's profile Send private message
Vishal Jain

New User


Joined: 19 Aug 2009
Posts: 7
Location: Pune

PostPosted: Fri Aug 21, 2009 9:16 am    Post subject:
Reply with quote

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
View user's profile Send private message
Vishal Jain

New User


Joined: 19 Aug 2009
Posts: 7
Location: Pune

PostPosted: Fri Aug 21, 2009 9:19 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. RANDOM Function in COBOL swapnil781 COBOL Programming 2 Tue Nov 15, 2016 6:17 pm
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm


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