# jCL X
Updated: 2/24/2021, 3:51:59 PM
Created: 2/24/2021, 3:51:59 PM
Last Updated By: Daniel Klein
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.