# jCL X
Updated: 10/19/2021, 9:29:48 PM
Created: 10/19/2021, 9:29:48 PM
Last Updated By: Kevin Munoz
Read Time: 1 minute(s)
The command halts execution of the program and returns control to the shell.
- text is any text to be displayed on exit.
- + suppress a NEWLINE at exit or after text output.
The X command returns control directly to the shell.
F-OPEN 1 SALES XCannot Open SALES file!
The X command stops execution of the program if the file SALES cannot be opened, and displays a suitable message.
See also List processing
Back to jCL.