16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

g<br />

bg — Move a job to the background<br />

Format<br />

Description<br />

Usage Note<br />

Exit Values<br />

Portability<br />

bg [job...]<br />

tcsh shell: bg [%job ...]<br />

bg runs one or more jobs in the background. The job IDs given on the command<br />

line identify these jobs, which should all be ones that are currently stopped. If you<br />

do not specify any job IDs, bg uses the most recently stopped job.<br />

bg works only if job control is enabled; see the –m option of set for more<br />

information. Job control is enabled by default in the z/<strong>OS</strong> shell.<br />

bg in the tcsh shell<br />

In the tcsh shell, bg puts the specified jobs (or, without arguments, the current job)<br />

into the background, continuing each if it is stopped. job may be a number, a string,<br />

’’, %, + or - .<br />

In the tcsh shell, %job & is a synonym of the bg command.<br />

Localization<br />

bg uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

v NLSPATH<br />

See Appendix F, “Localization” for more information.<br />

bg is a built-in shell command.<br />

0 Successful completion<br />

>0 Failure because a job argument is incorrect or there is no current job<br />

If an error occurs, bg exits and does not place the job in the background.<br />

P<strong>OS</strong>IX.2 User Portability Extension, <strong>UNIX</strong> systems.<br />

Related Information<br />

at, batch, fg, jobs, set, tcsh<br />

bpxmtext — Display reason code text<br />

Format<br />

bpxmtext reason_code<br />

66 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!