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

How to Close VSAM file in CICS region using JCL.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Oct 11, 2007 12:15 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Oct 11, 2007 12:44 pm
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
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
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: 691
Location: Earth

PostPosted: Thu Oct 11, 2007 2:01 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Using API Gateway from CICS program CICS 0
Search our Forums:

Back to Top