attributes of a file



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

attributes of a file

Postby varsha » Wed Oct 08, 2008 11:40 pm

Hi All,

I am having a very basic doubt. We create a VSAM dataset using idcams utility and then load the file.
The vsam dataset contains student info. ie., student name student id etc....
How these attributes are matched to data in VSAm dataset?
Pls clarify


Thanks In advance
VArsha
varsha
 
Posts: 10
Joined: Thu Sep 18, 2008 9:51 pm
Has thanked: 0 time
Been thanked: 0 time

Re: attributes of a file

Postby dick scherrer » Wed Oct 08, 2008 11:49 pm

Hello,

How these attributes are matched to data in VSAm dataset?
They aren't. Vsam knows nothing about the definitions of the fields contained in the file.

Usage completely depends on the code used to add/change/view records (which is why almost always the field layout is in a copybook to make sure that everyone uses the same definitions).
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: attributes of a file

Postby varsha » Thu Oct 09, 2008 1:47 am

Hi,

I understood the point clearly.Thanks a lot!!!!!


Regards,
VArsha
varsha
 
Posts: 10
Joined: Thu Sep 18, 2008 9:51 pm
Has thanked: 0 time
Been thanked: 0 time

Re: attributes of a file

Postby dick scherrer » Thu Oct 09, 2008 5:43 am

You're welcome :)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post