View previous topic :: View next topic
|
Author |
Message |
rahul1586
New User
Joined: 04 Nov 2008 Posts: 28 Location: Mumbai
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
rahul1586
New User
Joined: 04 Nov 2008 Posts: 28 Location: Mumbai
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
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 |
|
|
rahul1586
New User
Joined: 04 Nov 2008 Posts: 28 Location: Mumbai
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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
it' almost time to lock and delete such a useless topic
sorting by TTR has no value... anyway |
|
Back to top |
|
|
rahul1586
New User
Joined: 04 Nov 2008 Posts: 28 Location: Mumbai
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
|