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

open/close failed


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ankit saxena

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Wed Oct 27, 2010 8:41 pm
Reply with quote

i am facing this error while trying to open a file can anyone please guide me what is this error

S FILE(NG57F)
STATUS: RESULTS - OVERTYPE TO MODIFY
Fil(NG57F ) Vsa Clo Dis Rea Upd Add Bro Del Sha OPEN/CLOSE FAILED
Dsn( TRNG.EDUC36.ANKVS )
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Oct 27, 2010 9:08 pm
Reply with quote

Are you sure the file is defined to VSAM?

If you go to ISPF panel 3.4, do you see it?

Try running a LISTCAT from ISPF panel 6 -

Code:
LISTCAT ENTRIES('TRNG.EDUC36.ANKVS') ALL

Bill
Back to top
View user's profile Send private message
ankit saxena

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Wed Oct 27, 2010 9:11 pm
Reply with quote

HI,

This file is opening with other FCT entries only with this FCT entry (ng57f) it's creating problem , while other files are opening with this FCT entry.
Back to top
View user's profile Send private message
ankit saxena

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Wed Oct 27, 2010 9:20 pm
Reply with quote

and also now this files are not getting deleted and is showing
MAXCC=8

return code 84,
unexpired purge date

how to delete these files.
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Oct 27, 2010 11:43 pm
Reply with quote

From ISPF panel 6, issue -

Code:

DELETE ('TRNG.EDUC36.ANKVS') CLUSTER PURGE

Bill
Back to top
View user's profile Send private message
ankit saxena

New User


Joined: 06 Oct 2010
Posts: 55
Location: india

PostPosted: Thu Oct 28, 2010 3:45 pm
Reply with quote

Thanks it worked out..

will this command work in a program code also ??..
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Thu Oct 28, 2010 4:34 pm
Reply with quote

No, you should never execute commands in a program, which invoke IDCAMS in CICS.

When you use ISPF panel 6, you're invoking IDCAMS under the covers.

Search for IDCAMS on this board and Google it as well.

You'll get more hits than you'll know what to do with.

Bill
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Calling an Open C library function in... CICS 1
No new posts DFHPI1008 JSON generation failed COBOL Programming 0
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
No new posts Is there a way to close VSAM files us... CICS 8
No new posts DFHCSDUP EXTRACT unable to open outpu... CICS 5
Search our Forums:

Back to Top