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

Can we open / close vsam files using JCL???


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

New User


Joined: 08 May 2007
Posts: 26
Location: hyderabad

PostPosted: Thu Feb 14, 2008 5:37 pm
Reply with quote

Can we open / close vsam files using JCL???

Please help me out.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Feb 14, 2008 5:47 pm
Reply with quote

Yes
Back to top
View user's profile Send private message
Laxminarsimharao

New User


Joined: 08 May 2007
Posts: 26
Location: hyderabad

PostPosted: Thu Feb 14, 2008 5:50 pm
Reply with quote

Thanks expat.

can you tell me the code for open / close vsam files using JCL
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Feb 14, 2008 5:52 pm
Reply with quote

The code is in your program, the JCL merely executes the program of your choice and assigns the required datasets to the relevant DD names.

Or did you mean doing something else ?
Back to top
View user's profile Send private message
Laxminarsimharao

New User


Joined: 08 May 2007
Posts: 26
Location: hyderabad

PostPosted: Thu Feb 14, 2008 5:57 pm
Reply with quote

I know the procedure of using program.

But i wanted to know is there any IBM or any other UTILITY is there to OPEN and CLOSE the VSAM files with out using any Program and DD statements.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Feb 14, 2008 5:58 pm
Reply with quote

If you do not use a program, then you will not process anything.

Take a look at IDCAMS VERIFY
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Feb 14, 2008 7:52 pm
Reply with quote

it happens that utilities are just programs
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: Thu Feb 14, 2008 10:34 pm
Reply with quote

Hello,

If there is no program or utility, what would be served by opening the vsam file in jcl? What purpose to have an unused, open, vsam file?

Do you by chance mean that you want to open some online vsam file(s) via jcl?
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 Write line by line from two files DFSORT/ICETOOL 7
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Calling an Open C library function in... CICS 1
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
Search our Forums:

Back to Top