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

Re: [Ftpapi] FW: error with ftpapir4



The error line is…..


PEFD = 1017    

WKBYTENO = 125     

WKMASK = ''            


PEFDSET = '■■■■■■■■■■■■■■■■■■■■■■■■■■■■'            


Program:   FTPAPIR4       Library:   LIBFTP         Module:   FTPAPIR4        

   9096  wkByteNo        S              5I 0                                   

   9097  wkMask          S              1A                                      

   9098  wkByte          S              1A                                     

   9099                    callp     CalcBitPos(peFD:wkByteNo:wkMask)          

   9100                    eval      wkByte = %subst(peFDSet:wkByteNo:1)       

   9101                    biton     wkMask        wkByte                      

   9102                    eval      %subst(peFDSet:wkByteNo:1) = wkByte       

   9103                  E                                                     



   9106  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++       

   9107   Set a File Descriptor in a set OFF...  for use w/Select()            


   9109        peFD = descriptor to set off                                    

   9110        peFDSet = descriptor set                                        


 Debug . . .                                                                   


Message ID . . . . . . :   RNX0100       Severity . . . . . . . :   50        

 Message type . . . . . :   Diagnostic                                          

 Date sent  . . . . . . :   11/09/17      Time sent  . . . . . . :   12:10:42  


 Message . . . . :   Length or start position is out of range for the string   


 Cause . . . . . :   One of the following has occurred in RPG procedure FD_SET 

   in program LIBFTP/FTPAPIR4:                                                 

   - A numeric length or start position is less than 1 or too large for the    

     string operation.                                                         

   - The search-argument parameter of the %SCAN built-in function has zero     

     length or is longer than the source-string parameter.                     

   - The maximum-length parameter of the %STR built-in function is not a value 

     between 1 and the maximum size of a character field.                      

 Recovery  . . . :   Contact the person responsible for program maintenance to 

   determine the cause of the problem.                                         





From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Leo Burkett
Sent: Friday, 08 September 2017 10:05 PM
To: 'FTPAPI/HTTPAPI mailing list' <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Ftpapi] FW: error with ftpapir4


Put your cursor on the “Length or position …” message and press F1.  This will give you more information about the error. 


Then press F9 to get the name of the program and the line number of the instruction that caused the error.  This will give you the name of the variable which contains the out of range value.


Finally, reply to the message with a D instead of C to get a program dump.  This will give you the value of the variable.




From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Trevor Thompson
Sent: Friday, September 08, 2017 4:30 AM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: [Ftpapi] FW: error with ftpapir4




From: Trevor Thompson
Sent: Friday, 08 September 2017 10:17 AM
To: 'ftpapi@xxxxxxxxxxxxxxxxxxxxxx' <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Subject: error with ftpapir4


Hi There

I am getting an error message and I am wondering if you know why



Object already exists.  Object is /DL/BOEDATA.                           

Object checked in.                                                        

Object copied.                                                           

Print request completed processing normally.                             

Object checked in.                                                       

Object copied.                                                           

Object already exists.  Object is /NV.                                   

Object already exists.  Object is /NV/CARGOWISEDOCS.                     

Object already exists.  Object is /NV/CARGOWISEDOCS/ARCHIVE2017-09-07.   

0: FTPAPI version 2.3 released on 2010-05-27                             

Length or start position is out of range for the string operation.       

The call to FTP_LOGIN ended in error (C G D F).                           


Application error.  RNX0100 unmonitored by FTPAPIR4 at statement         


Any help in me finding this cause will be most helpful


Thank you


Trevor Thompson

South Africa





e: trevor.thompson@wisetechglobal.com | t+27 (11) 012 8799

This email is subject to our confidentiality provisions – available here: Confidentiality Statement

To find a WiseTech Global office or learn more about our company and our products visit our website: 

WiseTech Global | CargoWiseOne

P We are a carbon neutral company. Please consider the environment before printing.



Ftpapi mailing list