next up previous contents index
Next: File transfer commands Up: ZFTP Previous: ZFTP

File conversion and commands

RFRFRFRFFZFILE RZFILE [LRECL] [CHOPT]

FZFILE
File name of the input FZ file
RZFILE
File name for the output RZ file
LRECL
Record length for the output RZ file in bytes. If zero is specified, the record length of the original RZ file will be used.
CHOPT
List of options
A
the input file is in FZ alpha format
S
display statistics on the RZ file
X
the RZ file will be created in eXchange mode
C
respect case of file names
This command converts an FZ exchange format file to an RZ file on the LOCAL machine. No network transfer is performed. The FZFILE must be the output of a previous RTOF command, or have been created using the RTOX or RTOA programs. On Unix systems, this file will be read with FORTRAN direct-access and will hence be transferable and readable on other systems.

By default, the output RZ file will have the same record length as the original RZ file. However, if LRECL is specified then this value will be used instead. RTOFRTOFRZFILE FZFILE [LRECL] [CHOPT]

RZFILE
File name of the input RZ file
FZFILE
File name for the output FZ file
LRECL
Record length for the output FZ file in bytes. If zero is specified, a record length of 3600 bytes will be used for binary files, or 80 bytes for ASCII files.
CHOPT
List of options
A
the output file is to be in FZ alpha format
S
display statistics on the RZ file
C
respect case of file names
This command converts an RZ file into an FZ exchange mode format file on the LOCAL machine. No network transfer is performed. By default a binary exchange mode FZ file is created. On Unix systems, this file will be written with FORTRAN direct-access and will hence be transferable and readable on other systems.

FZCOPYFZCOPYFZIN FZOUT [IFORM] [IRECL] [OFORM] [ORECL] [CHOPT]

FZIN
input FZ file name
FZOUT
output FZ file name
IFORM
Format of input FZ file
IRECL
Input record length (in bytes)
OFORM
Format of output FZ file
ORECL
Output record length (in bytes)
CHOPT
List of options
A
lpha exchange mode format - RECL not needed
N
native data but exchange file format - RECL not needed
X
exchange format file - RECL not needed
Z
native data and file format - RECL must be specified
This command copies an FZ file on the local machine. At the same time, file format and data format conversion is possible. Thus, FZCOPY can be used to convert a binary native format file into a alpha exchange format file etc.

RZCOPYRZCOPYRZIN RZOUT [ORECL] [CHOPT]

RZIN
input RZ file name
RZOUT
output RZ file name
ORECL
Output record length (in bytes). If not specified, the record length of the input file will be used.
CHOPT
List of options
N
convert exchange RZ file into native RZ file
X
convert native RZ file into exchange RZ file
This command copies an RZ file on the local machine. At the same time, the record length or data format may be changed. Thus, RZCOPY can be used to convert a native format RZ file with record length 512 into an exchange format file with record length 8192.

If not specified, the output record length will be set equal to that of the input file.

CTOFCTOFCFILE FFILE [LRECL] [CHOPT]

CFILE
input file name
FFILE
output file name
LRECL
record length (in bytes)
CHOPT
List of options
X
Zebra exchange format file - RECL not needed
other files - RECL must be specified
This command copies a file written with C or FORTRAN direct-access I/O to one written with FORTRAN sequential I/O. FTOCFTOCFFILE CFILE [LRECL] [CHOPT]
FFILE
input file name
CFILE
output file name
LRECL
record length (in bytes)
CHOPT
List of options
X
Zebra exchange format file - RECL not needed
other files - RECL must be specified
This command copies a file written with FORTRAN sequential I/O to one written with FORTRAN direct-access I/O. The output file may be read with C I/O or FORTRAN direct access.



next up previous contents index
Next: File transfer commands Up: ZFTP Previous: ZFTP


Janne Saarela
Tue May 16 09:22:05 METDST 1995