ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » Free FTP over MQSeries - maybe

Post new topic  Reply to topic
 Free FTP over MQSeries - maybe « View previous topic :: View next topic » 
Author Message
RogerLacroix
PostPosted: Sun Oct 07, 2001 9:31 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
Location: London, ON Canada

All:

I was thinking of creating a cross platform FTP over MQSeries program. For three years, I tried to convince the product managers of my previous employer to create a stand-alone FTP program for MQSeries. All I ever heard was 'lack of customer interest', 'lack of budget', etc…

I was looking through the MQ list server archives and I noticed that people regularly ask about doing FTP over MQSeries. So, now that I am an unrestricted free agent (so to speak), I thought I would create one and make the source code available.

About 5 years ago or so, I created an FTP over MQSeries program that involved MVS, AIX and OS/2 (later WinNT). The program had to handle the segmenting of messages that were larger than 4MB. Plus each platform had its own configuration file that became a nightmare to update when a new file was added to the system.

Since, 'message grouping' is available in version 5.x for MQSeries and version 5.x is now available for all major platforms, I will utilize it when I write the code (why re-invent the wheel ). The name of the FTP over MQSeries program will be FTP4MQ (I like it. ).

Goals for this program:
- Support the following major platforms: OS/390 (MVS), AIX, Solaris, HP-UX, Linux and WinNT/2000 (Sorry, I know very little about OS/400).
- Only the receiving platform will require the FTP4MQ server to be running.
- FTP4MQ should be fast and easy to use.
- FTP4MQ should be easy to configure.


There are 2 questions that I would like the people of the list server and mqseries.net to express an opinion on:

1) What cross platform language should FTP4MQ be written in? I know C, COBOL, Java, Perl and REXX:
I think we can rule out Perl because I have never seen it on OS/390. While writing FTP4MQ in REXX would be interesting, an interpreted language may not be as fast as the other languages plus I rarely see REXX on UNIX boxes. No offense to COBOL programmers but I'd rather not, plus I rarely see COBOL on UNIX boxes. Therefore, that leaves C or Java for cross platform development. I know that some shops are now installing Java on OS/390 but I would like to know if that is the majority of shops.

2) How would you like the configuration files (nicknames) to be stored?
a) one ini file or sysin member per platform (per queue manager)?
b) Central LDAP for all platforms?
c) Centralized MQSeries program to act as a configuration server (like LDAP but over MQ)

Option (a) is old technology and I would prefer not to do it this way. LDAP is the most logical approach but anyone with a SNA network would not be able to use a LDAP (LDAP requires TCP/IP). So, that leaves option (c), a MQ program that functions similar to a LDAP.

List of features for FTP4MQ:
- Adding or stripping of CR/LF for string data between platforms.
- Support for variable length records.
- Stripping of ANSI characters (MVS thing)
- Support for binary or string data (i.e. FTP commands: BINARY or ASCII)
- Append current file to old file.
- Support nickname for file transmission (i.e. predefined file names and attributes for source and destination of transmission)

Note: I have not decided on the license that will be used for the source code. I.e. GPL, Public Domain, Open Source, Freeware, etc… I have got to keep those commercial software vendors at bay.

Let me know what you think.

Later
Roger…

Back to top
View user's profile Send private message Visit poster's website
Outdesign
PostPosted: Tue Oct 16, 2001 3:52 am    Post subject: Reply with quote

Apprentice

Joined: 16 Sep 2001
Posts: 38
Location: Hampshire, UK

QUOTE : "I think we can rule out Perl because I have never seen it on OS/390"

Roger,

You may wish to reconsider this as an option ...

Perl is available on OS/390 under USS (Unix System Services)
See http://www.perl.com/CPAN-local/ports/#zos
Back to top
View user's profile Send private message Visit poster's website
RogerLacroix
PostPosted: Tue Oct 16, 2001 9:27 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
Location: London, ON Canada

Has anyone actually tried this Perl offering on OS/390?

The only other missing piece for Perl is the MQSeries API modules. Currently, nobody has ported the Perl MQ API modules to OS/390. See link:
http://www.cpan.org/modules/by-module/MQSeries/

