HPlogo Commands Reference HP 3000 Series 9X8LX Computer Systems > Chapter 2 MPE/iX Commands

COMMENT

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The COMMENT command enables you to insert a comment into a job stream or a user command.

Syntax

   COMMENT [text]

Parameters

text

Consists of the comment text that includes an explanation about the purpose of commands or the logic used in creating the job. You can also use text to create job headings. The text can consist of any ASCII characters.

The default is that a record containing only the string "COMMENT" is inserted in the command stream.

Operation Notes

  • Usage

    You can enter this command from a session, a job, a program, or in break mode. Pressing Break does not affect this command.

  • Adding comment lines

    To continue comment text onto the next line, use an ampersand (&) as the last nonblank character of the line. Add the ampersand for each line of text that you want to continue.

Example

  • To include the comment THIS IS A SAMPLE JOB in the job named JOB1, insert the following in your text file:

       !JOB JOB1,USER.FINANCE
    
       !COMMENT -- THIS IS A SAMPLE JOB
    
       !FORTGO MYPROG
    
       !EOJ
    

Related Commands

None

Feedback to webmaster