[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FTPAPI in JAPANESE QSYS2962



Sender: Frank.Kolmann@xxxxxxxxxx





Thanks Scott for the FTP API.
It works great.

But I do have one issue.

One of the countries we support is Japan.  Due to the way the Japanese
character set handles lower case our source for JAPAN is ALL UPPER CASE.

I believe because the C APIs are case sensitive, but these API must be used
in
JAPAN so I think I am just doing this the wrong way.

Any help is appreciated.
Frank Kolmann



Initially I tried to compile module FTPAPIR4 as supplied and I get this
sort of stuff, as
lower case characters are converted to other stuff by the Japanese
character sets.

                                                        Display Spooled
File
 File  . . . . . :   FTPAPIR4
Page/Line   6/5
 Control . . . . .
Columns     1 -
 Find  . . . . . .

*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+....9....+....0....+....1....+....2
                            parenthesis is ignored.
    241+ *                                                  ÍÉÎ ÀÏ¿·
050422
    242+D IPTOS_MIN       C                   CONST(¼'02')
050422
 ======>                                            abbbbc
 *RNF3904 30 a      013900+ Parameter for keyword CONST is not valid;
specification is    TJPB41U/QRCPYSRC(SOCKET_H)
                            ignored.
 *RNF3312 20 b      013900+ A keyword is specified more than once for a
definition;       TJPB41U/QRCPYSRC(SOCKET_H)

I converted the source to UPPER CASE and now the module compiles,

problem is it wont CRTSRVPGM , I get the following sort of message.
I believe because the C APIs are case sensitive.

Definition not found for symbol 'CLOSE'.
Definition not found for symbol 'CONNECT'.
Definition not found for symbol 'QP0LCVTPATHTOQSYSOBJNAME'.
Definition not found for symbol 'FCNTL'.
Definition not found for symbol 'GETCWD'.
Definition not found for symbol '__ERRNO'.

If I use lower case I get messages like

Definition not found for symbol 'ÂÀÀÃÌ·'.

Any Ideas,






-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------