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

Getting information of dataset on TAPE


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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
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
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top