29.06.2013 Views

Qshell Interpreter (qsh) - FTP Directory Listing - IBM

Qshell Interpreter (qsh) - FTP Directory Listing - IBM

Qshell Interpreter (qsh) - FTP Directory Listing - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

system - Run CL command<br />

Synopsis<br />

Description<br />

Options<br />

Operands<br />

Exit Status<br />

Examples<br />

system [ -nqv ] CLcommand [ arg ... ]<br />

You can use system to run a CL command. Any messages and spool file output<br />

generated by CLcommand is written to standard output. By default, messages are<br />

written using the following format:<br />

MsgId: Message text<br />

v -n Only display the message text of any messages generated by the command.<br />

v -q Do not write messages generated by the command to standard output.<br />

v -v Display the CL command before running it.<br />

Each arg is a parameter to the CL command. You may need to enclose<br />

CLcommand and arg(s) in quotes to prevent <strong>qsh</strong> from expanding the string.<br />

v 0 when the CL command is successful<br />

v >0 when the CL command is unsuccessful<br />

1. List all of the active jobs: system wrkactjob<br />

[ Legal | AS/400 Glossary ]<br />

whence - Find type of command<br />

Synopsis<br />

Description<br />

Options<br />

whence [ -afpv ] name ...<br />

You can use whence to find the type of each specified name.<br />

Note that whence is equivalent to command -v and whence -v is equivalent to<br />

command -V.<br />

v -a Show all uses for name.<br />

v -f Do not check to see if name is a function.<br />

Chapter 4. Utilities 37

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

Saved successfully!

Ooh no, something went wrong!