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
 

 

open/close failed

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: open/close failed
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Oct 27, 2010 9:08 pm    Post subject: Reply to: open/close failed
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    Post subject: re
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    Post subject: re
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Oct 27, 2010 11:43 pm    Post subject: Reply to: open/close failed
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    Post subject: re : THANKs...
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Oct 28, 2010 4:34 pm    Post subject: Reply to: open/close failed
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts FTOPEN TEMP is failing due to dataset... mbenaud TSO/ISPF 7 Thu Jul 28, 2016 4:28 pm
This topic is locked: you cannot edit posts or make replies. Secure Browse to open dataset sandip_mainframe TSO/ISPF 3 Tue Apr 26, 2016 11:18 am
This topic is locked: you cannot edit posts or make replies. BAE Systems - Recruitment Open Days -... Express Mainframe Jobs 0 Fri Apr 22, 2016 8:19 pm
No new posts ABEND due to FETCH FAILED jackzhang75 ABENDS & Debugging 17 Thu Mar 10, 2016 3:08 am


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