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
 

 

How to Close VSAM file in CICS region using JCL.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Sheel

New User


Joined: 10 Oct 2007
Posts: 7
Location: Pune, India.

PostPosted: Thu Oct 11, 2007 12:13 pm    Post subject: How to Close VSAM file in CICS region using JCL.
Reply with quote

I want to close a VSAM file in CICS region using a JCL.
Then I am adding records in VSAM file.
Then I have to open VSAM file again in CICS region.

How to close and open VSAM file in CICS region using JCL?
Please give your suggestions.

Sheel...
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Thu Oct 11, 2007 12:15 pm    Post subject: Reply to: How to Close VSAM file in CICS region using JCL.
Reply with quote

Is Your support people aware of the dangers of such an operation?
Back to top
View user's profile Send private message
Sheel

New User


Joined: 10 Oct 2007
Posts: 7
Location: Pune, India.

PostPosted: Thu Oct 11, 2007 12:33 pm    Post subject:
Reply with quote

We are just checking all possibilities how to edit VSAM file
without entering into that CICS region.

Testing will be carried out on test file.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10274
Location: italy

PostPosted: Thu Oct 11, 2007 12:44 pm    Post subject: Reply to: How to Close VSAM file in CICS region using JCL.
Reply with quote

Looks like You did not understand my question,

it is might be OK to do it in a test environment,
nobody will care about the overall data integrity/recoverability

but for a production system it' s a very unsafe prcatice,
in Your scenario You are going to update data without any provision for integrity/recoverabilty.

there will updates not reflected in the logs,
and, for example, You are going to lose all the forward
recovery facilities
Back to top
View user's profile Send private message
Mahesh-Frame

New User


Joined: 06 Sep 2007
Posts: 3
Location: Noida

PostPosted: Thu Oct 11, 2007 12:55 pm    Post subject: Master Terminal - Might help ur cause
Reply with quote

CEMT SET FILE(' <logical file name') CLOSE

Hope this will work...Try O
Back to top
View user's profile Send private message
Sheel

New User


Joined: 10 Oct 2007
Posts: 7
Location: Pune, India.

PostPosted: Thu Oct 11, 2007 1:50 pm    Post subject:
Reply with quote

We are not dealing with any production file and integrity/recoverability are not big concern for us.
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Thu Oct 11, 2007 2:01 pm    Post subject:
Reply with quote

See if this Link helps
Back to top
View user's profile Send private message
Sheel

New User


Joined: 10 Oct 2007
Posts: 7
Location: Pune, India.

PostPosted: Thu Oct 11, 2007 5:59 pm    Post subject:
Reply with quote

Thanks a lot agkshirsagar.
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
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


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