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 

Tape File Characteristics

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
Bharath.AK
Beginner


Joined: 13 Jul 2007
Posts: 34
Topics: 10
Location: Los Angeles

PostPosted: Tue Jul 17, 2007 6:08 am    Post subject: Tape File Characteristics Reply with quote

Just a simple tip, you might already be knowing the same!

To get the Characteristics of a Tape File like (LRECL, COUNT, Record Format, Block Size..) without actually copying the contents of it to a flat file, either we can use TMS.1 (Tape management System - which I guess everyone knows about) or we can run a simple JCL using SYNCTOOL.

Code:
//*                                                                 
//STEP010  EXEC PGM=SYNCTOOL                                       
//TOOLMSG  DD  SYSOUT=*                                             
//DFSMSG   DD  SYSOUT=*                                             
//DD01     DD  DSN=Tape_File_Name,   
//             DISP=SHR                                             
//TOOLIN   DD  *                                                   
   COUNT FROM(DD01)                                                 
/*                                                                 
//*


You can find the required details in spool at:

Quote:
TOOLMSG
DFSMSG

_________________
Regards,
BK

***** " If You Have To Do It, You Might As Well Do It Right.....If It Is Worth Doing At All, It's Worth Doing It Right !!! " *****
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Tue Jul 17, 2007 6:44 am    Post subject: Reply with quote

In the event you don't have SYNCSORT,
you can use MVS/DITTO, ( MVS/ Data Interfile Transfer, Testing, and Operations Utility)
Document Number SH19-8163-00 and use the TMP function to provide a tape map.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Bharath.AK
Beginner


Joined: 13 Jul 2007
Posts: 34
Topics: 10
Location: Los Angeles

PostPosted: Tue Jul 17, 2007 6:47 am    Post subject: Reply with quote

Thants a cool one, dbzTHEdinosauer!

Thanks much Smile
_________________
Regards,
BK

***** " If You Have To Do It, You Might As Well Do It Right.....If It Is Worth Doing At All, It's Worth Doing It Right !!! " *****
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 -> Job Control Language(JCL) 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