|
View previous topic :: View next topic
|
| Author |
Message |
cjcpr
New User

Joined: 21 Mar 2006 Posts: 20 Location: USA
|
|
|
|
| I have a huge VSAM (KSDS) file. I want to get the record count from the file. Is there an easy way to do it? |
|
| Back to top |
|
 |
PeD
Active User

Joined: 26 Nov 2005 Posts: 459 Location: Belgium
|
|
|
|
| LISTCAT |
|
| Back to top |
|
 |
dbzTHEdinosauer
Global Moderator

Joined: 20 Oct 2006 Posts: 6965 Location: porcelain throne
|
|
|
|
| after a reorg. |
|
| Back to top |
|
 |
muthuvel
Active User

Joined: 29 Nov 2005 Posts: 217 Location: Canada
|
|
|
|
Hi,
Try this JCL this may help you out.
//COUNTREC JOB (2310057,PROD),TEST,CLASS=E,
// MSGCLASS=X,NOTIFY=&SYSUID
//*
//*COUNT THE NUMBER OF RECORDS PRESENT IN A FILE USING SYNCTOOL
//R010 EXEC PGM=SYNCTOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//INPFILE DD DSN=<file name>
// DISP=SHR
//TOOLIN DD *
COUNT FROM(INPFILE)
/*
//SYSOUT DD SYSOUT=*
Regards,
Muthuvel. |
|
| Back to top |
|
 |
snehalatha
New User
Joined: 23 Oct 2006 Posts: 1
|
|
|
|
| cjcpr wrote: |
| I have a huge VSAM (KSDS) file. I want to get the record count from the file. Is there an easy way to do it? |
|
|
| Back to top |
|
 |
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
| Listcat |
|
| Back to top |
|
 |
|
|