Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Given DSN belongs to which Team..?
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
satya12

New User


Joined: 25 Apr 2006
Posts: 21
Location: India

PostPosted: Wed Apr 09, 2008 11:17 am    Post subject: Reply to: Given DSN belongs to which Team..?
Reply with quote

Hi Anuj

I am working on mainframe apps decommission project.I came accross same situation at the beginning of the project.We have so many old apps sitting on mainframe no idea who is using them.I created a spread sheet with all of the high level qualifiers and sent it to RACF security adminstrator.These guys logs team name and apps steward information whenver they create a Profile.So i got the contact list for each qualifier and dealt with the apps from there.

Hope this helps you.

Thanks
Satya
Back to top
View user's profile Send private message
References
PostPosted: Wed Apr 09, 2008 11:17 am    Post subject: Re: Reply to: Given DSN belongs to which Team..? Reply with quote

Anuj D.

Senior Member


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

PostPosted: Wed Apr 09, 2008 11:44 am    Post subject:
Reply with quote

Hi,

I don't have an easy access to these RACF guys, they can be contacted via proper (actually tedious) channel only. However, Thanks for sharing your experience, I'll try it, lets' see what's in store for me..
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 2288
Location: italy

PostPosted: Wed Apr 09, 2008 12:46 pm    Post subject: Reply to: Given DSN belongs to which Team..?
Reply with quote

there are two maybe three issues discussed on in this thread....

which datasets belong to which teams and the relative security privileges
... ask the security support, they must know

SMF processing...
its a responsibility of the storage support for the sms records related to storage...
a very good tool to analyze smf record os the free:
DAF dataset Audit Facility, by Mke Cleary
File # 094 DAF from Mike Cleary - Dataset Audit Facility NEW
http://www.cbttape.org/ftp/cbt/CBT094.zip
but better search for the latest release

DCOLLECT processing
same as above for responsibilities
a reasonable good tool ( must be reviewed, but a very good starting point )
File # 206 DCOLLECT REXX execs from Linnea Nichols
http://www.cbttape.org/ftp/cbt/CBT206.zip

Remember, with the proper JCL DCOLLECT will collect also the relevant information
from the MCDS to give a proper picture of the datasets/volumes involved

these and lots of other useful stuff at
http://www.cbttape.org
Back to top
View user's profile Send private message
sameer

New User


Joined: 10 Mar 2005
Posts: 33
Location: United States Of America

PostPosted: Fri Apr 11, 2008 2:30 am    Post subject:
Reply with quote

Hello Douglas Wilder

Can you please elaborate how to use LMDLIST LISTID ? I basically want to display all datasets start with "MSA"

MSA* is not working when i tried to code LMDLIST in REXX program.

can't this be done using IDCAMS itself ?
Back to top
View user's profile Send private message
sameer

New User


Joined: 10 Mar 2005
Posts: 33
Location: United States Of America

PostPosted: Fri Apr 11, 2008 4:58 am    Post subject:
Reply with quote

Douglas Wilder,

Can you please help me how to use LMDLIST LISTID

Any sample code can help me better.

Thanks
Back to top
View user's profile Send private message
Anuj D.

Senior Member


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

PostPosted: Fri Apr 11, 2008 7:14 am    Post subject:
Reply with quote

Sameer,

Check this link
http://www.ibmmainframes.com/viewtopic.php?t=29466&highlight=lmdlist
might help.


Well, my thread is going in different direction...ah

Bill,

Yeah, instead of 'ALL' in LISTCAT 'NAME' gives me enough neat list, but I'm done with the list using IKJEFT1A. Main concern is
Quote:
to find which DSN belongs to which team here at my shop?


And what I thought, it happend the same way, I was suggested to do the following
Quote:
create an excel of DSNs starting with that HLQ & send across the team to check which DSN belongs to which Team, then wait for their mail.
and my sentence
Quote:
Ah..it's a donkey's work.

still stands..with grammer/spell correction.. icon_smile.gif, phew all of them are being lazy in updating the sheet even after one week.

does any one has some further suggestion ..?
Back to top
View user's profile Send private message
Anuj D.

