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

How to find out the creation date of a Tape file ?


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

New User


Joined: 10 Jun 2005
Posts: 11
Location: Jacksonville

PostPosted: Thu May 17, 2007 4:32 pm
Reply with quote

I have a tape file in a GDG. I want to know the creation date of these GDG versions. I used to use TMS of CA. But its not working in my installation now. Can anyone please give me some JCL to find out this date?

Thanks
Vel.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8798
Location: Welsh Wales

PostPosted: Thu May 17, 2007 4:41 pm
Reply with quote

What tape management product do you use now ?

You can print off the tape label and that should contain the date information.

Use IEBGENER
Code:

//SYSUT1   DD DSN=whatever,UNIT=xxxx, VOL=SER=volser,
//            RECFM=FB,LRECL=80
//SYSUT2   DD SYSOUT=*,RECFM=FB,LRECL=80,BLKSIZE=80
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Thu May 17, 2007 8:03 pm
Reply with quote

Hello,

I'd suggest adding LABEL=(1,BLP) so the label will be printed, not the first data file. Keep in mind that not all sites permit bypass label processing.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8798
Location: Welsh Wales

PostPosted: Thu May 17, 2007 8:05 pm
Reply with quote

icon_redface.gif

Errrrrrrrrr, good spot Dick, I forgot the LABEL parameter.

Now where did I put those birch twigs ?????????
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Tue May 22, 2007 5:55 pm
Reply with quote

You also could use DITTO Utility to print the Label.

Regards, UmeySan
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts To Populate Trailer cnt in the file w... SYNCSORT 1
Search our Forums:


Back to Top