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

How to find the list of all unused files in Mainframes


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
akshaiya

New User


Joined: 17 Sep 2005
Posts: 49

PostPosted: Mon Jul 17, 2006 12:05 pm
Reply with quote

How to find the list of all unused files in Mainframes.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Jul 17, 2006 1:26 pm
Reply with quote

Here is a general answer to general question: You can't.

O.
Back to top
View user's profile Send private message
Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Wed Jul 19, 2006 12:40 pm
Reply with quote

Akshiya,
Write a REXX to get first to get all the members of PDS then using the LM services LMDLIST with the status (Yes) get the info of ZDLMIGR variable.This variable have the info whether the file is Migrated or not.

In this way I think you can get the unused file list.

Iam assuming that unused files are migrated .

-Han.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts SH256/MD5 Checksum in Mainframes JCL JCL & VSAM 14
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
Search our Forums:

Back to Top