ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

suppress the detail message

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

  • suppress the detail message

    I have a CL program that will be invoked in Command Entry. After it ran, the statements it has performed can be seen if you press F10 to see the detailed message. Is there a way to suppress that? Or maybe, is there a way to completely remove the previous commands and message without logging off?

  • #2
    I'm still not sure because I'm now away with as400. But it seems when I compile the CL I can use this option and set to *NO
    LOG Log commands *JOB, *YES, *NO

    Comment


    • #3
      just want to confirm that the LOG(*NO) suppresses the message.

      Comment


      • #4
        I've not used the LOG parameter when creating CL programs so can't say for sure but the help text indicates that would correct the issue. I wonder if this might make debugging more difficult later.
        From your initial description, I assume you are referring to LOGCLPGM parameter rather than general result messages? Have you thought of adding a CHGJOB LOGCLPGM(*NO) to your source code and reverting back after?

        Comment

        Working...
        X