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

Show expiry date for tape dataset


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

Active User


Joined: 29 Oct 2010
Posts: 202
Location: Toronto, ON, Canada

PostPosted: Tue Feb 28, 2012 7:37 pm
Reply with quote

Is there an online ISPF utility and/or batch utility that will list the expiry date of a tape dataset? The LISTCAT command doesn't do this. If someone can give me the name of the utility and the manual then I can research it. Thanks.
Back to top
View user's profile Send private message
bipinpeter

Active User


Joined: 18 Jun 2007
Posts: 213
Location: Cochin/Kerala/India

PostPosted: Tue Feb 28, 2012 7:41 pm
Reply with quote

Is TMS(Tape Management System) utility is avialable on your company?.This utility will help you to find the exp dt
Back to top
View user's profile Send private message
bodatrinadh

Active User


Joined: 05 Jan 2007
Posts: 101
Location: chennai (India)

PostPosted: Tue Feb 28, 2012 8:42 pm
Reply with quote

Or you can give "TI" command before Tape dataset in 3.4 option.


Code:

DSLIST - Data Sets Matching NEW.UACC.RM52051.CLI850.M*              Row 1 of 3
Command ===>                                                  Scroll ===> CSR
                                                                             
Command - Enter "/" to select action                  Message           Volume
------------------------------------------------------------------------------
ti       NEW.UACC.RM52051.CLI850.M01                                    M94536
         NEW.UACC.RM52051.CLI850.M11                                    O26887
         NEW.UACC.RM52051.CLI850.M12                                    M04659


Code:

-----------------------------   CA 1 TAPE INQUIRY  ---------------------
                                                                       
Data Set Name . . . : NEW.UACC.RM52051.CLI850.M01                       
                                                                       
General Data                         Creation Information               
 Volume Serial. . . : M94536          Date . . . . . . : 2012/053       
 Alternate Volume . :                 Time . . . . . . : 19:08:00       
 Media type   . . . : 3490-36X2       Jobname  . . . . : NEWRM52       
 Record Format. . . : VB              Program  . . . . : NEWG052       
 Record Length. . . : 20503          Last Used Information             
 Block Size   . . . : 32760           Date . . . . . . : 2012/054       
 Number of blocks . : 140068          Time . . . . . . : 08:34:00       
 Percent utilized . : 0               Jobname  . . . . : A310751B       
 Batch ID/Hook ID . : CLOSE IO       Expiration Information             
 Status   . . . . . : ACTIVE          Expire Date. . . : 2012/143       
                                                                       
File  / Volume Set                   Vault Management Information       
 Base Volume. . . . : M94536          Outcode. . . . . :               
 Sequence Number. . : 1               Slot   . . . . . : 0000000       
 Total Files in Set : 1               Outdate. . . . . :               
Secondary volumes:                                                     


or try giving "TMSRPT" before tape dataset in 3.4 option

Code:


   Menu  Options  View  Utilities  Compilers  Help                             
 ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
 DSLIST - Data Sets Matching NEW.UACC.RM52051.CLI850.M*              Row 1 of 3
 Command ===>                                                  Scroll ===> CSR 
                                                                               
 Command - Enter "/" to select action                  Message           Volume
 -------------------------------------------------------------------------------
 tmsrpt   NEW.UACC.RM52051.CLI850.M01                                    M94536
          NEW.UACC.RM52051.CLI850.M11                                    O26887
          NEW.UACC.RM52051.CLI850.M12                                    M04659
 ***************************** End of Data Set list ****************************



Code:

 Menu  Options  View  Utilities  Compilers  Help                             
  ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss
  DSLIST - Data Sets Matching NEW.UACC.RM52051.CLI850.M*              Row 1 of 3
  Command ===>                                                  Scroll ===> CSR 
                                                                                 
  Command - EssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssN e
  --------- e -------------------- Tape (M94536) Report  ------------------- e --
  tmsrpt    e COMMAND ===>                                                   e 6
            e                                                                e 7
            e DATASET = NEW.UACC.RM52051.CLI850.M01                          e 9
  ********* e                                                                e **
            e CREATED by NEWRM52  on FEBRUARY 22, 2012   CYCLE=              e   
            e                                                                e   
            e  EXPIRES IN 84 DAYS on MAY 22, 2012                            e   
            e                                                                e   
            e RECFM = VB       LRECL = 020503   BLKSIZE = 032760             e   
            e                                                                e   
            e TAPES   = 1          BLOCKS= 140,068                           e   
            e                                                                e   
            e RECORDS = 140,068                                              e   
            e                                                                e   
            e  F1=HELP     F2=SPLIT    F3=END      F4=RETURN   F5=RFIND      e   
  F1=Help  e  F6=RCHANGE  F7=UP       F8=DOWN     F9=SWAP    F10=LEFT       e   




Thanks
-3nadh
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Feb 28, 2012 8:45 pm
Reply with quote

what if the TS has a different tape management system ?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Feb 28, 2012 8:55 pm
Reply with quote

bodatrinadh, in general we avoid recommending particular functions unless they are available everywhere. When I take your advice for the TI in ISPF 3.4, I get:
Code:
 TI       DCS.PROD.ADDS.BANK.BACKUP.G2072V00                             110077
 IKJ56500I COMMAND TI NOT FOUND
 ***
and similarly for TMSRPT:
Code:
 tmsrpt   DCS.PROD.ADDS.BANK.BACKUP.G2072V00                             110077
 IKJ56500I COMMAND TMSRPT NOT FOUND
 ***


In other words, what you have recommended works at YOUR site -- and possibly nowhere else in the world. Unless you know for a fact that jerryte works at your site (and if you do, why use this forum to communicate?), your advice is most likely wrong and hence worse then useless since it can send jerryte on a fruitless inquiry to find out why they don't work.
Back to top
View user's profile Send private message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 202
Location: Toronto, ON, Canada

PostPosted: Tue Feb 28, 2012 9:59 pm
Reply with quote

I don't have Tape Management system at my company. The TI command appears to be part of a vendor tool which I also don't have. If there is an IBM utility that can provide this info then it would be appreciated.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Tue Feb 28, 2012 10:08 pm
Reply with quote

I don't know if RMMISPF would be use (some moron misinstalled it so I can't run it), but it might be worth trying.
Back to top
View user's profile Send private message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 202
Location: Toronto, ON, Canada

PostPosted: Tue Feb 28, 2012 10:50 pm
Reply with quote

Thanks for the suggestion. I don't have RACF access to the datasets required to use this tool. I am not sure if this is intentional or just an oversite. I can use other ISMF functions.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue Feb 28, 2012 11:19 pm
Reply with quote

Click HERE for a topic using IGGCSI00.

In the topic there is another red click here which takes you to the manual.

Click HERE for an example of the code that gets the creation date of a file. I think that the expiration date field can be interchanged with the creation date field without problems.

I think that a quick ISPF edit is all that is required.
Code:
 C 'DSCRDT2' 'DSEXDT2' ALL
Back to top
View user's profile Send private message
satish kompella

New User


Joined: 22 Feb 2012
Posts: 4
Location: india

PostPosted: Wed Feb 29, 2012 12:33 pm
Reply with quote

can you try 'listcat ent(/) all', it seems to work here at my site
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 Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
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 Need to convert date format DFSORT/ICETOOL 20
Search our Forums:

Back to Top