FTP BC information

9 messages Options
Embed this post
Permalink
fmartin

FTP BC information

Reply Threaded More More options
Print post
Permalink
Hi,

I'm trying to use the FTP BC component to exchange information with a mainframe (OS/390). I have been requested to set some parameters in order to PUT files in the FTP server of the mainframe, like BLOCKSIZE, LRECL, RECFM, TRACKS... and I have the values for these parameters. I have several questions here:
- Is it possible to pass these parameters to the FTPBC? If it is, how?
- Mainframe cannot create folders in the FTP servers, and FTPBC seems to need some folders like inbox, instage... Will this work without those folder?

Thanks,

Fernando

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Jim Fu-2

Re: FTP BC information

Reply Threaded More More options
Print post
Permalink
Hi Fernando,

Under FTPBC, there is added logic to handle different ftp servers on
different OS platforms in the extended ftp client code, and those logic
were tested in the past in the ftp adapter, it worked with ftp servers
on OS390, AS400 etc.

On the client side, I did not see it is necessary to set those extra
parameters you mentioned - may be there are different mode on the
mainframe (simulating unix)

Yes, ftpbc needs appropriate permission for certain operation if
configured to archive / staging target files, note, these are needed to
make sure the message routing works even there are concurrent operations
in the same target directory, and these are also optional, meaning if
user can make sure there is no rick of message overwritten/partial
reading etc., it can be disabled (they are all wsdl ext element
attributes - subject to user setting), there is a sun type for this :
ftp:transfer where the user can specify more details of, e.g. where the
file be put, where to get the file from, what is the pre/post operation
- or no pre/post operation etc.

FYI - those added logic (path envelope handling, dir list parsing etc.)
were tested to be working with the intended ftp server on the OS such as
OS390, AS400, etc. but not tested yet in the FTPBC

Regards

Jim

Fernando Martin wrote:

> Hi,
>
> I'm trying to use the FTP BC component to exchange information with a mainframe (OS/390). I have been requested to set some parameters in order to PUT files in the FTP server of the mainframe, like BLOCKSIZE, LRECL, RECFM, TRACKS... and I have the values for these parameters. I have several questions here:
> - Is it possible to pass these parameters to the FTPBC? If it is, how?
> - Mainframe cannot create folders in the FTP servers, and FTPBC seems to need some folders like inbox, instage... Will this work without those folder?
>
> Thanks,
>
> Fernando
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

fmartin

Re: FTP BC information

Reply Threaded More More options
Print post
Permalink
In reply to this post by fmartin
Thanks for the quick answer,
I tested with the ftp:transfer, and now looks like it does not require the folders. The only issue missing for me is that I need to provide those parameters in the PUT operation like BLKSIZE, CYLINDERS... It is a requirement from the mainframe administrator, meaning that it will not work without them.

I cannot find the information where in the FTPBC to add those parameters. Is this possible?
-----Original message-----
From: Jim Fu [hidden email]
Date: Thu, 15 Oct 2009 19:41:49 +0200
To: [hidden email]
Subject: Re: FTP BC information

> Hi Fernando,
>
> Under FTPBC, there is added logic to handle different ftp servers on
> different OS platforms in the extended ftp client code, and those logic
> were tested in the past in the ftp adapter, it worked with ftp servers
> on OS390, AS400 etc.
>
> On the client side, I did not see it is necessary to set those extra
> parameters you mentioned - may be there are different mode on the
> mainframe (simulating unix)
>
> Yes, ftpbc needs appropriate permission for certain operation if
> configured to archive / staging target files, note, these are needed to
> make sure the message routing works even there are concurrent operations
> in the same target directory, and these are also optional, meaning if
> user can make sure there is no rick of message overwritten/partial
> reading etc., it can be disabled (they are all wsdl ext element
> attributes - subject to user setting), there is a sun type for this :
> ftp:transfer where the user can specify more details of, e.g. where the
> file be put, where to get the file from, what is the pre/post operation
> - or no pre/post operation etc.
>
> FYI - those added logic (path envelope handling, dir list parsing etc.)
> were tested to be working with the intended ftp server on the OS such as
> OS390, AS400, etc. but not tested yet in the FTPBC
>
> Regards
>
> Jim
>
> Fernando Martin wrote:
> > Hi,
> >
> > I'm trying to use the FTP BC component to exchange information with a mainframe (OS/390). I have been requested to set some parameters in order to PUT files in the FTP server of the mainframe, like BLOCKSIZE, LRECL, RECFM, TRACKS... and I have the values for these parameters. I have several questions here:
> > - Is it possible to pass these parameters to the FTPBC? If it is, how?
> > - Mainframe cannot create folders in the FTP servers, and FTPBC seems to need some folders like inbox, instage... Will this work without those folder?
> >
> > Thanks,
> >
> > Fernando
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >  
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Jim Fu-2

