Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

FOC1130 what went wrong with the format conversion?

FOC1130 what went wrong with the format conversion?

FOC1130 what went wrong with the format conversion?


In my Master File Description I have defined the following field:

FIELDNAME=SUM         ,ALIAS=SUM         ,   
USAGE=I007    ,ACTUAL=P013    ,              
DESC='SUM                                 ',$

And I receive the error FOC1130 (Format conversion error).

Can anybody tell me what goes wrong in converting the P013 format to a I007 format?

Thanks a lot

RE: FOC1130 what went wrong with the format conversion?

Try I7 and P13. Focus doesn't really use leading zeroes in formats. BTW, you are going to have no end of trouble with that field name. SUM is almost certainly a reserved word, and Focus is going to have a devil of a time trying to figure out what you are talking about.

RE: FOC1130 what went wrong with the format conversion?

Leading zeros are should not be an issue in the master file description, but as kiddpete stated SUM as a field name (or alias) will cause you many headaches.  Change the field name/alias to something like SUM_FLD and you should be OK

SUM is a verb for a table request.

RE: FOC1130 what went wrong with the format conversion?


The leading zeros are no problem. I use them with character fields as well. But I now found the solution to the problem. I had an old data description that was used with RAMIS (another programming language that is similar to WebFocus). And P13 in RAMIS is P7 in WebFocus. A collegue told me the thumb rule is

(Packed RAMIS format + 1) / 2 = Packed WebFocus format

ok, SUM... I know what you mean. I now use a different name. Thanxs a lot.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close