Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Can we open / close vsam files using JCL???

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Can we open / close vsam files using JCL???
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: 8657
Location: Back in jolly old England

PostPosted: Thu Feb 14, 2008 5:47 pm    Post subject:
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    Post subject: Reply to: Can we open / close vsam files using JCL???
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: 8657
Location: Back in jolly old England

PostPosted: Thu Feb 14, 2008 5:52 pm    Post subject:
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    Post subject:
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: 8657
Location: Back in jolly old England

PostPosted: Thu Feb 14, 2008 5:58 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10457
Location: italy

PostPosted: Thu Feb 14, 2008 7:52 pm    Post subject: Reply to: Can we open / close vsam files using JCL???
Reply with quote

it happens that utilities are just programs
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Thu Feb 14, 2008 10:34 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts Comparing two sequential files Mohan Kothakota COBOL Programming 14 Mon Apr 16, 2018 6:35 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts VSAM - Accessing beyond record size Benchwarmer JCL & VSAM 6 Wed Apr 11, 2018 9:20 pm
No new posts VSAM File free space sancraig16 JCL & VSAM 13 Fri Mar 30, 2018 1:02 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us