IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

VSAMINIT in the JCL: Is VSAMINIT a system program


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
muthuvel

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Canada

PostPosted: Thu Mar 08, 2007 7:48 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Mar 08, 2007 9:30 pm
Reply with quote

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
View user's profile Send private message
muthuvel

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Canada

PostPosted: Fri Mar 09, 2007 7:18 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Mar 10, 2007 5:35 am
Reply with quote

Hello,

Have you found vsaminit on a mainframe or on a different platform?
Back to top
View user's profile Send private message
muthuvel

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Canada

PostPosted: Mon Mar 12, 2007 12:34 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Mar 12, 2007 7:39 pm
Reply with quote

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
View user's profile Send private message
muthuvel

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Canada

PostPosted: Tue Mar 13, 2007 8:29 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Mar 13, 2007 9:28 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
No new posts Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts How to delete a user's alias from the... JCL & VSAM 11
Search our Forums:

Back to Top