Re: FTP BC information

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
the underlying ftp client code support FTP site command (though not exposed on the wsdl level yet), can those parms be set with FTP site command?
if so, may be there is a way ftpbc can allow this to happen - i.e. - expose the site command capability through either wsdl ext element attrs or bc runtime config...

bad new is, this can not be done with today's FTPBC as is...

regards
Jim


Fernando Martin wrote:
Thanks for the quick answer,
I tested with the ftp:transfer, and now looks like it does not require the folders. The only issue missing for me is that I need to provide those parameters in the PUT operation like BLKSIZE, CYLINDERS... It is a requirement from the mainframe administrator, meaning that it will not work without them.

I cannot find the information where in the FTPBC to add those parameters. Is this possible?
-----Original message-----
From: Jim Fu [hidden email]
Date: Thu, 15 Oct 2009 19:41:49 +0200
To: [hidden email]
Subject: Re: FTP BC information

  
Hi Fernando,

Under FTPBC, there is added logic to handle different ftp servers on 
different OS platforms in the extended ftp client code, and those logic 
were tested in the past in the ftp adapter, it worked with ftp servers 
on OS390, AS400 etc.

On the client side, I did not see it is necessary to set those extra 
parameters you mentioned - may be there are different mode on the 
mainframe (simulating unix)

Yes, ftpbc needs appropriate permission for certain operation if 
configured to archive / staging target files, note, these are needed to 
make sure the message routing works even there are concurrent operations 
in the same target directory, and these are also optional, meaning if 
user can make sure there is no rick of message overwritten/partial 
reading etc., it can be disabled (they are all wsdl ext element 
attributes - subject to user setting), there is a sun type for this : 
ftp:transfer where the user can specify more details of, e.g. where the 
file be put, where to get the file from, what is the pre/post operation 
- or no pre/post operation etc.

FYI - those added logic (path envelope handling, dir list parsing etc.) 
were tested to be working with the intended ftp server on the OS such as 
OS390, AS400, etc. but not tested yet in the FTPBC

Regards

Jim

Fernando Martin wrote:
    
Hi,

I'm trying to use the FTP BC component to exchange information with a mainframe (OS/390). I have been requested to set some parameters in order to PUT files in the FTP server of the mainframe, like BLOCKSIZE, LRECL, RECFM, TRACKS... and I have the values for these parameters. I have several questions here:
- Is it possible to pass these parameters to the FTPBC? If it is, how?
- Mainframe cannot create folders in the FTP servers, and FTPBC seems to need some folders like inbox, instage... Will this work without those folder?

Thanks,

Fernando

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

  
      
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

    

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

  

Harry Liu

Re: FTP BC information

Reply Threaded More More options
Print post
Permalink
In reply to this post by fmartin
Seems you intend to invoke "SITE" commands on mainframe,

in JavaCAPS FTP eWay/Adapter, you can do it by configuring "Pre/Post Raw
Commands", e.g.
SITE BLOCKSIZE=32750;SITE RECFM=FB;SITE LRECL=50

I am not sure whether this configuration option is carried over to FTPBC
or not.


Thanks,
Harry

-------- Original Message  --------
Subject: Re: FTP BC information
From: Fernando Martin <[hidden email]>
To: [hidden email]
Date: 10/15/2009 12:18 PM

