ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Source records exist but No array or table definition found

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

  • Source records exist but No array or table definition found

    Hi,

    I wrote a SQLRPGLE program to get a set of records using cursor and then populating the retrieved records into a file. I compiled and received the following error "Source records exist but no array or table definition found". I could not find why this error has occured.

    I had defined the file in F Spec as

    FISPWXXXX UF A E K Disk

    Please Help.

    Thanks in Advance

    Regards,
    Kamalesh

  • #2
    Re: Source records exist but No array or table definition found

    sounds more like you have compile time data defined and you didn't add the D spec to define the compile time data to me...and that would have absolutely nothing to do with the F spec. can you post the code? and use [code][/code] tags so we can read it more easily?
    I'm not anti-social, I just don't like people -Tommy Holden

    Comment


    • #3
      Re: Source records exist but No array or table definition found

      yeah... exactly.. it was the other way round..
      actually i had removed the array definition in D spec and forgot to remove the compile time data.. since the compile time data were 4 chars of length.. i had missed them..

      thanks..

      Comment

      Working...
      X