Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

struct - Change or query transfer structure

&pagelevel(4)&pagelevel

The struct command defines the transfer structure or displays details of the current transfer structure. The FTP standard provides for a number of different, optional transfer structures, of which only FILE and RECORD are implemented in BS2000. If no operand is specified, the current transfer structure is displayed on the screen.

On starting FTP, struct is set to file by default.

The currently defined transfer structure can also be determined with the status command.

struct

[file | record]


file

Sets the transfer structure to FILE.

record

This entry enables files to be transferred while retaining the record structure. In order to specify record, the following conditions must be satisfied:

  • The transfer type must be EBCDIC or ASCII, and

  • The file attributes RECFORM=V and FCBTYPE=SAM must be set.