ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Coverting VARCHAR to Decimal in logical files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Coverting VARCHAR to Decimal in logical files

    When creating a Logical file, how do you convert a VARCHAR field in a Physical File to a decimal field in the logical?

    Thanks for your help in advance.

  • #2
    Re: Coverting VARCHAR to Decimal in logical files

    I'm not sure if you can do this with an LF. You can do an SQL View and use the ZONED function to convert a char to a numeric.
    iSeriesCOBOL
    www.iseries-cobol.com

    Comment

    Working...
    X