later
Roger...
http://www.geocities.com/capitalware/
Back to top
View user's profile Send private message Visit poster's website
Outdesign
PostPosted: Wed Oct 17, 2001 3:10 am    Post subject: Reply with quote

Apprentice

Joined: 16 Sep 2001
Posts: 38
Location: Hampshire, UK

QUOTE: "Has anyone actually tried this Perl offering on OS/390?"

Yes, it is my understanding that IBM use Perl for their MQSeries and MQSI
RTS (regression test suites) which run on at least AIX, Solaris, HP-UX, Windows NT
and 2000, AS400 and OS/390. These Perl scripts setup the underlying MQSeries
and MQSI configuration for testing a particular build of these products.

This does not extend to making MQI calls.

However, Perl does run successfully on OS/390 in the USS (Unix System Services)
environment. The MQSeries queue managers themselves run under native MVS.

As such, I would say you are correct in that the missing piece is the ported Perl
MQ API modules for OS/390.

Sure this could be done but would probably require some development work

It may be worth sending a request directly to W. Phillip Moore <Phil.Moore@msdw.com>
of Morgan Stanley Dean Witter and Co. as they are users of both MQSeries and OS/390,
I think ? ( re : http://www.cpan.org/modules/by-module/MQSeries/MQSeries-1.14.readme )


The Perl on OS/390 route may prove fruitless in terms of your original posting, but
thought it worth investigating.


[ This Message was edited by: Outdesign on 2001-10-17 04:12 ]
Back to top
View user's profile Send private message Visit poster's website
kumar
PostPosted: Sat Oct 27, 2001 6:41 pm    Post subject: Reply with quote

Newbie

Joined: 26 Oct 2001
Posts: 6

I thought there are some bridges available which work over ftp too.
Back to top
View user's profile Send private message
Outdesign
PostPosted: Fri Nov 23, 2001 6:35 am    Post subject: Reply with quote

Apprentice

Joined: 16 Sep 2001
Posts: 38
Location: Hampshire, UK

Roger,

Thought you may be interested in this

http://www-3.ibm.com/software/ts/mqseries/txppacs/ma0p.html

MA0P: MQSeries FTP client

Description
===========
This SupportPac provides a basic FTP client for MQSeries. The supplied mqftp command
uses the File Transfer Protocol (FTP) to transfer files between the local queuemanager
and a remote host.

Possible uses
=============
This SupportPac can be used in an environment where you need to transfer data
between the local queuemanager and a remote host when the remote host only has
the FTP protocol available.

The SupportPac provides the following functions:

Log in to a remote system
Display local help information
Display remote help information
Change local queue
Change local queuemanager
Change the persistence state of the message
Get a remote file and put the data on a local queue
Get a message from a local queue and put it into a remote file
Display the current queue depth

Prerequisites
=============

The SupportPac requires one of the following:

MQSeries for NT - V5.1, or later
MQSeries for AIX - V5.1, or later
MQSeries for Sun Solaris - V5.1, or later
MQSeries for HP-UX - V5.1, or later
MQSeries for Linux - V5.2


[ This Message was edited by: Outdesign on 2001-11-23 06:37 ]

[ This Message was edited by: Outdesign on 2001-11-23 06:40 ]
Back to top
View user's profile Send private message Visit poster's website
RogerLacroix
PostPosted: Mon Nov 26, 2001 10:28 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
Location: London, ON Canada

Hi,

Actually, the support pac MA0P was announced about a week after my original post. With my wife getting sick and all, I have put most of my projects on the back burner.

One of the reasons I haven't given my ftp over mq project a second look is that the MA0P support pac is a reasonable substitute.

I have 3 concerns related to MA0P:

1) No support for OS/390 - when you leave out the big iron, it's like cutting off a leg for most big companies.

2) MA0P has it's own unique ftp / mq commands. The reason I wanted to build a ftp over mq program was to use the same ftp commands.
i.e.
open host.name
user flintstone wilma
ascii
cd /reports/today
put file.new
quit

Only use the quote command for special cases like putting a file to a queue or queue to a file (rather than file to a file).

3) No source code. With IBM embracing open source, you would think that they would publish the source code for MA0P but they didn't. So it is impossible to make any enhancements.

later
Roger...
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Free FTP over MQSeries - maybe
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.