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
 

 

Listing cobol load module details

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
rahul1586

New User


Joined: 04 Nov 2008
Posts: 28
Location: Mumbai

PostPosted: Tue Sep 06, 2011 10:06 am    Post subject: Listing cobol load module details
Reply with quote

Hi

We have zOS v1r9 installed in our system.Cobol was installed as part of serverpac.
We want to know when Cobol product was last used in our system, since as per my knowledge we haven't used cobol at all.
Is there any way to find this, for eg load module details with timestamp, etc

Thanks in advance
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: Tue Sep 06, 2011 10:45 am    Post subject:
Reply with quote

Hello,

Suggest you look into using AMBLIST.

There are several topics about this in the forum (which can be found by using the forum SEARCH).

Quote:
since as per my knowledge we haven't used cobol at all.
It is somewhat rare that an entire system has no cobol. . .
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7232

PostPosted: Tue Sep 06, 2011 11:56 am    Post subject: Reply to: Listing cobol load module details
Reply with quote

Are you trying to discover whether anyone has used the compiler? Or whether any of the modules in any load-libraries that you can find are Cobol?
Back to top
View user's profile Send private message
rahul1586

New User


Joined: 04 Nov 2008
Posts: 28
Location: Mumbai

PostPosted: Tue Sep 06, 2011 12:36 pm    Post subject: Reply to: Listing cobol load module details
Reply with quote

Hello all,

I am trying to use AMBLIST pgm by customising it as per my system.
The thing is we do not use COBOL in our system but recently during the audit of our system it came out that cobol has been installed, so now the management wants to know when was COBOL last used in our system.

So I am trying the different options in the AMBLIST pgm.
I tried the following code
Code:
 
//LISTSTEP      EXEC   PGM=AMBLIST,REGION=0M                 
//SYSLIB     DD          DSN=SYS1.LINKLIB,DISP=SHR           
//SYSPRINT      DD     SYSOUT=*                             
//LOADLIB       DD     DSN=loadlib,DISP=SHR   
//SYSIN         DD     *                                     
   LISTLOAD OUTPUT=MODLIST,DDN=LOADLIB,                     
              MEMBER=CEFCPPB,                               
              TITLE=('LOAD MODULE LISTING OF CEFCPPB',20)   


Now I just need to find the timestamp.
But the output of this job doesnt have any time stamp.

Do I need to specify any other options in SYSIN?

Thanks
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Tue Sep 06, 2011 12:42 pm    Post subject:
Reply with quote

here is a link to amblist examples:
http://publib.boulder.ibm.com/infocenter/zos/v1r12/index.jsp?topic=%2Fcom.ibm.zos.r12.ieab100%2Famblst.htm
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7232

PostPosted: Tue Sep 06, 2011 1:16 pm    Post subject: Re: Reply to: Listing cobol load module details
Reply with quote

Bill Woodger wrote:
Are you trying to discover whether anyone has used the compiler? Or whether any of the modules in any load-libraries that you can find are Cobol?


So, there is no "timestamp" in the load-library for "last used" as far as I'm aware. You could try the "when was this dataset last used" topics...
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Sep 06, 2011 2:11 pm    Post subject:
Reply with quote

Use the link from dbzTHEdinosauer for the Product Codes and the LISTIDR control statement to find your information.
Eventually SMF can be used to find the date(s) a COBOL compiler was used, you have to to know of course the compiler name(s).
Back to top
View user's profile Send private message
rahul1586

New User


Joined: 04 Nov 2008
Posts: 28
Location: Mumbai

PostPosted: Wed Sep 07, 2011 10:43 am    Post subject: Reply to: Listing cobol load module details
Reply with quote

Hello all,

Here's what I did..
I used the LISTIDR option in AMBLIST pgm.
but in that I had to provide the member name and there were 1500 members in my load library!
So as per one of the other threads I sorted the members in 3.1 option for the TTR values and selected the member having the highest TTR value.

Using this member in the job I got the last bind date of that member.

Thanks a lot to everyone.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Wed Sep 07, 2011 12:19 pm    Post subject:
Reply with quote

have you ever compressed the loadlibrary?

having gone into the 3.1 member list, you could have done a
SAVE xxx
then edited the userid.xxx.mbrlist
creating 'member control cards for amblist.
the above process would take about 3 minutes.

run the amblist job,
and parsed the output.

i think you have placed too much value on the TTR.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7232

PostPosted: Wed Sep 07, 2011 4:16 pm    Post subject: Reply to: Listing cobol load module details
Reply with quote

I still think you'd be better off finding out if the compiler had been used. If not, end of story, if so you'd could even get information about who had done it and could find out what other files were used at the same time (ie source programs (if not DD *), object).
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Sep 07, 2011 5:14 pm    Post subject: Reply to: Listing cobol load module details
Reply with quote

what kind of <derogatory adjective> organization is Yours where <they> do not know what products are being used?

the utilization of a compiler is not something that would go unobserved icon_cool.gif

it' almost time to lock and delete such a useless topic

sorting by TTR has no value... anyway
Back to top
View user's profile Send private message
rahul1586

New User


Joined: 04 Nov 2008
Posts: 28
Location: Mumbai

PostPosted: Thu Sep 08, 2011 11:08 am    Post subject: Reply to: Listing cobol load module details
Reply with quote

Hello,

Ours was a serverpac installation and COBOL was installed as a part zOS installation.
But the current application was rewritten in JAVA to run on webpehere application server.
So i just wanted to know if the old COBOL load modules were rebound using the new installation.

Thanks a lot.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Thu Sep 08, 2011 11:23 am    Post subject:
Reply with quote

there is a good chance the cobol is executable even without 'rebinding'

if you want to know if something was executed,
i imagine you would have to go thru the smf
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 -> COBOL Programming 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. 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
No new posts COBOL Version 6.1 Virendra Shambharkar COBOL Programming 5 Tue Nov 01, 2016 11:24 am
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts Can sending 5 MB data between cobol p... Kevin Vaz CICS 12 Tue Oct 18, 2016 4:50 pm


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