> Thanks for the quick answer,
> I tested with the ftp:transfer, and now looks like it does not require the folders. The only issue missing for me is that I need to provide those parameters in the PUT operation like BLKSIZE, CYLINDERS... It is a requirement from the mainframe administrator, meaning that it will not work without them.
>
> I cannot find the information where in the FTPBC to add those parameters. Is this possible?
> -----Original message-----
> From: Jim Fu [hidden email]
> Date: Thu, 15 Oct 2009 19:41:49 +0200
> To: [hidden email]
> Subject: Re: FTP BC information
>
>  
>> Hi Fernando,
>>
>> Under FTPBC, there is added logic to handle different ftp servers on
>> different OS platforms in the extended ftp client code, and those logic
>> were tested in the past in the ftp adapter, it worked with ftp servers
>> on OS390, AS400 etc.
>>
>> On the client side, I did not see it is necessary to set those extra
>> parameters you mentioned - may be there are different mode on the
>> mainframe (simulating unix)
>>
>> Yes, ftpbc needs appropriate permission for certain operation if
>> configured to archive / staging target files, note, these are needed to
>> make sure the message routing works even there are concurrent operations
>> in the same target directory, and these are also optional, meaning if
>> user can make sure there is no rick of message overwritten/partial
>> reading etc., it can be disabled (they are all wsdl ext element
>> attributes - subject to user setting), there is a sun type for this :
>> ftp:transfer where the user can specify more details of, e.g. where the
>> file be put, where to get the file from, what is the pre/post operation
>> - or no pre/post operation etc.
>>
>> FYI - those added logic (path envelope handling, dir list parsing etc.)
>> were tested to be working with the intended ftp server on the OS such as
>> OS390, AS400, etc. but not tested yet in the FTPBC
>>
>> Regards
>>
>> Jim
>>
>> Fernando Martin wrote:
>>    
>>> Hi,
>>>
>>> I'm trying to use the FTP BC component to exchange information with a mainframe (OS/390). I have been requested to set some parameters in order to PUT files in the FTP server of the mainframe, like BLOCKSIZE, LRECL, RECFM, TRACKS... and I have the values for these parameters. I have several questions here:
>>> - Is it possible to pass these parameters to the FTPBC? If it is, how?
>>> - Mainframe cannot create folders in the FTP servers, and FTPBC seems to need some folders like inbox, instage... Will this work without those folder?
>>>
>>> Thanks,
>>>
>>> Fernando
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>  
>>>      
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>    
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>  


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Harry Liu

Re: FTP BC information

Reply Threaded More More options
Print post
Permalink
Saw Jim's email reply ... Raw Commands are not exposed in FTPBC currently.

Regards,
Harry

On 10/15/2009 12:33 PM, Harry Liu wrote:

> Seems you intend to invoke "SITE" commands on mainframe,
>
> in JavaCAPS FTP eWay/Adapter, you can do it by configuring "Pre/Post
> Raw Commands", e.g.
> SITE BLOCKSIZE=32750;SITE RECFM=FB;SITE LRECL=50
>
> I am not sure whether this configuration option is carried over to
> FTPBC or not.
>
>
> Thanks,
> Harry
>
> -------- Original Message  --------
> Subject: Re: FTP BC information
> From: Fernando Martin <[hidden email]>
> To: [hidden email]
> Date: 10/15/2009 12:18 PM
>> Thanks for the quick answer,
>> I tested with the ftp:transfer, and now looks like it does not
>> require the folders. The only issue missing for me is that I need to
>> provide those parameters in the PUT operation like BLKSIZE,
>> CYLINDERS... It is a requirement from the mainframe administrator,
>> meaning that it will not work without them.
>>
>> I cannot find the information where in the FTPBC to add those
>> parameters. Is this possible?
>> -----Original message-----
>> From: Jim Fu [hidden email]
>> Date: Thu, 15 Oct 2009 19:41:49 +0200
>> To: [hidden email]
>> Subject: Re: FTP BC information
>>
>>  
>>> Hi Fernando,
>>>
>>> Under FTPBC, there is added logic to handle different ftp servers on
>>> different OS platforms in the extended ftp client code, and those
>>> logic were tested in the past in the ftp adapter, it worked with ftp
>>> servers on OS390, AS400 etc.
>>>
>>> On the client side, I did not see it is necessary to set those extra
>>> parameters you mentioned - may be there are different mode on the
>>> mainframe (simulating unix)
>>>
>>> Yes, ftpbc needs appropriate permission for certain operation if
>>> configured to archive / staging target files, note, these are needed
>>> to make sure the message routing works even there are concurrent
>>> operations in the same target directory, and these are also
>>> optional, meaning if user can make sure there is no rick of message
>>> overwritten/partial reading etc., it can be disabled (they are all
>>> wsdl ext element attributes - subject to user setting), there is a
>>> sun type for this : ftp:transfer where the user can specify more
>>> details of, e.g. where the file be put, where to get the file from,
>>> what is the pre/post operation - or no pre/post operation etc.
>>>
>>> FYI - those added logic (path envelope handling, dir list parsing
>>> etc.) were tested to be working with the intended ftp server on the
>>> OS such as OS390, AS400, etc. but not tested yet in the FTPBC
>>>
>>> Regards
>>>
>>> Jim
>>>
>>> Fernando Martin wrote:
>>>    
>>>> Hi,
>>>>
>>>> I'm trying to use the FTP BC component to exchange information with
>>>> a mainframe (OS/390). I have been requested to set some parameters
>>>> in order to PUT files in the FTP server of the mainframe, like
>>>> BLOCKSIZE, LRECL, RECFM, TRACKS... and I have the values for these
>>>> parameters. I have several questions here:
>>>> - Is it possible to pass these parameters to the FTPBC? If it is, how?
>>>> - Mainframe cannot create folders in the FTP servers, and FTPBC
>>>> seems to need some folders like inbox, instage... Will this work
>>>> without those folder?
>>>>
>>>> Thanks,
>>>>
>>>> Fernando
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [hidden email]
>>>> For additional commands, e-mail: [hidden email]
>>>>
>>>>        
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [hidden email]
>>> For additional commands, e-mail: [hidden email]
>>>
>>>    
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>  
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

