Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Getting information of dataset on TAPE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
omprakshsharma

New User


Joined: 14 Apr 2005
Posts: 7
Location: Bhubaneswar

PostPosted: Mon Apr 18, 2005 10:59 pm    Post subject: Getting information of dataset on TAPE
Reply with quote

Dear All,

Can you please help me to find the creation time of a dataset on tape using Listcat. Creation date i can find from it.

Actually i am looking for one utility program in which i want to input the name of one GDG base and a date (Old Date). this program should check all the available generation and write the generation which is created on the specified date and if there are more than one generation created on that day than it should write name of all the generation created on that day with time.

Please suggest me the easy way. I can write COBOL program and write JCLs.

Thanks in advance,
Om
Back to top
View user's profile Send private message

bonniem

New User


Joined: 09 Aug 2005
Posts: 67

PostPosted: Mon Feb 27, 2006 1:37 pm    Post subject:
Reply with quote

I need to know the DCB attribtues of a tape dataset. I tried looking for this in the forums, but could not get a defenite answer. How can i get this info?
Back to top
View user's profile Send private message
i413678
Currently Banned

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Wed Mar 01, 2006 7:14 pm    Post subject:
Reply with quote

HI all,

use TMS command to get all the information of the TAPE datasets.......

you have to give this TMS command before the dataset which you want to see the information about the dataset.



pavan
Back to top
View user's profile Send private message
Mohan Makana

New User


Joined: 07 Feb 2006
Posts: 18

PostPosted: Fri Mar 03, 2006 11:14 am    Post subject: Related to this query ,How to get the dataset detls frm DASD
Reply with quote

Hi Can any one please let me know, how to get the DCB details(i.e. LRECL, RECFM etc.) of the input dataset in JCL.
Back to top
View user's profile Send private message
i413678
Currently Banned

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Fri Mar 03, 2006 12:35 pm    Post subject:
Reply with quote

Hi Mohan,

you can use S or I line command to get the information before the dataset which you want to find in 3.4 panel if it s DASD dataset.......


pavan
Back to top
View user's profile Send private message
Mohan Makana

New User


Joined: 07 Feb 2006
Posts: 18

PostPosted: Fri Mar 03, 2006 1:35 pm    Post subject:
Reply with quote

Thanks for ur response....but my requirement is "IN JCL", how can I find the RECF of the input file and basing on that , I have to do some process...like if RECFM is VB then only change the format to FB otherwise leave it as it is.

I have to find out in the JCL step itself that what is the RECFM of the input file.
Back to top
View user's profile Send private message
Murali krishna

New User


Joined: 17 Feb 2006
Posts: 9
Location: chennai

PostPosted: Fri Mar 31, 2006 1:52 pm    Post subject: Re: Getting information of dataset on TAPE
Reply with quote

The only possible way to find DCB parameters for a Tape dataset is copying the tape dataset into one sample PS by giving the DCB parametes for the PS as DCB=(*.STEP NAME OF TAPE DATASET) in an IEBGENER step.... it will definitely works..
make sure you are specifying the DISP=OLD for tape dataset.
please correct me if i am wrong.


Thanks,
Murali.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Fri Mar 31, 2006 6:13 pm    Post subject:
Reply with quote

hy there,

the only way to get these values,
query rmm (removable media manager),
the component for managing your tapes.
there you can get the required values....

martin9
Back to top
View user's profile Send private message
rgarg

New User


Joined: 15 Feb 2006
Posts: 18

PostPosted: Fri Mar 31, 2006 11:52 pm    Post subject:
Reply with quote

Hi there,

Use TI command in front of the tape dataset you want the information about. I hope this will help
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Sat Apr 01, 2006 6:06 pm    Post subject:
Reply with quote

hy together,

i don't know these commands as standard ispf commands...
it could be also any user written rexx or clist, which is doing
this at your shop as a background script...

note: RMM (removable media manager) is a main component
of SMS, which is containig SMS,HSM and RMM... see also STC DF*

martin9
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Browse dataset cvnlynn CLIST & REXX 4 Tue Jul 18, 2017 3:52 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts Length of Tape file Mohan Kothakota JCL & VSAM 9 Thu Apr 20, 2017 10:24 pm
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us