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

Record count of vsam in cics pgm


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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

PostPosted: Sat Jun 21, 2008 10:03 am
Reply with quote

Hi,

How to find the record count of vsam(esds/ksds) in the cics-cobol pgm..
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Sat Jun 21, 2008 3:57 pm
Reply with quote

Why would you need to do this ???
Back to top
View user's profile Send private message
vimalonline
Warnings : 1

New User


Joined: 08 Apr 2006
Posts: 14
Location: In front of my PC

PostPosted: Sat Jun 21, 2008 10:41 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Jun 22, 2008 12:13 am
Reply with quote

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
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 How to split large record length file... DFSORT/ICETOOL 10
No new posts Using API Gateway from CICS program CICS 0
No new posts To get the count of rows for every 1 ... DB2 3
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top