fmartin

Re: FTP BC information

Reply Threaded More More options
Print post
Permalink
In reply to this post by fmartin
Ok, thanks for the answer.

In order to receive messages (poll), i do not need to provide those parameters, so I guess I can use the FTPBC, I'm doing a test, using the FTPBC Receive Request type (not poll).

The problem I'm finding is that everytime I deploy the test I always get this error:

FTPBC-E006021: Missing or invalid parameter [TargetDirectoryName], value []


I provide you here the fpt:transfer line generated, because I cannot understand where is the problem.

<ftp:transfer receiveFrom="MVT.F%0" receiveFromHasRegexs="false" pollIntervalMillis="5000" preReceiveCommand="NONE" preReceiveLocation="" preReceiveLocationHasPatterns="false" postReceiveCommand="NONE" postReceiveLocation="" postReceiveLocationHasPatterns="false" use="literal" messageCorrelate="false" fileType="text" part="part1"/>


Any help?

Regards,
-----Original message-----
From: Harry Liu [hidden email]
Date: Thu, 15 Oct 2009 21:03:46 +0200
To: [hidden email]
Subject: Re: FTP BC information

> Saw Jim's email reply ... Raw Commands are not exposed in FTPBC currently.
>
> Regards,
> Harry
>
> On 10/15/2009 12:33 PM, Harry Liu wrote:
> > Seems you intend to invoke "SITE" commands on mainframe,
> >
> > in JavaCAPS FTP eWay/Adapter, you can do it by configuring "Pre/Post
> > Raw Commands", e.g.
> > SITE BLOCKSIZE=32750;SITE RECFM=FB;SITE LRECL=50
> >
> > I am not sure whether this configuration option is carried over to
> > FTPBC or not.
> >
> >
> > Thanks,
> > Harry
> >
> > -------- Original Message  --------
> > Subject: Re: FTP BC information
> > From: Fernando Martin <[hidden email]>
> > To: [hidden email]
> > Date: 10/15/2009 12:18 PM
> >> Thanks for the quick answer,
> >> I tested with the ftp:transfer, and now looks like it does not
> >> require the folders. The only issue missing for me is that I need to
> >> provide those parameters in the PUT operation like BLKSIZE,
> >> CYLINDERS... It is a requirement from the mainframe administrator,
> >> meaning that it will not work without them.
> >>
> >> I cannot find the information where in the FTPBC to add those
> >> parameters. Is this possible?
> >> -----Original message-----
> >> From: Jim Fu [hidden email]
> >> Date: Thu, 15 Oct 2009 19:41:49 +0200
> >> To: [hidden email]
> >> Subject: Re: FTP BC information
> >>
> >>  
> >>> Hi Fernando,
> >>>
> >>> Under FTPBC, there is added logic to handle different ftp servers on
> >>> different OS platforms in the extended ftp client code, and those
> >>> logic were tested in the past in the ftp adapter, it worked with ftp
> >>> servers on OS390, AS400 etc.
> >>>
> >>> On the client side, I did not see it is necessary to set those extra
> >>> parameters you mentioned - may be there are different mode on the
> >>> mainframe (simulating unix)
> >>>
> >>> Yes, ftpbc needs appropriate permission for certain operation if
> >>> configured to archive / staging target files, note, these are needed
> >>> to make sure the message routing works even there are concurrent
> >>> operations in the same target directory, and these are also
> >>> optional, meaning if user can make sure there is no rick of message
> >>> overwritten/partial reading etc., it can be disabled (they are all
> >>> wsdl ext element attributes - subject to user setting), there is a
> >>> sun type for this : ftp:transfer where the user can specify more
> >>> details of, e.g. where the file be put, where to get the file from,
> >>> what is the pre/post operation - or no pre/post operation etc.
> >>>
> >>> FYI - those added logic (path envelope handling, dir list parsing
> >>> etc.) were tested to be working with the intended ftp server on the
> >>> OS such as OS390, AS400, etc. but not tested yet in the FTPBC
> >>>
> >>> Regards
> >>>
> >>> Jim
> >>>
> >>> Fernando Martin wrote:
> >>>    
> >>>> Hi,
> >>>>
> >>>> I'm trying to use the FTP BC component to exchange information with
> >>>> a mainframe (OS/390). I have been requested to set some parameters
> >>>> in order to PUT files in the FTP server of the mainframe, like
> >>>> BLOCKSIZE, LRECL, RECFM, TRACKS... and I have the values for these
> >>>> parameters. I have several questions here:
> >>>> - Is it possible to pass these parameters to the FTPBC? If it is, how?
> >>>> - Mainframe cannot create folders in the FTP servers, and FTPBC
> >>>> seems to need some folders like inbox, instage... Will this work
> >>>> without those folder?
> >>>>
> >>>> Thanks,
> >>>>
> >>>> Fernando
> >>>>
> >>>> ---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail: [hidden email]
> >>>> For additional commands, e-mail: [hidden email]
> >>>>
> >>>>        
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: [hidden email]
> >>> For additional commands, e-mail: [hidden email]
> >>>
> >>>    
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [hidden email]
> >> For additional commands, e-mail: [hidden email]
> >>
> >>  
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

