View previous topic :: View next topic
|
Author |
Message |
muthuvel
Active User
Joined: 29 Nov 2005 Posts: 217 Location: Canada
|
|
|
|
I know that VSAMINIT is used to initialize the VSAM before writing a record into it.
I want to know the below details:
Is VSAMINIT a system program?
Where is it loaded? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
muthuvel wrote: |
Is VSAMINIT a system program? |
It appears to be open-source. If you do a Google search for PGM=VSAMINIT, you only get one hit, and that is a document with the Assembler source code. |
|
Back to top |
|
|
muthuvel
Active User
Joined: 29 Nov 2005 Posts: 217 Location: Canada
|
|
|
|
Superk,
Thanks for the reply.The below is information which i got in net for VSAMINT.
VSAM files must be initialized before they can be read or updated. The VSAMINIT utility program will initialize any VSAM (KSDS, RRDS or ESDS) file. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Have you found vsaminit on a mainframe or on a different platform? |
|
Back to top |
|
|
muthuvel
Active User
Joined: 29 Nov 2005 Posts: 217 Location: Canada
|
|
|
|
Dick,
I found VSAMINIT on mainframe platform.
I also have used it in our shop for initializing the VSAM files with low values or high values when the VSAM is empty. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello Muthuvel,
To possibly learn more about VSAMINIT, you could dump the executable module and look for copyright information. Many vendors include the company name in their load modules. From that you would have a better idea of who you could contact.
Is there any chance that your "VSAMINIT" was written by someone in your organization?
Returning to your initial question -
Quote: |
Is VSAMINIT a system program?
Where is it loaded? |
It is somekind of system program (most generic programs are).
Please elaborate on the second question. Do you mean which pds it is executed from or where in the computer does it execute or possibly something else? |
|
Back to top |
|
|
muthuvel
Active User
Joined: 29 Nov 2005 Posts: 217 Location: Canada
|
|
|
|
Dick,
Thanks for the Reply!!!
I went through weblink which says VSAMINIT as a utility program
The link is
http://www.system-support.com/In%20Print.htm
In our organisation,we use it for initialising the VSAM file with low values in order to write the data records into it.This step is done after defining the VSAM file.
May I know how the empty VSAM is populated with low values in your organisation so that it is ready to write data? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello Muthuvel,
We use IDCAMS DELETE/DEFINE, then REPRO initial data into the file. We do not run another initialize step that i'm aware of. Having said that, i should also mention that most of our data is not stored in vsam datasets. |
|
Back to top |
|
|
|