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
 

 

Batch job abending while closing the online file to CICS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Harry_harran

New User


Joined: 25 Nov 2009
Posts: 10
Location: India

PostPosted: Tue Dec 08, 2009 1:14 pm    Post subject: Batch job abending while closing the online file to CICS
Reply with quote

When the batch job is trying to close the online file to CICS region, the batch job is failing due to below reason:-

Code:
CAFC0364 AFCP2016 USING APPL. TABLE AFCT2016                               
CAFC0398 AFCP2016 DHIPG012,C,D,CCW100DV                                   
CAFC0807 AFCP2016 AFCTABLE = CICSP.CICPAAA1.CAFC.CNTLFILE                 
CAFC0399 AFCP2016     C        D  CCW100DV        (0000) NO ERRORS         
CAFC0399 AFCP2016                 CCW100DV WARNING(0225) ALREADY CLOSED   
CAFC0398 AFCP2016 DHIPG012,C,D,CCW110DV                                   
CAFC0807 AFCP2016 AFCTABLE = CICSP.CICPAAA1.CAFC.CNTLFILE                 
CAFC0399 AFCP2016     C        D  CCW110DV        (0000) NO ERRORS         
CAFC0399 AFCP2016                 CCW110DV WARNING(0225) ALREADY CLOSED   
CAFC0398 AFCP2016 DHIPG012,C,D,CCW120DV                                   
CAFC0807 AFCP2016 AFCTABLE = CICSP.CICPAAA1.CAFC.CNTLFILE                 
CAFC0399 AFCP2016     C        D  CCW120DV        (0000) NO ERRORS         
CAFC0399 AFCP2016                 CCW120DV WARNING(0225) ALREADY CLOSED   


Could anyone let me know the reason behind this and the possible way to fix this.
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Dec 08, 2009 3:01 pm    Post subject:
Reply with quote

As far as I see it, the message is pretty clear ("Already Closed"). What is it that you didn't understand about this message?

O.
Back to top
View user's profile Send private message
Harry_harran

New User


Joined: 25 Nov 2009
Posts: 10
Location: India

PostPosted: Tue Dec 08, 2009 3:22 pm    Post subject:
Reply with quote

I too thought the same, but it was not. It was open to CICS and when I restarted the job from the same step, it went fine.

Could you please help me out whether this could happen in any other case.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Dec 08, 2009 9:51 pm    Post subject:
Reply with quote

Hello,

Quote:
Could you please help me out whether this could happen in any other case.
If this happened, it must be possible. . . If this happened once, it can happen again (if the exact same conditions exist). . .

Is it possible that there was additional attempts to open/close the file in this time window? Is it possible that some other person/process was trying to do something similar at the same time?

I suggest you work with others and determine the exact sequence of everything that happened with the problem file and determine where the mis-step/out-of-sync process occurred.

From the little posted, it sounds like the process failed because the file was closed but on the re-start/re-run the file had been re-opened. . .
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Tue Dec 08, 2009 9:54 pm    Post subject:
Reply with quote

is/are the files defined in CICS as autoopen?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Tue Dec 08, 2009 10:55 pm    Post subject:
Reply with quote

Have you contacted the product vendor for assistance? I think that would be the place to start since the vendor presumably knows more about their product than just about anybody else.
Back to top
View user's profile Send private message
valyk

Active User


Joined: 16 Apr 2008
Posts: 104
Location: South Carolina

PostPosted: Wed Dec 09, 2009 12:15 am    Post subject:
Reply with quote

Have you tried this:

Code:
DHIPG012,C,DD,CCW100DV


IIRC, CAFC treats files as DD and datasets as D.
Back to top
View user's profile Send private message
Harry_harran

New User


Joined: 25 Nov 2009
Posts: 10
Location: India

PostPosted: Wed Dec 09, 2009 4:50 pm    Post subject:
Reply with quote

Thanks to everyone for your valable posts... icon_smile.gif icon_smile.gif icon_smile.gif icon_smile.gif
It has been resolved. The above mentioned error occured as it has been closed by anothe user.

Now am getting a new error. Could you please help me out with this...? icon_question.gif icon_question.gif

Code:
AFCP2016 DHIPG012,C,D,CCW120DV                                           
AFCP2016 AFCTABLE = CICSP.CICPAAA1.CAFC.CNTLFILE                         
AFCP2016     C        D  CCW120DV        (0235) FILES NOT CLOSED: ACTIVE 
AFCP2016     C        D  CCW120DV ERROR  (0256) CLOSE STILL IN PROGRESS   
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Dec 09, 2009 9:58 pm    Post subject:
Reply with quote

Hello,

I suspect that we won't be much help. . .

The process(es) appear to be out of control. Getting things under control will be completely site-specific.

Why are there multiple close/open/batch/online popping in and out?
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


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