|
|
|
Once the file transfer program has generated and sent a transfer request, the AS/400 processes the request. If it detects a problem with the request, it returns a text error message. The file transfer program receives the text and converts it from EBCDIC to ASCII using the same code page conversions as would have been used for data, and directs the translated text to the command line. In some cases (specified in the following information), when the keyword send, receive or list are specified, the AS/400 error is replaced with a more straightforward message. When the AS/400 detects a problem, the file transfer program returns an exit code of FT_AS400_ERR.
REPLACE * is not allowed if FILETYPE(DATA) is specified. Recovery .
. . : Specify the fields to transfer on the REPLACE clause and a file name
on the REFFILE value. Submit the request again. This message can only be returned on REPLACE transfer requests. The
file type is DATA by default, so this error occurs if a file is being created
and * is specified in the REPLACE clause, but FILETYPE(SOURCE) is omitted.
Member membername of AS/400 file filename in
library libname already exists. Recovery . . . : Specify
that the member is not to be created or specify a different member name. Then
try the request again. This message can only be returned on REPLACE transfer requests. Data already exists in member membername of AS/400
file filename in library libname.
Recovery . . . : If you continue, the data in the member will be replaced.
The file transfer program detects this message (which is only a warning,
not an error) and prompts you: File transfer only continues if you reply yes
to this message. Incorrect value in the RCDLEN value. Cause . . . . . : The only value
allowed is a number from 13 to 4108. Recovery . . . : Change RCDLEN value.
Submit the request again. This message can only be returned on REPLACE transfer requests. If this
error occurs when the file transfer program send was used,
the file transfer program intercepts this message and replaces it with the
following: If RCDLEN is specified, * must be specified on the REPLACE clause. Recovery
. . . : Change the REPLACE clause. Submit the request again. This message can only be returned on REPLACE transfer requests. If CRTFILE(YES) is specified, then RCDLEN or REFFILE must be specified.
Recovery . . . : Specify the missing value. Submit the request again. This message can only be returned on REPLACE transfer requests. A file cannot be created without a member. Cause . . . . . : If CRTFILE(YES)
is specified, then CRTMBR(YES) must also be specified. Recovery . . . : Specify
CRTMBR(YES). Submit the request again. This message can only be returned on REPLACE transfer requests. The request contains characters that do not follow the correct format.
Recovery . . . : Correct the format. Submit the request again. This error occurs when a transfer request parameter is not recognized
by the AS/400, or if the parameters are given in the wrong order. AS/400 file filename in library libname already
exists. Recovery . . . : Specify that the file is not to be created or specify
a different file name. Then try the request again. This message can only be returned on REPLACE transfer requests. The transfer request is not correct. Cause . . . . . : Only EXTRACT,
SELECT or REPLACE and OPTIONS are permitted. Recovery . . . : Correct the
request. Submit the request again. File name not correct. Recovery . . . : Correct the file name. Submit
the request again. This error also occurs if a library name (which ends with the character
/) is given where a file name is expected. If this error occurs after the
file transfer program list with
option, the following message is displayed: Field fieldname was not found. Recovery . . .
: Change the field name. Submit the request again. File filename in library libname could not be
found. Recovery . . . : Change the file or library name. Submit the request
again. This error also occurs if the reference file specified in the
reffile parameter of a REPLACE request does not exist. If this
error occurs after a file transfer program list operation
it is replaced by the following message: Member membername not found in file filename
in library libname. Recovery . . . : Change the member,
file or library name. Submit the request again. Field fieldname was not found in the record format
in file filename in library libname. Recovery . . .
: Change the field name. Submit the request again. The PC has sent incorrect data to the host system program. Cause . .
. . . : The data causing the error is X'datastreamIWS2021
IWS2022
IWS2023
Continue? (y/n)
IWS2027
Error: Record length must be between 13 and 4108.
IWS2028
IWS2029
IWS2032
IWS2035
IWS2036
IWS2501
IWS2541
Error: filename is not a file with fields
IWS2561
IWS9812
Error: filename not found.
IWS9813
IWS9815
IWS9897
|
|
|
|