View previous topic :: View next topic
|
Author |
Message |
umasankarmf
New User
Joined: 08 Sep 2008 Posts: 43 Location: india
|
|
|
|
Can anyone tell me, how to get the record count and record length for GDG tape files. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Ajay Baghel
Active User
Joined: 25 Apr 2007 Posts: 206 Location: Bangalore
|
|
|
|
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 |
|
|
|