Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Record count of vsam in cics pgm

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Record count of vsam in cics pgm
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: 8593
Location: Back in jolly old England

PostPosted: Sat Jun 21, 2008 3:57 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Sun Jun 22, 2008 12:13 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm
No new posts How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts Need to write record of PS File in ex... Chandan1993 JCL & VSAM 1 Wed Jun 07, 2017 1:35 am
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us