Returning output files to the client computer

Use the -o option to return output files to the client computer.

Syntax

–o [t | b] output_file…
[t | b]
  • To indicate that the files to be transferred to the client are in text format, specify the t option.
  • To indicate that the files are in binary format, specify the b option. This is the default.
output_file…
Specifies the names of one or more output files (separated by blanks).

Platforms

z/OS® MVS™, z/OS UNIX® System Services

For more information about specifying output files on z/OS MVS and z/OS UNIX System Services, see the related tasks.

Examples

Note: The examples in this topic are for illustrating command syntax. You need to substitute values appropriate to your site for the command parameters.

The following list provides examples and descriptions of commands that you can use to specify output files.

In the following example, the server reads the file from the build location and returns it to the client. The client places the file in its current directory.

rccbuild… –o foo.obj

In the following example, the server reads the output \foo.obj relative to the build location. The client creates the file C:\output\foo.obj.

rccbuild… –o c:\output\foo.obj

In the following example, the server reads the file foo.obj relative to the build location. The client creates the file C:\output\foo.obj.

rccbuild… –o c:\output(foo.obj

In the following example, the server reads foo.obj relative to the build location, and the client creates the file output \foo.obj in the current directory.

rccbuild… –o output(foo.obj