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

How to get the record count and length for GDG tape files..?


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

New User


Joined: 08 Sep 2008
Posts: 43
Location: india

PostPosted: Thu Feb 18, 2010 3:33 pm
Reply with quote

Can anyone tell me, how to get the record count and record length for GDG tape files.
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Feb 18, 2010 3:36 pm
Reply with quote

1) If you know the dataset name, look at the JCL that creates the file
2) Talk nicely to your storage people to see if they can run a TMS report
Back to top
View user's profile Send private message
Ajay Baghel

Active User


Joined: 25 Apr 2007
Posts: 206
Location: Bangalore

PostPosted: Thu Feb 18, 2010 4:59 pm
Reply with quote

if you have sort product, you can use the below sort card for getting the the record count in the spool

Code:

//SORTIN DD DSN=....GDG tape file..
//SORTOUT DD SYSOUT=*
//SYSIN     DD *
   SORT FIELDS=COPY                                     
  OUTFIL REMOVECC,NODETAIL,TRAILER1=(COUNT=(M10))     
/*
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 Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Store the data for fixed length COBOL Programming 1
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts To get the count of rows for every 1 ... DB2 3
Search our Forums:

Back to Top