Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 8593
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: 8593
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: 8593
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: 10211
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 Fail to change physical VSAM filename... jacobdng CICS 6 Fri Jan 20, 2017 12:36 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us