z/OS UNIX System Services User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Changing the default in the z/OS shell

z/OS UNIX System Services User's Guide
SA23-2279-00

If you change the setting to +m, background jobs end when you exit the shell. If you have changed the setting to +m and you want to start a long-running command and have it continue running after you exit the shell, use the nohup command and an ampersand (&):
nohup 'command-line' &
For example:
nohup sort -u file1 >output 2>>outerr &

Ending the nohup command with an & makes the command run in the background, even after you exit the shell.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014