MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Need to know the creation date of a tape dataset

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
muralikrishnan
Beginner


Joined: 08 Feb 2006
Posts: 19
Topics: 11

PostPosted: Mon Jun 05, 2006 6:24 am    Post subject: Need to know the creation date of a tape dataset Reply with quote

Hi All,

I have a tape dataset. I want to view the creation date, owner plus all the details about that dataset.

I don't have any tools to get the details.

Is it possible to get the information through JCL? If yes, please provide me the JCL.

Thanks in advance.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12399
Topics: 75
Location: San Jose

PostPosted: Mon Jun 05, 2006 6:49 am    Post subject: Reply with quote

muralikrishnan,

Try this job
Code:

//STEP0100 EXEC PGM=IDCAMS                             
//SYSPRINT DD SYSOUT=*                                 
//SYSIN    DD *                                       
   LISTCAT ENT('your tape dataset name') ALL 
/*                                                     


Hope this helps..

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
muralikrishnan
Beginner


Joined: 08 Feb 2006
Posts: 19
Topics: 11

PostPosted: Mon Jun 05, 2006 10:10 am    Post subject: Reply with quote

Thanks Kolusu...

It works...
Back to top
View user's profile Send private message
THRIVIKRAM
Beginner


Joined: 03 Oct 2005
Posts: 70
Topics: 34

PostPosted: Wed Jul 12, 2006 12:57 am    Post subject: Reply with quote

Quote:

I want to view the creation date, owner plus all the details about that dataset


Hi Kolusu,

By submitting the given JCL, we are not seeing the Owner name. Its displaying DATASET-OWNER-----(NULL)

Whereas using the DFRMM tool we can see the Owner name.(My concern is either it must not display OWNER name or it should display correctly.)

Could you please help.

Thanks,
Thrivikram.
Back to top
View user's profile Send private message Send e-mail
nevilh
Beginner


Joined: 11 Aug 2004
Posts: 115
Topics: 0

PostPosted: Wed Jul 12, 2006 2:29 am    Post subject: Reply with quote

Hi; You cannot compare the output from 2 software products and expect to get identical results. Both are correct. If when you catalog a dataset you do not specify owner information (and normally you don't) then you cannot expect to see this information when you issue a listc command. If you wish to see this information for a tape dataset run a RMM batch job.
Back to top
View user's profile Send private message
shekar123
Advanced


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Wed Jul 12, 2006 4:35 am    Post subject: Reply with quote

nevilh,

Can you share some information on what exactly is a RMM Batch Job ?
_________________
Shekar
Grow Technically
Back to top
View user's profile Send private message
nevilh
Beginner


Joined: 11 Aug 2004
Posts: 115
Topics: 0

PostPosted: Wed Jul 12, 2006 6:22 am    Post subject: Reply with quote

For example
Code:

//LOGSYS  EXEC  PGM=IKJEFT01,DYNAMNBR=30,TIME=1440     
//*                                                   
//* FOR SYSTEM PROGRAMMING GROUP                       
//*                                                   
//SYSTSPRT DD   SYSOUT=*,DCB=(RECFM=FB,LRECL=444)     
//SYSPRINT DD   SYSOUT=*,DCB=(RECFM=FB,LRECL=444)     
//SYSPROC  DD   DISP=SHR,DSN=XTRNEHN.STD.CNTL         
//SYSTSIN DD   *                                       
  RMM LISTVOLUME XXXXXX ALL
Back to top
View user's profile Send private message
THRIVIKRAM
Beginner


Joined: 03 Oct 2005
Posts: 70
Topics: 34

PostPosted: Wed Jul 12, 2006 9:26 pm    Post subject: Reply with quote

Nevilh,

Thanks for the response.But what is XTRNEHN.STD.CNTL? When I tried running the above job, Iam getting JCL error:
<MY> LOGSYS SYSPROC - DATA SET NOT FOUND

How can I overcome this?

Thnaks,
Thrivikram.
Back to top
View user's profile Send private message Send e-mail
shekar123
Advanced


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Wed Jul 12, 2006 11:28 pm    Post subject: Reply with quote

THRIVIKRAM,

Why don't u try to find the datasets available in you shop .Try for
Code:
*.STD.CNTL
and if you have access to the dataset you will be displayed the exact dataset name and you can include in your JCL.Hope this helps.
_________________
Shekar
Grow Technically
Back to top
View user's profile Send private message
nevilh
Beginner


Joined: 11 Aug 2004
Posts: 115
Topics: 0

PostPosted: Thu Jul 13, 2006 12:37 am    Post subject: Reply with quote

delete the dd card ..... it is not required
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group