Page 1 of 2

Define/Create VSAM-E file

PostPosted: Fri Mar 04, 2011 12:58 am
by ballj35
I need to create/define a VSAM file with Extended Addressability or a VSAM-E file as it is known. We do not have a Systems Programmer
or Storage Admin person here and therefore, I have been tasked with creating this file.
I think I need to define a DataClass for it. When I tried this, then I found out I need to Define a SCDS.
I am unsure of the values to input here and need some direction.
Is there anyway someone can give me the condensed version of how to do this or an easy way to create
this VSAM-E file. We are running on Z/OS 1.12.
Thanx in advance.

Jerry

Re: Define/Create VSAM-E file

PostPosted: Fri Mar 04, 2011 1:21 am
by Robert Sample
If your site is already using SMS, there is a defined SCDS somewhere. Look for datasets using SMS as the high level qualifier, or SCDS as a low-level qualifier.

Re: Define/Create VSAM-E file

PostPosted: Fri Mar 04, 2011 1:36 am
by ballj35
I have just checked are there are none. The company I work for is a s/w development company
and the machine is pretty much empty at this time, excluding s/w that we install on the machine
and other default stuff from IBM.
I created one from documentation that I found online. I attempted to created a Base config.
and when I valite it under ISMF, I get the following errors:

VALIDATION RESULTS

VALIDATION RESULT: ERRORS DETECTED
SCDS NAME: SMS.SCDS1.SCDS
ACS ROUTINE TYPE: *
DATE OF VALIDATION: 2011/03/03
TIME OF VALIDATION: 14:01

IGD06029I MINIMALLY REQUIRED STORAGE GROUP TYPE IS NOT IN THE CONFIGURATION
IGD06028I NO STORAGE GROUP ACS ROUTINE EXISTS IN THE CONFIGURATION
IGD06027I NO STORAGE CLASSES EXIST IN THE CONFIGURATION

Now, I do not know where to go into this configuration abnd fix/update
the values with defaults. I have tried to find ACS routines, but do not know
where they are located. Trying to reach out and find experts that can help
me through this.
Thanx.

Re: Define/Create VSAM-E file

PostPosted: Fri Mar 04, 2011 2:11 am
by Javierny
Hi,

Look into vsam demystified http://www.redbooks.ibm.com/abstracts/sg246105.html

I did the same thing recently and here is what I did. All extended format VSAM are SMS managed so you need to get a new data class defined with
a. Data Set Name Type . . . . . . EXT
b. Extended Addressability . . . Y
c. RECORD_ACCESS_BIAS = SYSTEM

You might need a new management class, storage class (with striping for SDR) and data class based on your need.

There are also some posts on this forum regarding extended format VSAM datasets. Please do search.

let us know how it all works out for you.

Re: Define/Create VSAM-E file

PostPosted: Fri Mar 04, 2011 4:14 am
by Robert Sample
Unfortunately, I don't think there's any standard name for the ACS routines. If you have to, you can create a PDS and put in data class, management class, storage class, and storage group definitions. That would be a pain, though, and it would completely ignore everything already set up so there could be some negative consequences (if there's data class routines based on allocated size, for example, and you don't replicate that then you could put data sets into the wrong storage pool and run out of disk space in the pool).

Did you try an ISPF 3.4 search on **.acs* to see what shows up?

Re: Define/Create VSAM-E file

PostPosted: Fri Mar 04, 2011 7:28 am
by ballj35
I have found the library, I think. There is a SYS1.ACSSLIB, which contains
many load members. Also, I have found other CSF.ACS* and CSQ700.ACS*,
which has a lot of assembler stuff in it also.
Not sure if one of these members is what I need to use. I have been
reading on this and I see defining the Storage Groups, Storage Classes and
the Mgmt Classes are important and I would like some direction. I am
not a Storage person, but I see I need to understand/define these items
to be able to do a Data Class correctly.
Thanx in advance.

