View previous topic :: View next topic
|
Author |
Message |
annesequeira
New User
Joined: 24 Apr 2007 Posts: 5 Location: Bangalore
|
|
|
|
could you please let me know the JCL for creating a VSAM cluster? |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Anne,
Use IDCAMS and create the cluster. Let us know, if you need the control card. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
Back to top |
|
|
prasadvrk
Active User
Joined: 31 May 2006 Posts: 200 Location: Netherlands
|
|
|
|
Click on the JCLS tab given on top of this page and then click on IDCAMS link, you can get ehe JCL you require |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
A good way to get yourself a set of control statements is to find the VSAM definition of a similar file at your location.
Once you have that control info, use it and the IDCAMS manual to build the statements for your new vsam file.
When you have questions, we're here. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
annesequeira
New User
Joined: 24 Apr 2007 Posts: 5 Location: Bangalore
|
|
|
|
murmohk1 wrote: |
Anne,
Use IDCAMS and create the cluster. Let us know, if you need the control card. |
oh i am not aware of contorl cards as i am doing this for the first time- is there no other way of doing this? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
The control statements are easy, but you do need to know about the VSAM file that you want.
a) What name do you want to call your cluster
b) What will the file be used for, DB2, IMS, general data
c) Does it require an index
d) Where is the key and how long is the key
e) Is it a fixed length file or variable length
f) What are the record length(s), average and maximum
g) Will you be doing inserts into the file if indexed
h) How many records will it hold
i) Will it require an alternate index |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
expat,
That will confuse the OP.
I think dick's advice will suit the most for OP.
Quote: |
A good way to get yourself a set of control statements is to find the VSAM definition of a similar file at your location. |
To add little bit -
If your site has FILE-AID then it is the easiest way to copy attributes of existing VSAM dataset. (IMHO ) |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
agkshirsagar wrote: |
expat,
That will confuse the OP. |
Maybe, but in my view these are the basic requirements for knowing how to define your files correctly. If the person wanting to allocate the file can not answer 80% of the questions, I'm not sure I would like them logging into my system. |
|
Back to top |
|
|
ahr
New User
Joined: 24 Apr 2007 Posts: 14 Location: India
|
|
|
|
What is the meaning of OP |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
OP = Original Poster (Officially ) |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
Quote: |
OP = Original Poster (Officially ) |
Like many of us I was confused by shortforms used in this forum.
Ex: OP, MHO, IMHO, FUD
Now I have got used to it and I too have started using them . |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
What's FUD ? |
|
Back to top |
|
|
agkshirsagar
Active Member
Joined: 27 Feb 2007 Posts: 691 Location: Earth
|
|
|
|
Fear, uncertainty and doubt, a marketing strategy.
Ask william, he used it once...
I forgot 'my $0.02' in my last post. |
|
Back to top |
|
|
|