# jCL O

Updated: 10/23/2020, 1:48:27 PM
Created: 10/23/2020, 1:48:27 PM
Last Updated By: Mike Street
Read Time: 1 minute(s)

Tags: output jcl

# Descritpion

This command outputs a text string to the terminal. It takes the general form:

O{text}{+}
1

where:

  • text is the text to be displayed.
  • + inhibits a NEWLINE at the end of the output and leaves the cursor positioned to the right of the last character displayed. This is often used when prompting for input.

# Note

The O command has largely been replaced by the T command, which also provides cursor positioning and special display features.

If no text is supplied, a blank line will be output.

# Example 1

|    Command    | Terminal Output |
|    -------    | --------------- |
| OSALES SYSTEM | SALES SYSTEM    |
1
2
3

# Example 2

|       Command      | Terminal Output  |
|       -------      | ---------------- |
| OEnter Password +  | Enter Password : |
| IP:                |                  |
1
2
3
4

Back to jCL.