fmartin

Re: FTP BC information

Reply Threaded More More options
Print post
Permalink
In reply to this post by fmartin
Ok, I just found the problem, the parameter receiveFrom needs a directory, so I just added a slash before receiveFrom="/MVT.F%0"
-----Original message-----
From: "Fernando Martin" [hidden email]
Date: Fri, 16 Oct 2009 12:58:39 +0200
To: [hidden email]
Subject: Re: FTP BC information

> Ok, thanks for the answer.
>
> In order to receive messages (poll), i do not need to provide those parameters, so I guess I can use the FTPBC, I'm doing a test, using the FTPBC Receive Request type (not poll).
>
> The problem I'm finding is that everytime I deploy the test I always get this error:
>
> FTPBC-E006021: Missing or invalid parameter [TargetDirectoryName], value []
>
>
> I provide you here the fpt:transfer line generated, because I cannot understand where is the problem.
>
> <ftp:transfer receiveFrom="MVT.F%0" receiveFromHasRegexs="false" pollIntervalMillis="5000" preReceiveCommand="NONE" preReceiveLocation="" preReceiveLocationHasPatterns="false" postReceiveCommand="NONE" postReceiveLocation="" postReceiveLocationHasPatterns="false" use="literal" messageCorrelate="false" fileType="text" part="part1"/>
>
>
> Any help?
>
> Regards,
> -----Original message-----
> From: Harry Liu [hidden email]
> Date: Thu, 15 Oct 2009 21:03:46 +0200
> To: [hidden email]
> Subject: Re: FTP BC information
>
> > Saw Jim's email reply ... Raw Commands are not exposed in FTPBC currently.
> >
> > Regards,
> > Harry
> >
> > On 10/15/2009 12:33 PM, Harry Liu wrote:
> > > Seems you intend to invoke "SITE" commands on mainframe,
> > >
> > > in JavaCAPS FTP eWay/Adapter, you can do it by configuring "Pre/Post
> > > Raw Commands", e.g.
> > > SITE BLOCKSIZE=32750;SITE RECFM=FB;SITE LRECL=50
> > >
> > > I am not sure whether this configuration option is carried over to
> > > FTPBC or not.
> > >
> > >
> > > Thanks,
> > > Harry
> > >
> > > -------- Original Message  --------
> > > Subject: Re: FTP BC information
> > > From: Fernando Martin <[hidden email]>
> > > To: [hidden email]
> > > Date: 10/15/2009 12:18 PM
> > >> Thanks for the quick answer,
> > >> I tested with the ftp:transfer, and now looks like it does not
> > >> require the folders. The only issue missing for me is that I need to
> > >> provide those parameters in the PUT operation like BLKSIZE,
> > >> CYLINDERS... It is a requirement from the mainframe administrator,
> > >> meaning that it will not work without them.
> > >>
> > >> I cannot find the information where in the FTPBC to add those
> > >> parameters. Is this possible?
> > >> -----Original message-----
> > >> From: Jim Fu [hidden email]
> > >> Date: Thu, 15 Oct 2009 19:41:49 +0200
> > >> To: [hidden email]
> > >> Subject: Re: FTP BC information
> > >>
> > >>  
> > >>> Hi Fernando,
> > >>>
> > >>> Under FTPBC, there is added logic to handle different ftp servers on
> > >>> different OS platforms in the extended ftp client code, and those
> > >>> logic were tested in the past in the ftp adapter, it worked with ftp
> > >>> servers on OS390, AS400 etc.
> > >>>
> > >>> On the client side, I did not see it is necessary to set those extra
> > >>> parameters you mentioned - may be there are different mode on the
> > >>> mainframe (simulating unix)
> > >>>
> > >>> Yes, ftpbc needs appropriate permission for certain operation if
> > >>> configured to archive / staging target files, note, these are needed
> > >>> to make sure the message routing works even there are concurrent
> > >>> operations in the same target directory, and these are also
> > >>> optional, meaning if user can make sure there is no rick of message
> > >>> overwritten/partial reading etc., it can be disabled (they are all
> > >>> wsdl ext element attributes - subject to user setting), there is a
> > >>> sun type for this : ftp:transfer where the user can specify more
> > >>> details of, e.g. where the file be put, where to get the file from,
> > >>> what is the pre/post operation - or no pre/post operation etc.
> > >>>
> > >>> FYI - those added logic (path envelope handling, dir list parsing
> > >>> etc.) were tested to be working with the intended ftp server on the
> > >>> OS such as OS390, AS400, etc. but not tested yet in the FTPBC
> > >>>
> > >>> Regards
> > >>>
> > >>> Jim
> > >>>
> > >>> Fernando Martin wrote:
> > >>>    
> > >>>> Hi,
> > >>>>
> > >>>> I'm trying to use the FTP BC component to exchange information with
> > >>>> a mainframe (OS/390). I have been requested to set some parameters
> > >>>> in order to PUT files in the FTP server of the mainframe, like
> > >>>> BLOCKSIZE, LRECL, RECFM, TRACKS... and I have the values for these
> > >>>> parameters. I have several questions here:
> > >>>> - Is it possible to pass these parameters to the FTPBC? If it is, how?
> > >>>> - Mainframe cannot create folders in the FTP servers, and FTPBC
> > >>>> seems to need some folders like inbox, instage... Will this work
> > >>>> without those folder?
> > >>>>
> > >>>> Thanks,
> > >>>>
> > >>>> Fernando
> > >>>>
> > >>>> ---------------------------------------------------------------------
> > >>>> To unsubscribe, e-mail: [hidden email]
> > >>>> For additional commands, e-mail: [hidden email]
> > >>>>
> > >>>>        
> > >>> ---------------------------------------------------------------------
> > >>> To unsubscribe, e-mail: [hidden email]
> > >>> For additional commands, e-mail: [hidden email]
> > >>>
> > >>>    
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: [hidden email]
> > >> For additional commands, e-mail: [hidden email]
> > >>
> > >>  
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Jim Fu

