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 

opening and closing of VSAm FILE

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


Joined: 20 Mar 2006
Posts: 133
Topics: 58

PostPosted: Wed Nov 15, 2006 10:47 pm    Post subject: opening and closing of VSAm FILE Reply with quote

Hi ,

Is it possible to open a VSAM file for output and close it using JCL only ?
Back to top
View user's profile Send private message
shekar123
Advanced


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Thu Nov 16, 2006 3:13 am    Post subject: Reply with quote

Martin,

What do you mean by opening a VSAM File for Output and closing it ? Do you want to copy records to a VSAM File and complete the operation , if yes i had posted a JCL earlier .
_________________
Shekar
Grow Technically
Back to top
View user's profile Send private message
Martin
Beginner


Joined: 20 Mar 2006
Posts: 133
Topics: 58

PostPosted: Thu Nov 16, 2006 1:07 pm    Post subject: Reply with quote

shekar123,

No I just want to initialize the VSAM file.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Nov 16, 2006 2:36 pm    Post subject: Reply with quote

Martin,

please search before posting. check this link

http://www.mvsforums.com/helpboards/viewtopic.php?p=26921#26921
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Martin
Beginner


Joined: 20 Mar 2006
Posts: 133
Topics: 58

PostPosted: Thu Nov 16, 2006 11:30 pm    Post subject: Reply with quote

kolusu,

Your reply rakshith doesn't inistialize the vsam file.

Please help !

- Mt
Back to top
View user's profile Send private message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Fri Nov 17, 2006 6:04 am    Post subject: Reply with quote

Martin,
How about just a TSO VERFIY ?
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
Martin
Beginner


Joined: 20 Mar 2006
Posts: 133
Topics: 58

PostPosted: Fri Nov 17, 2006 12:38 pm    Post subject: Reply with quote

Cogito-Ergo-Sum,

The deal here is to do it through a JCL. I know there is an option in INSYNC which can intialize the vsam file.
Back to top
View user's profile Send private message
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Sat Nov 18, 2006 11:56 pm    Post subject: Reply with quote

Martin,
You can invoke the TSO command through batch. Such as,
Code:

//STEP1   EXEC PGM=IKJEFT01
//SYSTSIN DD *
 VERIFY 'a.dataset.name'
/*
//SYSTSPRT DD SYSOUT=*

_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
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