Closing VSAM file in CICS



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

Closing VSAM file in CICS

Postby nareshraj_21 » Mon Jul 20, 2009 3:58 pm

Hello,

Please let me know the commands to close the previously opened VSAM file in CICS environment.
CEMT SET F1(FILEX) CLOSED is not working. Please let me know if I am doing something wrong.

Naresh
nareshraj_21
 
Posts: 5
Joined: Thu Jul 16, 2009 3:29 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Closing VSAM file in CICS

Postby nayanpatra » Tue Jul 21, 2009 4:08 pm

You can try with
EXEC CICS SET FILE(filename) CLOSED
nayanpatra
 
Posts: 19
Joined: Mon Jul 06, 2009 4:35 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Closing VSAM file in CICS

Postby dick scherrer » Wed Jul 22, 2009 1:41 am

Hello,

That is program code. . .

Naresh,
If you explain why you believe you should close an online file, someone will be able to post a more useful reply. Most places heavily frown on people closing files in use by cics on their own.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Closing VSAM file in CICS

Postby nareshraj_21 » Fri Jul 24, 2009 4:39 pm

nayanpatra wrote:You can try with
EXEC CICS SET FILE(filename) CLOSED

Hello thr,
....... that worked thankx
nareshraj_21
 
Posts: 5
Joined: Thu Jul 16, 2009 3:29 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Closing VSAM file in CICS

Postby nareshraj_21 » Fri Jul 24, 2009 4:45 pm

dick scherrer wrote:Hello,

That is program code. . .

Naresh,
If you explain why you believe you should close an online file, someone will be able to post a more useful reply. Most places heavily frown on people closing files in use by cics on their own.


Hi Dick,
I was in need to close the online file b'cause I was using the same file in other programmes too. Thankx lot for ur suggestions. And 'yes' I'll b more specefic in future.

Naresh
nareshraj_21
 
Posts: 5
Joined: Thu Jul 16, 2009 3:29 pm
Has thanked: 0 time
Been thanked: 0 time


Return to CICS

 


  • Related topics
    Replies
    Views
    Last post