View previous topic :: View next topic
|
Author |
Message |
vimalonline Warnings : 1 New User
Joined: 08 Apr 2006 Posts: 14 Location: In front of my PC
|
|
|
|
Hi,
How to find the record count of vsam(esds/ksds) in the cics-cobol pgm.. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Why would you need to do this ??? |
|
Back to top |
|
|
vimalonline Warnings : 1 New User
Joined: 08 Apr 2006 Posts: 14 Location: In front of my PC
|
|
|
|
expat wrote: |
Why would you need to do this ??? |
i want to know the number of records in the vsam file and i would lik to write the number of records in the same vsam file as a trailer record |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
i want to know the number of records in the vsam file and i would lik to write the number of records in the same vsam file as a trailer record |
Possibly, i misunderstand. . . If you do this, every insert or delete after this requires that the trailer record be updated or the number will be incorrect. If this file is very active (adds/deletes), there will be performance problems getting control of the trailer record to update it.
What business burpose will be served by getting the number of records into the vsam file into an online cics program? If we know what you want to accomplish (rather than the number of records), we may be able to offer suggestions. |
|
Back to top |
|
|
|