Page 1 of 1

attributes of a file

PostPosted: Wed Oct 08, 2008 11:40 pm
by varsha
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

Re: attributes of a file

PostPosted: Wed Oct 08, 2008 11:49 pm
by dick scherrer
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).

Re: attributes of a file

PostPosted: Thu Oct 09, 2008 1:47 am
by varsha
Hi,

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


Regards,
VArsha

Re: attributes of a file

PostPosted: Thu Oct 09, 2008 5:43 am
by dick scherrer
You're welcome :)

d