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

Create successful ePaper yourself

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

A relative time specification may not use AM/PM format. The third form removes<br />

item n from the event list:<br />

> sched<br />

1 Wed Apr 4 15:42 /usr/lib/uucp/uucico -r1 -sother<br />

2 Wed Apr 4 17:00 set prompt=[%h] It’s after 5; go home: ><br />

> sched -2<br />

> sched<br />

1 Wed Apr 4 15:42 /usr/lib/uucp/uucico -r1 -sother<br />

A command in the scheduled-event list is executed just before the first prompt is<br />

printed after the time when the command is scheduled. It is possible to miss the<br />

exact time when the command is to be run, but an overdue command will execute<br />

at the next prompt. A command which comes due while the shell is waiting for user<br />

input is executed immediately. However, normal operation of an already-running<br />

command will not be interrupted so that a scheduled-event list element may be run.<br />

This mechanism is similar to, but not the same as, the at command on some <strong>UNIX</strong><br />

systems. Its major disadvantage is that it may not run a command at exactly the<br />

specified time. Its major advantage is that because sched runs directly from the<br />

shell, it has access to shell variables and other structures. This provides a<br />

mechanism for changing one’s working environment based on the time of day.<br />

Related information<br />

tcsh<br />

setenv built-in command for tcsh: Set environment variable name to<br />

value<br />

Format<br />

setenv [name [value]]<br />

Description<br />

setenv without arguments, prints the names and values of all environment<br />

variables. Given name, sets the environment variable name to value or, without<br />

value, to the null string.<br />

Related information<br />

tcsh<br />

settc built-in command for tcsh: Tell tcsh shell the terminal capability<br />

cap value<br />

Format<br />

settc cap value<br />

Description<br />

settc tells the tcsh shell to believe that the terminal capability cap (as defined in<br />

termcap) has the value value. No sanity checking is done. Concept terminal users<br />

may have to settc xn no to get proper wrapping at the rightmost column.<br />

Related information<br />

tcsh<br />

tcsh: sched<br />

Chapter 2. Shell command descriptions 689

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

Saved successfully!

Ooh no, something went wrong!