Re: FTP BC information

Reply Threaded More More options
Print post
Permalink
In reply to this post by fmartin
Some javascript/style in this post has been disabled (why?)
the wsdl ext element looks OK to me, the target file should be set to "MVT.F%0", however, you got
FTPBC-E006021
which is a validation error when the runtime tries to set target file name...

can you attach your project?

regards
Jim

Fernando Martin wrote:
Ok, thanks for the answer.

In order to receive messages (poll), i do not need to provide those parameters, so I guess I can use the FTPBC, I'm doing a test, using the FTPBC Receive Request type (not poll).

The problem I'm finding is that everytime I deploy the test I always get this error:

FTPBC-E006021: Missing or invalid parameter [TargetDirectoryName], value []


I provide you here the fpt:transfer line generated, because I cannot understand where is the problem. 

<ftp:transfer receiveFrom="MVT.F%0" receiveFromHasRegexs="false" pollIntervalMillis="5000" preReceiveCommand="NONE" preReceiveLocation="" preReceiveLocationHasPatterns="false" postReceiveCommand="NONE" postReceiveLocation="" postReceiveLocationHasPatterns="false" use="literal" messageCorrelate="false" fileType="text" part="part1"/>


Any help?

Regards,
-----Original message-----
From: Harry Liu [hidden email]
Date: Thu, 15 Oct 2009 21:03:46 +0200
To: [hidden email]
Subject: Re: FTP BC information

  
Saw Jim's email reply ... Raw Commands are not exposed in FTPBC currently.

