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
 
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: 10374
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: 10374
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
No new posts Is CICS BMS logic on z/OS different ... Andi1982 CICS 2 Fri Dec 01, 2017 1:56 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm

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