- Forum
- T24 Technical Discussions
- T24 Development & Customization
- Fatal error in OPF error NO FILE.CONTROL in COB
Fatal error in OPF error NO FILE.CONTROL in COB
- woolala
- Topic Author
- Offline
- Junior Member
-
- Posts: 20
- Thank you received: 0
Few days ago, I made a small test in BATCH 'BNK/FILE.TIDY.UP'.
Added a DATA 'HOWAREYOU' between 11.2.3 and 11.2.5
BATCH PROCESS..... BNK/FILE.TIDY.UP
1 BATCH.STAGE....... D003 START OF DAY
3 PROCESS.STATUS.... 0 READY
4 BATCH.ENVIRONMENT. F FOREGROUND
6. 1 JOB.NAME....... EOD.BLD.STMT.VAL.ENT
8. 1 FREQUENCY...... A AD-HOC
12. 1 JOB.STATUS..... 0 READY
6. 2 JOB.NAME....... EB.CLEAR.FILES
8. 2 FREQUENCY...... D DAILY
11. 2. 1 DATA........ BOS.ACCT.OPEN.TODAY
11. 2. 2 DATA........ RE.SPEC.ENT.LWORK.DAY
11. 2. 3 DATA........ POSITION.LWORK.DAY
11. 2. 4 DATA........ HOWAREYOU
11. 2. 5 DATA........ BOS.AC.PREPARED.CLOSE
11. 2. 6 DATA........ M.BOS.RPT.407.DATA
12. 2 JOB.STATUS..... 0 READY
13. 2 LAST.RUN.DATE.. 30 MAR 2017
After tested, I removed 'HOWAREYOU' from 11.2.4 and authorised.
But when I running COB yesterday, an error message appears.
Fatal error in OPF error NO FILE.CONTROL RECORD - F.HOWAREYOU , MNEMONIC = NO
And F.EB.EOD.ERROR shows :
@ID............. CN0010001.20170330
ROUTINE......... OPF
DATE.RESOLVED...
EB.EOD.ERROR.ID. CN0010001.20170330
TIME.DATE....... 17:07:13 05 JUN 2017
DESCRIPTION..... NO FILE.CONTROL RECORD - F.HOWAREYOU , MNEMONIC = NO
APPLICATION.ID.. BNK/FILE.TIDY.UP-EB.CLEAR.FILES
PGM.FILE :
PROGRAM HOWAREYOU
1 TYPE.............. B
2. 1 GB SCREEN.TITLE howareyou
4. 1 BATCH.JOB...... @HOWAREYOU
5 PRODUCT........... EB
26 CURR.NO........... 1
27. 1 INPUTTER.......
28. 1 DATE.TIME...... 05 JUN 17 17:43
29 AUTHORISER........
30 CO.CODE...........
31 DEPT.CODE.........
Please note that there is no records about HOWAREYOU in BATCH, whether it is set as BATCH JOB or put in DATA.
Is there anyone can solve this?
Thank you for your help!
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
Clear the JOB.LIST, F.PROTOCOL and reset the status in BATCH before running again.
Please Log in or Create an account to join the conversation.
- woolala
- Topic Author
- Offline
- Junior Member
-
- Posts: 20
- Thank you received: 0
I run 6 times COB, each time got the same error.
_BNK/FILE.TIDY.UP_EB.CLEAR.FILES_14_06 JUN 2017_16:32:42_Standard multi-thread job
_BNK/FILE.TIDY.UP_EB.CLEAR.FILES_14_06 JUN 2017_16:32:42_Calling load routine
_BNK/FILE.TIDY.UP_EB.CLEAR.FILES_14_06 JUN 2017_16:32:46_Obtained the Locking with BNK/FILE.TIDY.UP-EB.CLEAR.FILES-2 and F.JOB.LIST.2
_BNK/FILE.TIDY.UP_EB.CLEAR.FILES_14_06 JUN 2017_16:32:46_Calling..EB.CLEAR.FILES.SELECT
_BNK/FILE.TIDY.UP_EB.CLEAR.FILES_14_06 JUN 2017_16:32:46_Fatal error in OPF error NO FILE.CONTROL RECORD - F.HOWAREYOU , MNEMONIC =
I tried clear JOB.LIST and F.PROTOCOL before running COB, but nothing changed...
Please Log in or Create an account to join the conversation.
- VK
-
- Offline
- Platinum Member
-
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
- Posts: 1209
- Thank you received: 158
search for FILE.TIDY.UP in F.LOCKING, might be a leftover there...
Cheers
VK
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
Please Log in or Create an account to join the conversation.
- woolala
- Topic Author
- Offline
- Junior Member
-
- Posts: 20
- Thank you received: 0
I found this record in F.LOCKING and deleted it.
LIST F.LOCKING PAGE 1 17:28:09 06 JUN 2017
@ID..... BNK/FILE.TIDY.UP-EB.CLEAR.FILES-2
@ID..... BNK/FILE.TIDY.UP-EB.CLEAR.FILES-2
KEY..... BNK/FILE.TIDY.UP-EB.CLEAR.FILES-2
CONTENT. F.JOB.LIST.1
REMARK..
And still nothing changed in COB, still same error.
I deleted it and restart tSA, it appears again.That's so weird....
Can I do 'CLEAR.FILE F.LOCKING' ?
Please Log in or Create an account to join the conversation.
- VK
-
- Offline
- Platinum Member
-
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
- Posts: 1209
- Thank you received: 158
Clear F.JOB.LIST.1
Also, post here the output of:
LIST F.BATCH 'BNK/FILE.TIDY.UP'
Cheers
VK
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
Never do CLEAR.FILE on F.LOCKING !
Please Log in or Create an account to join the conversation.
- woolala
- Topic Author
- Offline
- Junior Member
-
- Posts: 20
- Thank you received: 0
Here is the result 'LIST F.BATCH 'BNK/FILE.TIDY.UP:
LIST F.BATCH 'BNK/FILE.TIDY.UP' PAGE 1 09:15:52 07 JUN 2017
@ID............... BNK/FILE.TIDY.UP
@ID............... BNK/FILE.TIDY.UP
BATCH.PROCESS..... BNK/FILE.TIDY.UP
BATCH.STAGE....... D003
DEFAULT.PRINTER...
PROCESS.STATUS.... 1
BATCH.ENVIRONMENT. F
DEPARTMENT.CODE...
JOB.NAME.......... EOD.BLD.STMT.VAL.ENT EB.CLEAR.FILES EB.COPY.FILES.BOS
EB.CLEAR.FILES EB.PRIME.FILES AC.FWD.EXPOSURE
EB.OPEN.ACCOUNTING SOD.SUSPENSE.PROCESS
SOD.SUSPENSE.HISTORY SOD.CLEAR.FWD.CONSOL
AC.FORWARD.TXN.REGEN SOD.CUW.UPDATE SOD.LOCKED.DELETE
EB.PRINT EB.PURGE.FREQUENCY EB.PURGE.RTE
RE.PURGE.BALANCE.DETAILS
VERIFICATION...... EB.COPY.FILES.BOS EB.CLEAR.FILES EB.PRIME.FILES
FREQUENCY......... A D D D D D D D W D D D D A D
D A
NEXT.RUN.DATE..... 20100813 20040602
PRINTER.NAME......
JOB.STATUS........ 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
LAST.RUN.DATE..... 20170330 20170401 20170401 20170401 20170401
20170401 20170401 20100731 20170401 20170401
20170401 20170401 20100719 20170401 20170401
20040602
JOB.MESSAGE.......
RECORD.STATUS.....
CURR.NO........... 13
INPUTTER..........
DATE.TIME......... 1007311558
AUTHORISER........
CO.CODE...........
DEPT.CODE.........
AUDITOR.CODE......
AUDIT.DATE.TIME...
DATA.............. BOS.ACCT.OPEN.TODAY RE.SPEC.ENT.LWORK.DAY
POSITION.LWORK.DAY BOS.CU.ACT BOS.AC.PREPARED.CLOSE
M.BOS.RPT.407.DATA REBUILD
CSH.FLOW.EXCEP
USER..............
SELECT.AHEAD......
RESERVED.10.......
I just found a interest thing.
If I re-add a job 'HOWAREYOU' to BNK/FILE.TIDY.UP
The COB will works perfectly.
But if removed it, it will raised same error.
_BNK/FILE.TIDY.UP_HOWAREYOU_8_07 JUN 2017_10:59:56_Single Thread routine HOWAREYOU
_BNK/FILE.TIDY.UP_HOWAREYOU_8_07 JUN 2017_10:59:56_Starting job
_BNK/FILE.TIDY.UP_HOWAREYOU_8_07 JUN 2017_10:59:56_Allocating List File for BNK/FILE.TIDY.UP-HOWAREYOU-2
_BNK/FILE.TIDY.UP_HOWAREYOU_8_07 JUN 2017_10:59:56_Updating the Locking with BNK/FILE.TIDY.UP-HOWAREYOU-2 and F.JOB.LIST.6
_BNK/FILE.TIDY.UP_HOWAREYOU_8_07 JUN 2017_10:59:56_Using list file F.JOB.LIST.6
_BNK/FILE.TIDY.UP_HOWAREYOU_8_07 JUN 2017_10:59:56_Control list processing 1 1
**********************************************
* *
* YOU SUCCESS! *
* *
* *
**********************************************
_BNK/FILE.TIDY.UP_HOWAREYOU_8_07 JUN 2017_10:59:56_SELECT F.JOB.LIST.6 SAMPLE 100000 Selected=0 time=0secs
_BNK/FILE.TIDY.UP_EB.CLEAR.FILES_8_07 JUN 2017_10:59:56_Standard multi-thread job
_BNK/FILE.TIDY.UP_EB.CLEAR.FILES_8_07 JUN 2017_10:59:56_Calling load routine
_BNK/FILE.TIDY.UP_EB.CLEAR.FILES_8_07 JUN 2017_10:59:56_Starting job
_BNK/FILE.TIDY.UP_EB.CLEAR.FILES_8_07 JUN 2017_10:59:56_Allocating List File for BNK/FILE.TIDY.UP-EB.CLEAR.FILES-3
_BNK/FILE.TIDY.UP_EB.CLEAR.FILES_8_07 JUN 2017_10:59:56_Updating the Locking with BNK/FILE.TIDY.UP-EB.CLEAR.FILES-3 and F.JOB.LIST.6
_BNK/FILE.TIDY.UP_EB.CLEAR.FILES_8_07 JUN 2017_10:59:56_Calling..EB.CLEAR.FILES.SELECT
Please Log in or Create an account to join the conversation.
- VK
-
- Offline
- Platinum Member
-
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
- Posts: 1209
- Thank you received: 158
what I see in the BATCH record is that DATE.TIME belongs to the year 2010.,.. How could that be?
Cheers
VK
Please Log in or Create an account to join the conversation.
- woolala
- Topic Author
- Offline
- Junior Member
-
- Posts: 20
- Thank you received: 0
Yes, but it still could run COB...
I don't know why LAST.RUN.DATE changed but NEXT.RUN.DATE not.
it full of mystery...
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
LIST F.BATCH "BNK/FILE.TIDY.UP" JOB.NAME VERIFICATION FREQUENCY NEXT.RUN.DATE LAST.RUN.DATE DATA ID-SUPP
I suppose the 2010 date belongs to another job.
NEXT.RUN.DATE is only updated on frequency like W or M when the COB was run on exact day . . .
The status of EB.CLEAR.FILES in BATCH is still 1, JED this to 0 (and also the PROCESS.STATUS), make sure the two entries in F.LOCKING are deleted and the JOB.LIST is cleared.
Please Log in or Create an account to join the conversation.
- VK
-
- Offline
- Platinum Member
-
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
- Posts: 1209
- Thank you received: 158
what I meant is "how the BATCH record was changed to add / remove HOWAREYOU if the DATE.TIME is old?"
Did you use JED for that?
Cheers
VK
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
As there is still RESERVED.10 he seems to be before R10, I think to remember there has been an error in R08 (?) that you can't commit a BATCH . . .
Please Log in or Create an account to join the conversation.
- VK
-
- Offline
- Platinum Member
-
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
- Posts: 1209
- Thank you received: 158
Cheers
VK
Please Log in or Create an account to join the conversation.
- jpb
-
- Offline
- Moderator
-
- retired . . . ¯\_(ツ)_/¯
- Posts: 2859
- Thank you received: 650
Please Log in or Create an account to join the conversation.
- woolala
- Topic Author
- Offline
- Junior Member
-
- Posts: 20
- Thank you received: 0
I meant if I add a JOB.NAME named 'HOWAREYOU' in 'BNK/FILE.TIDY.UP'
like this:
JOB.NAME.......... EOD.BLD.STMT.VAL.ENT [color=red]HOWAREYOU[/color] EB.CLEAR.FILES EB.COPY.FILES.BOS
EB.CLEAR.FILES EB.PRIME.FILES AC.FWD.EXPOSURE
EB.OPEN.ACCOUNTING SOD.SUSPENSE.PROCESS
....
The COB will works perfectly.
But if removed it from JOB.NAME and runs COB again, would raised Fatal error in OPF error NO FILE.CONTROL
@JPB
Not R08, we use R09....
So in fact I should not changed any original T24 records in BATCH, right?
I have some questions. Can you explain it more clearly?
The status of EB.CLEAR.FILES in BATCH is still 1, JED this to 0 (and also the PROCESS.STATUS), make sure the two entries in F.LOCKING are deleted and the JOB.LIST is cleared.
1.) I know that JED EB.CLEAR.FILES to 0, but what is PROCESS.STATUS?
And what is 'two entries in F.LOCKING' ?
2.) When should I do this? while COB terminate at 'BNK/FILE.TIDY.UP' or before running COB?
Here is the result of
LIST F.BATCH "BNK/FILE.TIDY.UP" JOB.NAME VERIFICATION FREQUENCY NEXT.RUN.DATE LAST.RUN.DATE DATA ID-SUPP
LIST F.BATCH "BNK/FILE.TIDY.UP" JOB.NAME VERIFICATION FREQUENCY NEXT.RUN.DATE LAST.RUN.DATE DATA ID-SUPP PAGE 1 09:16:54 08 JUN 2017
JOB.NAME...... EOD.BLD.STMT.VAL.ENT HOWAREYOU EB.CLEAR.FILES
EB.COPY.FILES.BOS EB.CLEAR.FILES EB.PRIME.FILES
AC.FWD.EXPOSURE EB.OPEN.ACCOUNTING SOD.SUSPENSE.PROCESS
SOD.SUSPENSE.HISTORY SOD.CLEAR.FWD.CONSOL
AC.FORWARD.TXN.REGEN SOD.CUW.UPDATE SOD.LOCKED.DELETE
EB.PRINT EB.PURGE.FREQUENCY EB.PURGE.RTE
RE.PURGE.BALANCE.DETAILS
VERIFICATION.. EB.COPY.FILES.BOS EB.CLEAR.FILES EB.PRIME.FILES
FREQUENCY..... A A D D D D D D D W D D D D A D
D A
NEXT.RUN.DATE. 20100813 20040602
LAST.RUN.DATE. 20170405 20170405 20170405 20170405 20170405 20170405
20170405 20100731 20170405 20170405 20170405 20170405
20100719 20170405 20170405 20040602
DATA.......... BOS.ACCT.OPEN.TODAY RE.SPEC.ENT.LWORK.DAY POSITION.LWORK.DAY
BOS.CU.ACT BOS.AC.PREPARED.CLOSE M.BOS.RPT.407.DATA
REBUILD CSH.FLOW.EXCEP
Please Log in or Create an account to join the conversation.
- VK
-
- Offline
- Platinum Member
-
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
- Posts: 1209
- Thank you received: 158
would be much easier if you post the BATCH record how it's represented in T24 (terminal).
Cheers
VK
Please Log in or Create an account to join the conversation.
- woolala
- Topic Author
- Offline
- Junior Member
-
- Posts: 20
- Thank you received: 0
Hi
would be much easier if you post the BATCH record how it's represented in T24 (terminal).
like this?
i.imgur.com/iIm5jEm.jpg
Please Log in or Create an account to join the conversation.
- VK
-
- Offline
- Platinum Member
-
- Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
- Posts: 1209
- Thank you received: 158
Just copy/paste the text from Globus Classic
Cheers
VK
Please Log in or Create an account to join the conversation.
- Forum
- T24 Technical Discussions
- T24 Development & Customization
- Fatal error in OPF error NO FILE.CONTROL in COB