z/OS Communications Server: IP User's Guide and Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


MKFifo subcommand—Create a named pipe at the FTP server host

z/OS Communications Server: IP User's Guide and Commands
SC27-3662-00

Purpose

Use the MKFifo subcommand to create a z/OS® UNIX named pipe on the remote host.

Requirement: The FTP server on the remote host must be z/OS V1R11 or later.

Format

Read syntax diagramSkip visual syntax diagram
>>-MKFifo--pathname--------------------------------------------><

Parameters

pathname
Specifies the path name of the z/OS UNIX named pipe that is to be created. You can specify a relative path name or an absolute path name.

Examples

In this example, the named pipe, /tmp/named.pipe, is created by specifying an absolute path name:
Command:                                            
cd 'USER1'                                          
>>> CWD 'USER1'                                     
250 "USER1." is the working directory name prefix.  
Command:                                            
mkfifo /tmp/named.pipe                              
>>> XFIF /tmp/named.pipe                            
257 named pipe /tmp/named.pipe created              
Command: 
In this example, the named pipe, my named pipe, is created by specifying a relative path name:
cd /tmp                                                 
>>> CWD /tmp                                            
250 HFS directory /tmp is the current working directory.
Command: 
mkfifo my named pipe      
>>> XFIF my named pipe                                
257 named pipe /tmp/my named pipe created                                      
Command: 
This directory listing shows the named pipes that are created by these examples.
Command:                                                                 
dir /tmp/*pipe                                                           
>>> PORT 9,42,105,36,4,29                                                
200 Port request OK.                                                     
>>> LIST /tmp/*pipe                                                      
125 List started OK                                                      
prwxr-x---   1 OMVSKERN OMVSGRP        0 Jun 10 02:28 /tmp/my named pipe 
prwxr-x---   1 OMVSKERN OMVSGRP        0 Jun 10 02:33 /tmp/named.pipe    
250 List completed successfully.                                         
Command:   

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2013
This information center is Built on Eclipse™ ( www.eclipse.org ).