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

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

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

Exit status<br />

Examples<br />

v 0 when successful.<br />

v >0 when unsuccessful.<br />

1. Add the library MYLIB to the library list: liblist -a MYLIB<br />

2. Remove the library MYLIB from the library list: liblist -d MYLIB<br />

3. Set the current library to MYLIB: liblist -c MYLIB<br />

4. Unset the current library: liblist -cd<br />

5. Display the library list: liblist<br />

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

sleep - Suspend invocation for an interval<br />

Synopsis<br />

Description<br />

Options<br />

Operands<br />

Exit status<br />

sleeptime<br />

You can use sleep to suspend a process from running for time seconds.<br />

None.<br />

trap - Trap signals<br />

Synopsis<br />

Description<br />

90 <strong>Qshell</strong> <strong>Interpreter</strong> (<strong>qsh</strong>)<br />

The value of time must be a positive integer.<br />

v 0 when successful.<br />

v >0 when time is invalid.<br />

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

trap[ action condition ... ]<br />

trap -p[ condition ... ]<br />

You can use trap to specify the action for <strong>qsh</strong> to take when a condition arises. <strong>qsh</strong><br />

expands action once when running trap and again when condition arises.

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

Saved successfully!

Ooh no, something went wrong!