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
 

 

VSAM record Count

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Wed May 13, 2009 2:45 am    Post subject: VSAM record Count
Reply with quote

is there any CICS command that will give me the record counts for a given VSAM DDNAME. I have not found any CICS commands that will return this information, if anyone has any idea of how I can get this information I would like to here from you.
Back to top
View user's profile Send private message

Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Wed May 13, 2009 3:12 am    Post subject:
Reply with quote

TRY TSO option 6
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Wed May 13, 2009 3:14 am    Post subject:
Reply with quote

I need to do this from within a CICS program
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7990
Location: Bellevue, IA

PostPosted: Wed May 13, 2009 3:25 am    Post subject:
Reply with quote

As far as I know that data is not available in CICS.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed May 13, 2009 3:39 am    Post subject: Reply to: VSAM record Count
Reply with quote

There isn't any native CICS command you could issue. However, you could CALL a REXX routine in CICS, which issues a LISTDSI function (LIST DataSet Information), but I'm unsure whether this function applies to VSAM files. Check the REXX manuals for more information.

A sure fire method to obtain VSAM file characteristics would be an Assembler sub-program, which issues a SHOWCB macro, but IIRC, this expands into an SVC (SuperVisor Call), which should not be used in CICS or if used, only on a limited basis.

Other than that, there's File-Domain Control Block traversing, whose information is not found on BookManager but in Licensed manuals (purchased only) and requires advanced Assembler knowledge.

Regards,
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 0 Fri Mar 24, 2017 9:28 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts Display FTP Session Count within TSO Yolanda Harvey TSO/ISPF 3 Fri Mar 10, 2017 10:31 pm


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