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
 

 

Data and Index Components

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Data and Index Components
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: 2150
Location: At my coffee table

PostPosted: Tue Sep 25, 2007 5:48 pm    Post subject:
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    Post subject: Reply to: Data and Index Components
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

Site Director


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

PostPosted: Tue Sep 25, 2007 7:56 pm    Post subject:
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: Chennai

PostPosted: Fri Sep 28, 2007 4:46 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Sat Sep 29, 2007 1:31 pm    Post subject:
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    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 Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm


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