Regards,
Harry

On 10/15/2009 12:33 PM, Harry Liu wrote:
    
Seems you intend to invoke "SITE" commands on mainframe,

in JavaCAPS FTP eWay/Adapter, you can do it by configuring "Pre/Post 
Raw Commands", e.g.
SITE BLOCKSIZE=32750;SITE RECFM=FB;SITE LRECL=50

I am not sure whether this configuration option is carried over to 
FTPBC or not.


Thanks,
Harry

-------- Original Message  --------
Subject: Re: FTP BC information
From: Fernando Martin [hidden email]
To: [hidden email]
Date: 10/15/2009 12:18 PM
      
Thanks for the quick answer,
I tested with the ftp:transfer, and now looks like it does not 
require the folders. The only issue missing for me is that I need to 
provide those parameters in the PUT operation like BLKSIZE, 
CYLINDERS... It is a requirement from the mainframe administrator, 
meaning that it will not work without them.

I cannot find the information where in the FTPBC to add those 
parameters. Is this possible?
-----Original message-----
From: Jim Fu [hidden email]
Date: Thu, 15 Oct 2009 19:41:49 +0200
To: [hidden email]
Subject: Re: FTP BC information

 
        
Hi Fernando,

Under FTPBC, there is added logic to handle different ftp servers on 
different OS platforms in the extended ftp client code, and those 
logic were tested in the past in the ftp adapter, it worked with ftp 
servers on OS390, AS400 etc.

On the client side, I did not see it is necessary to set those extra 
parameters you mentioned - may be there are different mode on the 
mainframe (simulating unix)

Yes, ftpbc needs appropriate permission for certain operation if 
configured to archive / staging target files, note, these are needed 
to make sure the message routing works even there are concurrent 
operations in the same target directory, and these are also 
optional, meaning if user can make sure there is no rick of message 
overwritten/partial reading etc., it can be disabled (they are all 
wsdl ext element attributes - subject to user setting), there is a 
sun type for this : ftp:transfer where the user can specify more 
details of, e.g. where the file be put, where to get the file from, 
what is the pre/post operation - or no pre/post operation etc.

FYI - those added logic (path envelope handling, dir list parsing 
etc.) were tested to be working with the intended ftp server on the 
OS such as OS390, AS400, etc. but not tested yet in the FTPBC

Regards

Jim

Fernando Martin wrote:
   
          
Hi,

I'm trying to use the FTP BC component to exchange information with 
a mainframe (OS/390). I have been requested to set some parameters 
in order to PUT files in the FTP server of the mainframe, like 
BLOCKSIZE, LRECL, RECFM, TRACKS... and I have the values for these 
parameters. I have several questions here:
- Is it possible to pass these parameters to the FTPBC? If it is, how?
- Mainframe cannot create folders in the FTP servers, and FTPBC 
seems to need some folders like inbox, instage... Will this work 
without those folder?

Thanks,

Fernando

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

        
            
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

    
          
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

  
        
      
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

    

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]