Hitachi

JP1 Version 12 for Windows Systems JP1/File Transmission Server/FTP Description, Reference and Operator's Guide


E.1 Creating a format file

Keywords are used to specify the information that is to be output to a format file.

During output, information is embedded into the format file at the locations of the corresponding keywords. Any characters other than the keywords (including linefeed and control characters) are output as is to the text file.

Notes about creating a format file
  • A format file must be created within a size limit of 2,048 bytes. If a created file exceeds 2,048 bytes, any excess information will be ignored.

  • You can specify a maximum of 50 keywords in a format file. If you specify more than 50 keywords, the excess keywords will be ignored.

Organization of this subsection

(1) Keywords that can be specified

This subsection lists the keywords that can be specified in each type of format file.

Table E‒1: Keywords that can be specified for login user definition information

Keyword

Description

$ICNT

Data count

$USER

User name

$CDIR

Current directory

Table E‒2: Keywords that can be specified for auto-start programs

Keyword

Description

$ICNT

Data count

$USER

User name

$AKEY

Trigger for auto-start

$AFDK

Key type

$ANML

Name of the program to start when transmission ends normally

$AERR

Name of the program to start when transmission ends abnormally

Table E‒3: Keywords that can be specified for transmission information

Keyword

Description

$ICNT

Data count

$USER

User name

$PSWD

Password

$CARD

Transmission card

$LCAL

Local file name

$RMTE

Remote file name

$TRAN

Sending or receiving

$MODE

Transmission mode

$OUTK

Output type

$COMP

Compression mode

$FSIZ

Size check

$HOST

Remote host name

$PORT

Port number

$ANML

Name of the program to start when transmission ends normally

$AERR

Name of the program to start when transmission ends abnormally

$CMND

FTP command

$CMNT

Comment

$MULT

Single-file or multiple-file transmission

$FTPS

Use FTPS

$SCVC

Check the expiration date of the server certificate

$CACF

Path to the CA certificate

$CRLF

Path to the CRL

Table E‒4: Keywords that can be specified for log information

Keyword

Description

$ICNT

Data count

$USER

User name

$CARD

Transmission card

$LCAL

Local file name

$RMTE

Remote file name

$TRAN

Sending or receiving

$MODE

Transmission mode

$OUTK

Output type

$COMP

Compression mode

$HOST

Remote host name

$PORT

Port number

$CMNT

Comment

$TRNO

Transmission number

$SVCE

Client or server

$STAT

End status

$STIM

Start time

$ETIM

End time

$TIME

Transmission period

$TSIZ

Size transmitted

$CONO

Connection number

$ETYP

Error type

$EPOS

Location of the error

$EMOD

Error module name

$ESYS

Name of the system call

$EMSG

Error message

$EPRT

Protocol message

$EMSC

SSL communication error message