Jump to content


Photo
- - - - -

055 Record not in file


2 replies to this topic

#1 zxx2403

zxx2403

    Newbie

  • Members
  • Pip
  • 6 posts
  • Gender:Male

Posted 14 February 2007 - 01:42 AM

I have a question about proiv file
following this
015 '' 1 116 129 DAO INP Y
<-- Read Lgc --> <Write Lgc> Sort Skp
Sq File & Alt A C D L Bef Err Aft Lock Bef Err Aft Rtn Fld Drv Y Lgc DC
-- ---------- - - - - --- --- --- ---- --- --- --- -------- --- - --- ---
01 C_PO07D A C N L 013 014 015 016 +1
02 C_PO18D A L N L 017 018 019 +1
03 C_PO17D C C N L 020 021 +1
04 PO C L N L 022 023 021 -2
05 PO_DEL L L N L 120
06 DTS L L N L 024 025 026 -2
07 C_EG01D L L N L 027 028 029 +1
08 C_EG01D L L N L 030 031 032 +1
09 LOC L L N L 033 +1
10 C_ED10D C L N L 034 035 036 037 +1
11 PO_HDR C L N L 038 021 -2
12 C_PO45D 1 L L N L 039 040 +1
13 ITEM_CCN L L N L 040 041
14 COUNTRY L L N L 042 043
15 COUNTRY L L N L 044 045


the program give a message '055 record not in file'
I want to know how can i do ,The program not give a error message '055'

Looking forward to your answer

#2 Jeff Hon

Jeff Hon

    Member

  • Members
  • PipPip
  • 29 posts
  • Gender:Male
  • Location:Melbourne, Australia

Posted 14 February 2007 - 04:00 AM

Dude,

"055 Record not in file" is the default PRO-IV After Read Error message where you haven't specified any read error handling. Usually, you would define your own Error Message in the function and call that Error Message as part of the After Read Error logic. That would display in place of the PRO-IV default message. You then need specify a DSEL or a DSELF or an FNEXIT depending on the severity of the read error.

HTH.

Jeff.

#3 andykay

andykay

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 204 posts
  • Gender:Male
  • Location:Cyberspace...looking for work

Posted 14 February 2007 - 05:58 AM

Dude,

"055 Record not in file" is the default PRO-IV After Read Error message where you haven't specified any read error handling.


DUDE,

2403 does have ARE logics 43 and 45 in place already. There is little use of ARE logic if you don't have some sort of DSEL(F) statement in there because you'll get the 055 error anyways.

While it is possible that 2403 forgot to place a DSEL(F) line in logics 43 and 45, I would also add that it might be possible that the COUNTRY field value is either not the same variable name as the KEY FIELD name (perhaps a scratch variable) and the mapping is not correct, or it's getting lost before accessing the file. These are the 2 main reasons why a DAO field would return a 055 message if the record actually exists. I'd start by placing a UMSG in the Before Field Logic of the Country field to see what the value for the field is, and then at the mappings for the files by placing UMSG's in Logics 42 & 44, to see what is actually being used as the keys to read the file."


AK
THE LIGHT AT THE END OF THE TUNNEL IS THE HEADLAMP OF THE TRAIN THAT'S ABOUT TO HIT YOU!!!



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users