Issuing MVS or JES commands

You can issue any MVS and JES command from the SDSF command line. Type a slash (/) followed by the command. For example, the DISPLAY USER command /F SDSF,D USER displays the active connected users of the SDSF server. As another example, /D A,L lists all active jobs in the system.

The messages issued in response to the commands are displayed on the information lines of the panel. The complete set of responses is in the user session log (ULOG).

You can set a delay interval, which is the maximum amount of time SDSF will wait for messages, with this command: SET DELAY seconds. The default is 1 second. A delay of 0 specifies that messages issued in response to / commands should not be displayed on the message lines.

Using the System Command Extension pop-up

Start of changeWhen using SDSF interactively, you can specify a longer command by typing slash (/) by itself to display the System Command Extension pop-up, and then typing the command on the pop-up and pressing Enter to issue it. Do not preface the command with a slash, unless you want the slash to be part of the command text. End of change

Edit  Options  Help                                                 
                                                                       
                       System Command Extension                        
                                                                       
 ===>___________                                                                  
 ===>___________                                                                  
                                                           STORELIMIT  
 Comment__________                                                               
                                                                       
 Group___________            Show *___________       (F4 for list)        
                                                          More:     +  
 =>  D M=CPU                                                           
 =>                                                                    
 =>                                                                    
                                                                
 F5=FullScr F6=Details F7=Up F8=Down F10=Save F11=Clear F12=Cancel

Start of changeThe command can wrap across lines. If you leave blanks at the end of a line and continue on the following line, the blanks are issued as part of the command. End of change

Start of changeCommands are converted to uppercase by consoles. To preserve the case of command parameters, use the pop-up under ISPF, and enclose the parameters in single quotation marks. Under ISPF, you can also select commands from a list, assign groups, and add comments. For details, refer to the help for the pop-up under ISPF. End of change

Adding comments and groups

From the System Command Extension pop-up you can supply a comment that describes the command, and assign the command to a group. You can assign user-defined groups as a means of organizing commands. After you group a command, you can delete it or added to another group.

Use Show to filter the list of commands based on group. For a list of existing groups, press the Prompt key (PF4) with the cursor in the Group or Show field. Groups and comments are optional.

To rename a group, use Edit > Rename group.
Rename Slash Command Group         
                                          
Type the old and new group names.         
                                          
Old group name . . . .                    
New group name . . . .
Consider the following usage when renaming a group:
  • Each command in the source group is processed in order by the most recently added. Note that commands are considered unique based on group name and command text. Command comments are not used when determining uniqueness.
  • If the command does not exist in the target group or the group does not exist, the command will be moved to the new group.
  • If the command exists in the new group, the comment from the source command will be appended to the comment of the target command. This appended comment may exceed the maximum length and will be truncated to fit. The source command will be removed from the stack.
Start of change

Responses to / commands

If you have access to the ULOG panel and are authorized to an extended console, responses associated with the / command are displayed on the screen if they arrive within the delay interval.

SDSF uses as many lines as needed, up to the current screen depth. SDSF wraps single-line responses if the text is too wide for the screen, and truncates multi-line responses that are too wide. Truncation is indicated by a trailing +. To see all of a response, access the ULOG panel.

When issuing system commands, SDSF uses the extended console if ULOG is active, and console ID of 0 if ULOG is not active. If allowed by installation settings, you can request that SDSF use console ID 0 by adding the I prefix to the / command. For example, type i/start database. When SDSF does not use the extended console, the response is not returned to the terminal.

End of change