ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

CPD5263 Too many record level keywords or help specifications.

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

  • CPD5263 Too many record level keywords or help specifications.

    Has anyone seen this message before? It's new to me, and I can't find anything about it, even searching IBM's website and the entire world (well, Google). ;-)

    It went away when I cleaned up other errors, but I'm still curious as to why it appeared and why it's (seemingly) not documented anywhere.

    I got it on a (subfile control) record where I'm using a total of nineteen keywords (which doesn't seem a ridiculously large number) and 46 "H" specs.

    Code:
         A          R DR01D01C                  SFLCTL(DR01D01S)
         A                                      SFLSIZ(0050)
         A                                      SFLPAG(0010)
         A                                      OVERLAY
         A                                      HLPCLR
         A                                      PAGEDOWN
         A                                      CA03(03 'Exit')
         A                                      CF04(04 'Breeds')
         A                                      CF05(05 'Refresh')
         A                                      CF06(06 'Add')
         A                                      CF09(09 'Clear search')
         A                                      CF17(17 'Top of list')
         A* *** Forthcoming ****                CF18(18 'Bottom of list')
         A  90                                  SFLCLR
         A N90                                  SFLDSPCTL
         A  91                                  SFLDSP
         A  93                                  SFLEND(*PLUS)
         A  97                                  SFLINZ
         A                                      RTNCSRLOC(*RECNAME
         A                                      &C1CSRREC &C1CSRFLD &C1CSRPOSTN)
         A                                      CSRLOC(C1OUTROW C1OUTCOL)
          *

  • #2
    Re: CPD5263 Too many record level keywords or help specifications.

    just a guess...looks like you are missing + sign after first line of RTNCSRLOC ... here is an example Ive used for 600 years

    PHP Code:
    00      A                                      RTNCSRLOC(&#REC &#FLD)        
    00      A                                      CSRLOC(C1OUTROW C1OUTCOL)     
    00      A            #REC          10A  H                                    
    00      A            #FLD          10A  H 
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

    Comment


    • #3
      Re: CPD5263 Too many record level keywords or help specifications.

      Thanks, Jamie. I'm not sure a "+" is required ... but I like the concise format. (I'm not sure I've ever really used the cursor position within field anyway.) ;-)

      I don't know ... The CPD5263 error was flagged on the very first line of the record declaration ("R DR01D01C"); it was also the first error flagged in the file. Maybe the compiler just somehow got confused!

      Comment

      Working...
      X