Uploaded image for project: 'Rules Repository'
  1. Rules Repository
  2. RSPEC-2028

"UNDERLINE" should not be used

    XMLWordPrintable

    Details

    • Type: Bug Detection
    • Status: Active
    • Resolution: Unresolved
    • Labels:
    • Message:
      Remove this use of "UNDERLINE".
    • Default Severity:
      Major
    • Impact:
      Low
    • Likelihood:
      High
    • Targeted languages:
      RPG
    • Remediation Function:
      Constant/Issue
    • Constant Cost:
      5min

      Description

      The use of UNDERLINE makes normal text printed to the screen difficult to read, and prevents titles from being read at all. For these reasons, UNDERLINE should not be used.

      Noncompliant Code Example

           R DETAIL1
            * Noncompliant; next line contains UNDERLINE
             NAME          25      2  2UNDERLINE
             ADD1          25      3  2
           R DETAIL3
             ADD2          25         2SPACEB(1)
      

      Compliant Solution

           R DETAIL1
             NAME          25      2  2
             ADD1          25      3  2
           R DETAIL3
             ADD2          25         2SPACEB(1)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              ann.campbell.2 Ann Campbell
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: