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

Data and Index Components


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Priya_Shankar

New User


Joined: 07 Aug 2007
Posts: 22
Location: Chennai

PostPosted: Tue Sep 25, 2007 5:35 pm
Reply with quote

We define data and index component for a cluster. As we know, it is the data component which contains the actual records and the index component contains the pointer which references the records. In the DEFINE command, we just define the base cluster, data and index components and in the program we load the records into the cluster. My question is it possible to browse the data and index component of a cluster? I tried but not able to browse the file. Why it is so?
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Sep 25, 2007 5:48 pm
Reply with quote

What do you hope to gain by browsing either the data or index components?
Back to top
View user's profile Send private message
Priya_Shankar

New User


Joined: 07 Aug 2007
Posts: 22
Location: Chennai

PostPosted: Tue Sep 25, 2007 5:51 pm
Reply with quote

I just want to know that instead of viewing the records through file-aid using the base cluster name, is it possible to view the records of the .data file?
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: Tue Sep 25, 2007 7:56 pm
Reply with quote

Hello,

The underlying datasets are not meant to be "browsed". The entire plan is that the vsam access method be used even to browse. FileAid and other products provide a "friendly" fron-ent so that you can view the contents, but "normal" opens/reads are not meant to work.

You could spend time learning how to directly read the datasets with assembler, but i would advise against it.
Back to top
View user's profile Send private message
hemanth.nandas

Active User


Joined: 18 Aug 2007
Posts: 120
Location: India

PostPosted: Fri Sep 28, 2007 4:46 pm
Reply with quote

Hi,

you can do it but I am not sure whether it will work or not, since long back I tried for same and its not a user friendly.

Just try with this command

PRINT IDS(/) CH

Use this command against dataset name. As u give command on daset for EDIT, BROWSE.

Thanks N Regards
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Sat Sep 29, 2007 1:31 pm
Reply with quote

hemanth.nandas wrote:
Hi,

you can do it but I am not sure whether it will work or not, since long back I tried for same and its not a user friendly.

Just try with this command

PRINT IDS(/) CH

Use this command against dataset name. As u give command on daset for EDIT, BROWSE.

Thanks N Regards


Yes great - and don't forget to pick a dataset that is huge so that your terminal will be locked all day
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 Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
Search our Forums:

Back to Top