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: 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 ASP3 ABEND IN CICS Vedant CICS 0 Fri Oct 20, 2017 3:18 pm
No new posts Identifying Interfaces in CICS/mainframe Ashishpanpaliya CICS 5 Fri Oct 13, 2017 3:21 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm

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