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

Re: [Ftpapi] FW: error with ftpapir4



Trevor,

You're running out of descriptors.  For some reason you have more than 200 descriptors open at the same time in your job.  Descriptors are used for IFS files, pipes and sockets.   So for some reason you have more than 200 of them open at once.

Most likely it means you're opening them and not closing them somewhere in the job.  Eventually, this adds up to having too many open, and FTPAPI then fails when it tries to use the next one.

-SK





On 9/12/2017 2:28 AM, Trevor Thompson wrote:
Hi

The error line is:..

PEFD = 1017
WKBYTENO = 125
WKMASK = '■'
Value
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
    9104
    9105
    9106  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    9107   Set a File Descriptor in a set OFF...  for use w/Select()
    9108
    9109        peFD = descriptor to set off
    9110        peFDSet = descriptor set
                                                                         More...
  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
    operation.
  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.



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

If you want my help with this, you'll need to provide me with full details on how to reproduce the problem so that I can get the same error on my machine and debug it.


On 9/8/2017 3:30 AM, Trevor Thompson wrote:
*From:*Trevor Thompson
*Sent:* Friday, 08 September 2017 10:17 AM
*To:* 'ftpapi@xxxxxxxxxxxxxxxxxxxxxx' <ftpapi@xxxxxxxxxxxxxxxxxxxxxx
<mailto: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).

C

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

*WiseTech*

GLOBAL**

*e*: trevor.thompson@xxxxxxxxxxxxxxxxxx
<mailto:francois.badenhorst@xxxxxxxxxxxxxxxxxx>| *t*+27 (11) 012 8799

/This email is subject to our confidentiality provisions - available
here: //Confidentiality Statement/
<http://www.wisetechglobal.com/ConfidentialityStatement.html>////

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

*WiseTech Global* <http://www.wisetechglobal.com/>*| **CargoWise**One*
<http://www.wisetechglobal.com/product/overview>****

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



--
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
https://urldefense.proofpoint.com/v2/url?u=http-3A__scottklement.com_mailman_listinfo_ftpapi&d=DwIF-g&c=YvLh_Oj0mN6KTZr3eqHpalVSOYZPVq0rZxV8ZB3lE7Y&r=x45xMBNdDeQNIjR5Zy-Fd3Gcm-NMM86s9lxFjxzkv_Yswj67wi4t66nii59UvXdk&m=YXjKZibr1Iw5OYTWim3vecHnCozaDcLwSoDDKNUVAYU&s=mUnPjed9gPfefO26CGfrsI5CNatB5iRYWTcVvYLK8Eo&e=

--
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi