Usage notes for primary, secondary and maxextents – HP Integrity NonStop H-Series User Manual

Page 73

Advertising
background image

As in the previous examples, use a FUP INFO command to obtain a detailed listing of the file
before starting FTP. In this example, assume that the TYPE, CODE, REC, IBLOCK, KEYLEN, KEYOFF,
and MAXEXTENTS values are the same as those for the file in Example 2.

Next, start FTP and open a connection to the desired FTP server using its IPv6 address. Then, using
the information from the FUP INFO command, issue the FTP put command:

\IDC15.$FITI.FTPMARCH 91> ftp fe80::a00:8eff:fe01:7db8 \IDC15.$FITI.FTPMARCH 91.. FTP
Client - T9552G07 - (01MAY2003) - COPYRIGHT TANDEM COMPUTERS INCORPORATED 2003
Connecting to fe80::a00:8eff:fe01:7db8.........Established. 220 idc15.wipro.tcpn.com FTP SERVER
T9552G07 (Version 3.r TANDEM 01MAY2003) ready. Name (fe80::a00:8eff:fe01:7db8:user):
super.super 331 Password required for SUPER.SUPER. Password: 230 User SUPER.SUPER logged
in. GUARDIAN API enabled ftp> cd $fiti.remote 250 CWD command successful. ftp> lcd
$fiti.q9552d Local working vol.subvol: "\IDC15.$FITI.Q9552D" ftp> put $fiti.q9552d.PERFK0
keyseq, k,1001,6,6,16,4000,4,0,4096 200 EPRT command successful. 150 Opening data
connection for keyseq (fe80::a00:8eff:fe01:7db8,1349d). 226 Transfer complete. local:
$fiti.q9552d.PERFK0 remote: keyseq 6000 bytes received in 0.45 seconds (13.02 Kbytes/s) ftp>

The time returned on your screen represents the time used to transfer the file, not the total time used
to execute the command.

Usage Notes for Primary, Secondary and Maxextents Parameters

For the PUT command, you must specify the primary extent size and secondary extent size when
you specify the maximum number of extents. If you specify no preference in extent sizes, FTP
chooses extents sizes on the basis of efficiency factors. These efficiency factors can change from
product RVU to product RVU and might vary each time you run the program. Thus, if when you
use the maxextents parameter to set an upper boundary on file capacity, you must also use the
primary

and secondary parameters to choose the appropriate extent sizes. FTP ignores the

maxextents

specification when primary and secondary specifications are absent. In such

cases, FTP sets maxextents to its default value (978).

If you specify both primary and secondary extents without specifying maxextents, FTP uses the
maxextents

default value. If you do this, you might create a Format 2 file when you intended to

create a Format 1 file.

If you specify the primary extent size but do not specify the secondary extent size, the secondary
extent value is set to the primary extent value. If, in addition, you specify a maxextents value,
FTP uses that value.

However, if you specify the secondary extent without specifying the primary extent size. FTP set
primary extent size to its default value. If, in addition, you specify a maxextents value, FTP
ignores it and uses the maxextents default value.

Use the table on the following page as a quick reference.

Result

Maxextents

Secondary

Primary

FTP uses all the specified
values.

specified

specified

specified

For structured files: primary
and secondary are set to the

not specified

not specified

not specified

default.For unstructured files:
values are determined
internallyFTP sets maxextents
to the default value.

FTP sets primary and
secondary extent size

specified

not specified

not specified

according to efficiency
factors.FTP sets maxextents
to the default value.

FTP Command Reference

73

Advertising
This manual is related to the following products: