Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
Posted: Tue Apr 19, 2005 12:42 pm Post subject:
Kunal,
RECORDSIZE(average maximum)] - specifies the average and maximum lengths, in bytes, of the records. Average and maximum can be any integer value between 1 and 32,761, expressed in decimal (n), hexadecimal (X'n'), or binary (B'n') form. When you specify the RECORDS parameter, you must also specify RECORDSIZE; otherwise, you cannot specify RECORDSIZE
The same is explained here in this manual. Look up the chapter for DEFINE CLUSTER
can IDCAMS be used to edit and compare VSAM files ? If yes then how?
Nope . You can file-aid/sort utitlities to edit and compare vsam files. IDCAMS can only be used to
Code:
o Create a VSAM data set, VSAM alternate index, or catalog
o List a catalog entry for a data set, file/catalog contents
o Copy a file or catalog
o Print all or part of a data set in character or hex format
o Build a backup copy of a VSAM data set, catalog, non-VSAM
data set, or an alternate index
o Convert non-VSAM to VSAM data set, VSAM to SAM format, CVOLs
to ICF catalogs, VSAM catalog entries to ICF catalog entries
o Alter the attributes of a catalog or data set
o Catalog or Uncatalog VSAM/non-VSAM data set and GDGs
o Delete a VSAM or non-VSAM data set or volume records, catalog,
path, GDG, alias, candidate volume, alternate index, page
space, or truename catalog entry
o Verify a VSAM data set's software end-of-file indicator
o Attach a user catalog to the master catalog
o Create a MVS paging space, generation data group (GDG)
o Collect data set and volume info. on migration utility
o Connect catalogs to one another
o Import/Export VSAM data sets, catalogs
o Load a VSAM file from SAM, ISAM, or VSAM records
o Unload a VSAM data set
o Merge ICF catalogs or recreate ICF entries
o Rename VSAM data sets
o Move a catalog and VSAM/non-VSAM data sets
Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
Posted: Wed Apr 20, 2005 1:06 pm Post subject:
Sumit,
Since you are a new member I am going to explain once again. As Ravi mentioned earlier in his post, you can search the utilities forum for "vsam" you will find many examples.
If you don't find an example which suits your requirement then please post detailed information(LRECL, RECFM & compare field lengths along with sample input and output), we will try to help you find a solution.
Please remember that this board isn't a post office to send out mails with free shipping
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum