I sorted it out. I used HEX.
eg
0470.00 D SOCKET
PR 10I 0 EXTPROC(X'A296839285A3')
Frank Kolmann
ps
belated Congratulaitions on winning
Iseries Innovation award,
pps
just so you know, people think I am
a whiz programmer and I would be nothing without your work.
Scott Klement <sk@xxxxxxxxxxxxxxxx> Sent by: owner-ftpapi@xxxxxxxxxxxxx
23/04/2005 02:02 AM
Please respond to ftpapi
To:
ftpapi@xxxxxxxxxxxxx
cc:
Subject:
Re: FTPAPI in JAPANESE QSYS2962
Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>
Hi Frank,
>
> 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.
>
Refering to these as "C APIs" is one of my pet peeves. They're
system
APIs available to all ILE languages. With the exception of "__errno"
they're not part of the ILE C runtime library and are therefore not "C
APIs".
> 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.
Unfortunately, I've never had the priveledge of working with Japanese
character sets. I suspect that you need to:
a) create source PFs that are tagged with the apporpriate CCSID for the
Japanese system.
b) make sure my PFs are tagged with CCSID 37.
c) Copy the members from my PF to the Japanese one so that the characters
get translated correctly.
d) Compile from the Japanese files.
This is purely speculation, though... like I said, I have never tried it.
> 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'.
Correct, these are case-sensitive. If you change them to uppercase,
they
won't work. You have to get the characters to correctly translate to the
Japanese CCSID. These are part of the operating system, there's no way
I
can change the way their capitalized.
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubsribe from the list send
mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------