View previous topic :: View next topic
|
Author |
Message |
umeshkmrsh
New User
Joined: 21 Sep 2005 Posts: 79 Location: India
|
|
|
|
Hi,
In a JCL step can we determine how many GDG generations are currently present? |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
The IDCAMS command LISTCAT.
Read the report, or send it to a file and process it by any program you wish to find the last line with the currently existing datasets.
The LIMIT is also included in the report, which is useful for generation management - e.g., notifying you when the LIMIT is about to be or has been exceeded, hence bumping the oldest generation. |
|
Back to top |
|
|
umeshkmrsh
New User
Joined: 21 Sep 2005 Posts: 79 Location: India
|
|
|
|
Thanks for your reply. |
|
Back to top |
|
|
|