Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8666
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 TRAILER3 is creating blank record in ... kodeesm DFSORT/ICETOOL 3 Fri May 18, 2018 5:45 pm
No new posts Not able to export the VSAM cluster sandeep kumar302 JCL & VSAM 5 Fri May 04, 2018 12:42 pm
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us