MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Recordsize Parm in IDCAMS Define Cluster step

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
kunal
Beginner


Joined: 29 Nov 2004
Posts: 1
Topics: 1

PostPosted: Tue Apr 19, 2005 12:25 pm    Post subject: Recordsize Parm in IDCAMS Define Cluster step Reply with quote

Code:

//STEP010  EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN    DD *
   DEFINE CLUSTER (NAME (EXAMPLE.TEST01)     -
       INDEXED                               -
       RECORDSIZE (200 200)                  -
       KEYS (6 0)                            -
       VOLUMES (TS0001))
   DATA (NAME (EXAMPLE.TEST01.DATA)          -
       CYLINDERS (45 5)                      -
       CISZ (4096))                          -
   INDEX  (NAME (EXAMPLE.TEST01.INDEX)
/*

what does RECORDSIZE (200 200) signifies

can IDCAMS be used to edit and compare VSAM files ? If yes then how?
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Tue Apr 19, 2005 12:42 pm    Post subject: Reply with quote

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

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT1V403/CCONTENTS?DT=19990113080956

Quote:

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                     


Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sumit
Beginner


Joined: 20 Apr 2005
Posts: 4
Topics: 2

PostPosted: Wed Apr 20, 2005 8:40 am    Post subject: Reply with quote

Hi Kolusu
Thanks for the reply. Can you send me the jcl using sort utility to compare/edit the VSAM files.
Regards
Sumit
Back to top
View user's profile Send private message
sumit
Beginner


Joined: 20 Apr 2005
Posts: 4
Topics: 2

PostPosted: Wed Apr 20, 2005 12:33 pm    Post subject: IDCAMS Reply with quote

Can you send me the jcl using sort utility to compare/edit the VSAM files.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Wed Apr 20, 2005 1:06 pm    Post subject: Reply with quote

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

Thanks

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group