Senior Member


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

PostPosted: Fri May 02, 2008 4:40 am    Post subject:
Reply with quote

Hi,

While working on above requirment LISTCAT gives me some datasets which are not on volume but are in system-catalog..

I mean, LISTCAT shows me these data sets when i execute an IDCAMS JOB but when I try to open them using ISPF 3.4, message is "No data set names found", what should I conclude ?

I think, one would say "DSNs are deleted but their catalog entry is not deleted", ritght? If yes, I would like to ass, why would one do this ?
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 6717
Location: 221 B Baker St

PostPosted: Fri May 02, 2008 6:05 am    Post subject:
Reply with quote

Hi Anuj,

Quote:
I think, one would say "DSNs are deleted but their catalog entry is not deleted", ritght? If yes, I would like to ask, why would one do this ?
Usually, one does this out of ignorance - they do not know how create proper jcl. Sometimes people try to get too "cute" and create problems by implementing some "trick" they have learned.

Left to themselves, many a system gets out-of-sync. In the pre-sms days, many centers regularly ran jobs to identify catalog entries with no dataset and datasets with no catalog entry. These were then cleaned up. One of the old horror stories is the critical job that cannot allocate a particular output dataset. Seems like a file of that dsn was on every dasd volume . . .
Back to top
View user's profile Send private message
Anuj D.

Senior Member


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

PostPosted: Fri May 02, 2008 7:20 am    Post subject:
Reply with quote

Hi Dick,

Thanks for Your time... icon_smile.gif

Well, this is little new for me
Quote:
Seems like a file of that dsn was on every dasd volume . .

it's little tricky actually for me to understand, as mine is SMS-shop, this should haapen only on non-SMS site, perhaps I misunderstood something here, please assist.
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 6717
Location: 221 B Baker St

PostPosted: Fri May 02, 2008 8:00 am    Post subject:
Reply with quote

Hi Anuj,

Quote:
this should haapen only on non-SMS site
As i mentioned, this was in the pre-sms days.

It was quite common for badly written jcl to cause problems. Among the most common was propagating the same dataset across many dasd volumes.
Back to top
View user's profile Send private message
Anuj D.

Senior Member


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

PostPosted: Fri May 02, 2008 8:30 am    Post subject:
Reply with quote

Hi Dick,

Agreed, but now how to deal with it now. If they exist with out catalog entry they (might) exist at multiple volumes & they exist physically & "eating" my DASD, I need to "kill" them, but how ?

Please assist.
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 6717
Location: 221 B Baker St

PostPosted: Fri May 02, 2008 8:42 am    Post subject:
Reply with quote

Hi Anuj,

One way is to create a "list" if all cataloged datasets and the volume where they are cataloged. Then create another "list" gathered from the dasd volumes you are interested - this list would also have dsn and volume. Compare the lists to identify the "orphans".

If there are thousands of dasd volumes and millions of datasets, you may need to break the process into pieces.

Given that most/all of your dasd is sms-managed, the problem should not be large.
Back to top
View user's profile Send private message
Anuj D.

Senior Member


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

PostPosted: Sat May 03, 2008 4:18 am    Post subject:
Reply with quote

Hi Dick,

I do have a list for cataloged DSNs, how to get the DSNs residing on a given volume, is it IDCAMS?
Back to top
View user's profile Send private message
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 6717
Location: 221 B Baker St

PostPosted: Sat May 03, 2008 6:30 am    Post subject:
Reply with quote

Hi Anuj,

You can use IEHLIST/LISTVTOC.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 2438
Location: Brussels once more ...

PostPosted: Sat May 03, 2008 12:14 pm    Post subject:
Reply with quote

Anuj D. wrote:
Hi Dick,

I do have a list for cataloged DSNs, how to get the DSNs residing on a given volume, is it IDCAMS?

Take a look at IGGCSIRX im SYS1.SAMPLIB - much much easier to use the output from this than from IDCAMS. May need some small changes to get exactly what you want, but it is also much better if you want to use wild cards too.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 HoursGoto page Previous  1, 2, 3  Next
Page 2 of 3