IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Listing cobol load module details


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Tue Sep 06, 2011 10:45 am
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Sep 06, 2011 11:56 am
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
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
Reply with quote

here is a link to amblist examples:
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Tue Sep 06, 2011 1:16 pm
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Sep 06, 2011 2:11 pm
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
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Sep 07, 2011 4:16 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Sep 07, 2011 5:14 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Load new table with Old unload - DB2 DB2 6
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts How to load to DB2 with column level ... DB2 6
Search our Forums:

Back to Top