ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

UIM Error CPD5A8C - Text found after EHELP tag

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

  • UIM Error CPD5A8C - Text found after EHELP tag

    Something weird happening here....

    I've been writing UIM PNLGRP help for decades and have used just about every tag available and have never encountered this error.
    There is no text after my EHELP tags as that tag is the end of the Help section yet I get this error that there is text after the EHELP tag!
    It as if the compiler is not seeing the period at the end but sees the next line instead... very strange.

    Searched the internet for the message id but didn't come up with much so here I am.

    Anyone have a clue as to what's causing this or how to fix it.
    I've done all the obvious things like; deleting the line and rewriting it, start over, add other tags before it....
    Help please.

    Red.
    Everyday's a school day, what grade are you in?

  • #2
    Update:
    I have 20+ EHELP tags in the PNLGRP and only 3 are generating this error:
    Code:
    0031.00 :p.                                                             
    0032.00 :li.:hp2."M":ehp2. - will allow Monthly reporting.              
    0033.00 :li.:hp2."P":ehp2. - will display an additonal field requiring a
    0034.00 value of 1 to 999 days.                                         
    0035.00 :li.:hp2."W":ehp2. - will allow Weekly reporting.               
    0036.00 :eol.                                                           
    0037.00 :p.                                                             
    0038.00 :ehelp.                                                         
    0039.00                                                                 
    0040.00 :* Screen #1                                                    
     (Compile listing...)                                                  
     Columns . . . :    1 121                                      Browse   
     SEU==>                                                                 
    0000.49     3800        22     :ehelp.                                  
    0000.50 *                    CPD5A8C - Text found after EHELP tag.
    I created a new member with only a few tags, one being the EHELP tag, and that compiled normally:
    Code:
    0017.00 :pnlgrp.                           
    0018.00                                    
    0019.00 :help name='GENERAL'.              
    0020.00 :h1.Instructions                   
    0021.00 :p.                                
    0022.00 :ehelp.                            
    0023.00                                    
    0024.00 :epnlgrp.
    Everyday's a school day, what grade are you in?

    Comment


    • #3
      I don't see a :OL. tag so will assume it is there and just missing from the portion you have shown.
      I think line 40 is supposed to be a comment, however comments should start with .* and not :* so suspect that is the issue.

      Comment


      • #4
        Agree with John...the overwhelming majority of errors like this are due to missing tags and/or typos like *:

        Comment

        Working...
        X