View previous topic :: View next topic
|
Author |
Message |
Harry_harran
New User
Joined: 25 Nov 2009 Posts: 10 Location: India
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
Harry_harran
New User
Joined: 25 Nov 2009 Posts: 10 Location: India
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
is/are the files defined in CICS as autoopen? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
valyk
Active User
Joined: 16 Apr 2008 Posts: 104 Location: South Carolina
|
|
|
|
Have you tried this:
Code: |
DHIPG012,C,DD,CCW100DV |
IIRC, CAFC treats files as DD and datasets as D. |
|
Back to top |
|
|
Harry_harran
New User
Joined: 25 Nov 2009 Posts: 10 Location: India
|
|
|
|
Thanks to everyone for your valable posts...
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...?
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|