Jerry

Re: Define/Create VSAM-E file

PostPosted: Fri Mar 04, 2011 12:47 pm
by mongan
Jerry, I feel sorry for you. You have had no education on the subject and you are thrown into something way over your head. We can not teach you a week long course about SMS in a few minutes. What really ticks me off, your company has no data manager, no system programmer, and they think that you can just do something like this with a shake of your hand. It took us weeks to design a good SMS concept, if you do not have one then you are going to be constantly running into problems.
For what it is worth, CPAC usually delivers a SMS set up, but it sounds like it has not been installed yet (or it was not supplied).
Try looking at your SYS1.DFSMS data sets.
Oh, by the way, you can show this Email to your manager or if you would like you can get your manager on here to talk with me about it - I am a Senior Systemprogrammer.

Re: Define/Create VSAM-E file

PostPosted: Fri Mar 04, 2011 2:03 pm
by ballj35
I did not find SYS1.DFSMS , but I did find the following librs:

CSQ701.ACSQASMS
CSQ701.SCSQASMS
HLA.AASMSAM1
HLA.AASMSAM2
HLA.SASMSAM1
HLA.SASMSAM2
QA.VSUM.R50B.SMS.ERRORS
SMS.SCDS1.SCDS.DATA I created this member using JCL I found on the net for a SCDS definition
SYS1.ABLSMSG0
SYS1.SBLSMSG0
SYS1.SBLSMSG0
SYS1.SMS.CNTL
SYS1.ZOSR110.SBLSMSG0
SYS1.ZOSR111.SBLSMSG0

What should I be looking for in them and also, how do I setup/define the ACS Routines
in ISMF, for the Classes. I have found they have something called HFSCLASS for a Storage
Groupm which I tried to use, but it failed when I tried to Validate the SCDS. What I am getting
now is as follows:

********************************* Top of Data **********************************
VALIDATION RESULTS

VALIDATION RESULT: ERRORS DETECTED
SCDS NAME: SMS.SCDS1.SCDS
ACS ROUTINE TYPE: *
DATE OF VALIDATION: 2011/03/04
TIME OF VALIDATION: 02:27

IGD06122I STORAGE GROUP POOL1 HAS NO VOLUMES
IGD06028I NO STORAGE GROUP ACS ROUTINE EXISTS IN THE CONFIGURATION
IGD06023I STORAGE GROUP HFSCLASS IS NOT REFERENCED BY THE STORAGE GROUP ACS ROUT
IGD06023I STORAGE GROUP POOL1 IS NOT REFERENCED BY THE STORAGE GROUP ACS ROUTINE
IGD06023I STORAGE GROUP VIO1 IS NOT REFERENCED BY THE STORAGE GROUP ACS ROUTINE

I set the SG of POOL1 and VIO1 from things I found on the net, not sure of they are correct or
not. Just want to create a VSAM-E file to be able to perform some testing against. Not trying
to implement some system wide standard. Just need a quick and dirty to define the file, copy
some records into it and then perform some unit testing using a VSAM-E file.
All suggestions/directions are greatly appreciated. Thanx in advance.

Re: Define/Create VSAM-E file

PostPosted: Fri Mar 04, 2011 2:06 pm
by ballj35
Also found the following libr SYS1.ACSSLIB and many others when I
searched for **.*ACS*. Not sure of this is the libr for ACS Routines,
but how to setup in IMSF and have it point towards the approp. libr/member.
Trying to figure it out.
Thanx in advance.

Re: Define/Create VSAM-E file

PostPosted: Fri Mar 04, 2011 2:16 pm
by mongan
It looks like you do not have any SMS data sets. I can not teach you SMS in minutes. You should plan at least a week of your time unti you have any time of basic knowledge of what is going on.
Depending on what Release of z/OS you are using here are some manuals where you could get started:
DFSMS Introduction
DFSMS: Implementing System Managed Storage