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

FTPAPIR4 service program



   Dear Scott !

   Some time ago I downloaded andused for my test purposes the
   Service program mentioned above.

   It worked properly till the moment when some of my remote hosts
   ( where I tried to log og via FTP ) was in a Belgium country.

   After some attempts done I got to conclusion that possible reason may
   be the different NLS ( code page, job ccsid whatever else which differs
   the Belgium anaist the english speaking countries )

   Trying to configure out the issue I opened the service program source
   and found that one of the data definitions is the code page value
   altogether with others ( as below )


   ** Default remote codepage
   D DFT_RMT_CP      C                   CONST(437)
   ** Default local codepage
   D DFT_LOC_CP      C                   CONST(37)
   ** Default local file mode
   D DFT_MODE        C                   CONST(511)


   My questions are following :

   1. Does it may be critycal issue for proper logon in languiage
   environment  other than English ?

   2. Can I use the code page as an input parameters insted of recompiling
   the service program with other values  ?

   Thanks id advance
   Eli Shats, developer

   P.S. Below is the job log fragment pointing me to the problem
   May be it may help to inderstand what was wrong ?

   CPF9897    Diagnostic              40   07/05/15  15:07:13.090743
   FTPAPIR4     RMTSMP      *STMT    FTPAPIR4    RMTSMP

                                        From module . . . . . . . . :
   FTPAPIR4

                                        From procedure  . . . . . . :
   DIAGMSG

                                        Statement . . . . . . . . . :
   8131

                                        To module . . . . . . . . . :
   FTPAPIR4

                                        To procedure  . . . . . . . :
   DIAGMSG

                                        Statement . . . . . . . . . :
   8131

                                        Message . . . . :   0: 331 Enter
   password.

                                        Cause . . . . . :   No additional
   online help information is available.

   CPF9897    Diagnostic              40   07/05/15  15:07:13.090766
   FTPAPIR4     RMTSMP      *STMT    FTPAPIR4    RMTSMP

                                        From module . . . . . . . . :
   FTPAPIR4

                                        From procedure  . . . . . . :
   DIAGMSG

                                        Statement . . . . . . . . . :
   8131

                                        To module . . . . . . . . . :
   FTPAPIR4

                                        To procedure  . . . . . . . :
   DIAGMSG

                                        Statement . . . . . . . . . :
   8131

                                        Message . . . . :   0: > PASS
   **********

                                        Cause . . . . . :   No additional
   online help information is available.

   CPF9897    Diagnostic              40   07/05/15  15:07:18.480425
   FTPAPIR4     RMTSMP      *STMT    FTPAPIR4    RMTSMP

                                        From module . . . . . . . . :
   FTPAPIR4

                                        From procedure  . . . . . . :
   DIAGMSG

                                        Statement . . . . . . . . . :
   8131

                                        To module . . . . . . . . . :
   FTPAPIR4

                                        To procedure  . . . . . . . :
   DIAGMSG

                                        Statement . . . . . . . . . :
   8131

                                        Message . . . . :   0: 530 Log on
   attempt by user ENFREP rejected.

                                        Cause . . . . . :   No additional
   online help information is available

   �
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------