Forum
Keyword
× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

** FATAL ERROR IN (OPF) **

  • ninatxane
  • ninatxane's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0

ninatxane created the topic: ** FATAL ERROR IN (OPF) **

Dear ALLT24,

I am trying to rum an application but got the following error
** FATAL ERROR IN (OPF) **
MISSING FILE - F.CNT.UNP$HIS , MNEMONIC =

I have noticed that when run CREATE.FILES, with the FILE name CNT.UNP, it creates files with (_) not (.)

[ 417 ] File ..\bnk.data\F_CNT_UNP created , type = J4
[ 417 ] File ..\bnk.data\F_CNT_UNP#NAU created , type = J4
..\bnk.data\eb\&HOLD&\15709004005805100.START
..\bnk.data\eb\&HOLD&\15709004005805100
1 file(s) copied

the file is like this

-->JED F.FILE.CONTROL CNT.UNP
*File F.FILE.CONTROL , Record 'CNT.UNP' Insert 16:17:47
Command-> FI
0001 CNT.UNP
0002 EB
0003 $NAU
0004 2
0005 5
0006 INT
0007
0008 N
0009 N

PLEASE ADVICE
#6216

Please Log in or Create an account to join the conversation.

  • Posts: 128
  • Karma: 3
  • Thank you received: 10

shanthi replied the topic: Re: ** FATAL ERROR IN (OPF) **

I am guessing here.

You are trying to create a new application CNT.UNP and defined it as "H" type application in PGM.FILE. However in FILE.CONTROL you have not added $HIS to the list of files to be created. Hence the error.

Please add $HIS along with $NAU in FILE.CONTROL and re-run CREATE.FILES for CNT.UNP. It should solve your error.

Cheers,
Shanthi
#6220

Please Log in or Create an account to join the conversation.

  • ninatxane
  • ninatxane's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0

ninatxane replied the topic: Re: ** FATAL ERROR IN (OPF) **

Thank you Shanthi,

actually have removed the $HIS suffixe because when is both suffixe in PGM.FILE it does not create HIS and NAU files. It just create one file with #NAU]#HIS as suffixes.

[ 417 ] File ..\bnk.data\F_CNT_UNP created , type = J4
[ 417 ] File ..\bnk.data\F_CNT_UNP#NAU]#HIS created , type = J4
..\bnk.data\eb\&HOLD&\15709004005805100.START
..\bnk.data\eb\&HOLD&\15709004005805100
1 file(s) copied.

what separation character is used to separate the suffixes when JED FILE.CONTROL in a Windows system?

Regards
#6227

Please Log in or Create an account to join the conversation.

  • Posts: 128
  • Karma: 3
  • Thank you received: 10

shanthi replied the topic: Re: ** FATAL ERROR IN (OPF) **

VM is the separator, can't you input from T24?

If not copy a record that has both the suffix.

Regards,
Shanthi
#6228

Please Log in or Create an account to join the conversation.

  • ninatxane
  • ninatxane's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0

ninatxane replied the topic: Re: ** FATAL ERROR IN (OPF) **

Hi

Even if copying it is having the same behavour.

have delete and create again the file, but still the same.
it cerates the file with 2 prefixes added.

regards,
#6250

Please Log in or Create an account to join the conversation.

  • Posts: 110
  • Karma: 1
  • Thank you received: 8

Lars replied the topic: Re: ** FATAL ERROR IN (OPF) **

It is obviously that the VM ] is not identified as a VM
In Windows use this sign: ý (do copy and paste)

In Unix try it with putty and change your settings to utf-8 and Insert with "CTR+]"
It works also with this char ý
#6253

Please Log in or Create an account to join the conversation.

  • ninatxane
  • ninatxane's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0

ninatxane replied the topic: Re: ** FATAL ERROR IN (OPF) **

it is a Windows system.
have copyed the character but still not working correctly.


[ 417 ] File ..\bnk.data\F_CNT_UNP#NAUy#HIS created , type = J4
..\bnk.data\eb\&HOLD&\15713004063365200.START
..\bnk.data\eb\&HOLD&\15713004063365200
1 file(s) copied.
#6256

Please Log in or Create an account to join the conversation.

  • Posts: 110
  • Karma: 1
  • Thank you received: 8

Lars replied the topic: Re: ** FATAL ERROR IN (OPF) **

Make a DELETE.FILE on the file first
then copy an existing FILE.CONTROL record like:
COPY FROM F.FILE.CONTROL TO F.FILE.CONTROL F.MASTER,F.NEW
change the description with jed
try the create.file again...
#6269
The following user(s) said Thank You: ninatxane

Please Log in or Create an account to join the conversation.

  • ninatxane
  • ninatxane's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 11
  • Thank you received: 0

ninatxane replied the topic: Re: ** FATAL ERROR IN (OPF) **

thank u very much!
it works
#6294

Please Log in or Create an account to join the conversation.

  • Posts: 12
  • Thank you received: 0

rizkiisroi replied the topic: Re: ** FATAL ERROR IN (OPF) **

Thanks dude, it's worked
#21473

Please Log in or Create an account to join the conversation.

Time to create page: 0.152 seconds