Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

Problem with Date Type field and field Reference File

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

  • Problem with Date Type field and field Reference File

    Please post your code. Dave

  • #2
    Problem with Date Type field and field Reference File

    I'm hoping that I've just missed something simple and stupid. I've created a field reference file with multiple alpha, numeric, and date type fields. Then I created multiple physical files referencing various fields in the field reference file. Then I created between 1 and 4 logicals over each physical file. I'm writing a simple Add/Update program in RPGIV using one of the logical files to either add or update records. But, the compile fails because all of the date fields are coming up as undefined. Is there some glitch that doesn't allow date type data fields to be referenced?

    Comment


    • #3
      Problem with Date Type field and field Reference File

      and, I should have known better. I had defined the file in the F specs as output only. When I changed this to Update add, it compiled cleanly.

      Comment

      Working...
      X