Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
z/OS UNIX commands, TSO commands, CLISTs, and REXX EXECs z/OS ISPF User's Guide Vol II SC19-3628-00 |
|
Besides the ISPF-supplied line commands, you can also enter z/OS® UNIX Commands, TSO commands, CLISTs, and REXX EXECs that use a path name as an operand. The line command field is a scrollable field with a maximum length of 255 characters and a display length of 8 characters. If the command you want to enter requires more space than is available in the display field, use the EXPAND function key (F4) to display the entire 255-character line command input field in a pop-up window. The line command prefix characters > and < are used to identify a command to be run in z/OS UNIX. ISPF uses the spawn service (BPX1SPN) to create a new process and execute the command. The > prefix character requests that the command be run by the z/OS UNIX login shell. The < prefix character requests that the command be run directly. Figure 1 shows an example of using the c89 shell command to compile, link-edit, and assemble the C program contained in the file /u/myhome/hello.c. The > character before the command name indicates that it will be run in a login shell environment: Figure 1. Example: specifying a z/OS UNIX command
to run on a selected file
Figure 2 shows an example of running the program /u/myhome/hello.c directly in z/OS UNIX. The < character indicates that the selected file is the name of a command that is to be run: Figure 2. Example: running the selected
file directly
A line command that is not recognized as a z/OS UNIX Directory List line command, or is not prefixed with < or >, is assumed to be a TSO command, CLIST, or REXX EXEC. These commands are passed to TSO for execution using the ISPF SELECT CMD service. Variable names that start with an ampersand (&) are evaluated by ISPF. If you want the underlying command processor to see the ampersand you must specify two consecutive ampersands (&&). Figure 3 shows an example of running a REXX EXEC called LISTDATA against the file prog1 in directory /u/myhome. This is the same as entering this command on the Command line:
Figure 3. Example: specifying a REXX
exec to run on a selected file
Note: If the TSO command, CLIST, or REXX exec issues a return code
greater than or equal to 8, processing stops and an error message
is displayed.
|
Copyright IBM Corporation 1990, 2014
|