WebSphere MQ FTP client Version 1.3

Similar documents
List of FTP commands for the Microsoft command-line FTP client

Release Notes. IBM Tivoli Identity Manager Oracle Database Adapter. Version First Edition (December 7, 2007)

Installing and Configuring DB2 10, WebSphere Application Server v8 & Maximo Asset Management

IBM WebSphere Data Interchange V3.3

Remote Control Tivoli Endpoint Manager - TRC User's Guide

IBM VisualAge for Java,Version3.5. Remote Access to Tool API

Table of Contents Introduction Supporting Arguments of Sysaxftp File Transfer Commands File System Commands PGP Commands Other Using Commands

Installing on Windows

Universal File Mover Status Monitor Installation and Operation Manual

IBM Remote Lab Platform Citrix Setup Guide

Release 7.1 Installation Guide

RLP Citrix Setup Guide

IBM DB2 Data Archive Expert for z/os:

CS z/os Application Enhancements: Introduction to Advanced Encryption Standards (AES)

Tivoli Access Manager Agent for Windows Installation Guide

CS z/os Network Security Configuration Assistant GUI

IBM Endpoint Manager Version 9.2. Software Use Analysis Upgrading Guide

Oracle Retail Item Planning Configured for COE Installation Guide Release December 2008

ADSMConnect Agent for Oracle Backup on Sun Solaris Installation and User's Guide

Remote Support Proxy Installation and User's Guide

IBM Client Security Solutions. Client Security User's Guide

Data Warehouse Center Administration Guide

Tivoli Security Compliance Manager. Version 5.1 April, Collector and Message Reference Addendum

Patch Assessment Content Update Release Notes for CCS Version: Update

Table 1 shows the LDAP server configuration required for configuring the federated repositories in the Tivoli Integrated Portal server.

Textura CMS Interface Setup Manual. Version 1.1

z/os V1R11 Communications Server system management and monitoring

IBM. Job Scheduler for OS/400. AS/400e series. Version 4 SC

Communications Server for Linux

IBM SmartCloud Analytics - Log Analysis. Anomaly App. Version 1.2

IBM Security QRadar Version (MR1) Checking the Integrity of Event and Flow Logs Technical Note

IBM Configuring Rational Insight and later for Rational Asset Manager

WebSphere Process Server v6.2 WebSphere Enterprise Service Bus v6.2 WebSphere Integration Developer v6.2

Platform LSF Version 9 Release 1.2. Migrating on Windows SC


IBM Security QRadar Version Installing QRadar with a Bootable USB Flash-drive Technical Note

OS Deployment V2.0. User s Guide

Tivoli Endpoint Manager for Security and Compliance Analytics. Setup Guide

InfoPrint 4247 Serial Matrix Printers. Remote Printer Management Utility For InfoPrint Serial Matrix Printers

IBM WebSphere Message Broker - Integrating Tivoli Federated Identity Manager

Downloading Files using FTP

emedny FTP Batch Dial-Up Number emedny SUN UNIX Server ftp

IBM Enterprise Content Management Software Requirements

Packet Capture Users Guide

IBM Tivoli Web Response Monitor

CREATE!FORM SERVER FOR ISERIES V6R1 INSTALLATION

How To Use An Org.Org Adapter On An Org Powerbook (Orb) With An Org Idm.Org (Orber) Powerbook With An Adapter (Orbor) With A Powerbook 2 (Orbi) With The Power

IBM TRIRIGA Anywhere Version 10 Release 4. Installing a development environment

IBM FileNet System Monitor FSM Event Integration Whitepaper SC

Installing and using the webscurity webapp.secure client

IBM Security SiteProtector System Migration Utility Guide

UNIX: Introduction to TELNET and FTP on UNIX

Tivoli IBM Tivoli Monitoring for Transaction Performance

IBM Security QRadar Version (MR1) Replacing the SSL Certificate Technical Note

Tivoli Endpoint Manager for Configuration Management. User s Guide

Version 8.2. Tivoli Endpoint Manager for Asset Discovery User's Guide

IBM White Paper: IBM Maximo 7.1 Integration Framework Architecture Basics

Fundamentals of UNIX Lab Networking Commands (Estimated time: 45 min.)

IBM TRIRIGA Version 10 Release 4.2. Inventory Management User Guide IBM

Linux. Managing security compliance

The Basics of FTP. Basic Order of Operations: Commands: FTP (File Transfer Protocol) allows a user to transfer files to/from a remote network site.

IBM WebSphere MQ File Transfer Edition, Version 7.0

SupportPac CB12. General Insurance Application (GENAPP) for IBM CICS Transaction Server

Networking File Transfer Protocol

Configuring and Monitoring FTP Servers

Active Directory Synchronization with Lotus ADSync

IBM Client Security Solutions. Password Manager Version 1.4 User s Guide

Patch Management for Red Hat Enterprise Linux. User s Guide

Firewall Security Toolbox User s Guide

Quick Beginnings for DB2 Servers

IBM WebSphere Application Server Version 7.0

PN Connect:Enterprise Secure FTP Client Release Notes Version

DB2 Database Demonstration Program Version 10.5 Installation and Quick Reference Guide

Sametime Version 9. Integration Guide. Integrating Sametime 9 with Domino 9, inotes 9, Connections 4.5, and WebSphere Portal

MQSeries. Clients GC

IBM Lotus Enterprise Integrator (LEI) for Domino. Version August 17, 2010

IBM Crypto Server Management General Information Manual

Print Management. User's Guide

IBM Lotus Protector for Mail Encryption. User's Guide

IBM Security QRadar Version (MR1) Installing QRadar 7.1 Using a Bootable USB Flash-Drive Technical Note

User Guidance. CimTrak Integrity & Compliance Suite

Tivoli Identity Manager

IBM Cognos Controller Version New Features Guide

Continuous access to Read on Standby databases using Virtual IP addresses

DB2 Database Demonstration Program Version 9.7 Installation and Quick Reference Guide

IBM i Version 7.2. Systems management Advanced job scheduler

Tivoli Endpoint Manager for Security and Compliance Analytics

Google Docs Print. Administrator's Guide

IBM WebSphere Adapter for PeopleSoft Enterprise Quick Start Tutorials

Getting Started With IBM Cúram Universal Access Entry Edition

IBM XIV Management Tools Version 4.7. Release Notes IBM

File Transfer Protocol (FTP) Chuan-Ming Liu Computer Science and Information Engineering National Taipei University of Technology Fall 2007, TAIWAN

BrightStor ARCserve Backup for Linux

Data Transfer Tips and Techniques

IBM Enterprise Marketing Management. Domain Name Options for

Business Intelligence Tutorial: Introduction to the Data Warehouse Center

IBM TRIRIGA Application Platform Version Reporting: Creating Cross-Tab Reports in BIRT

IBM Security QRadar Version Common Ports Guide

IBM Security SiteProtector System Two-Factor Authentication API Guide

Transcription:

Version 1.3 July 13 th, 2003 Arjan van Vught e-business Hosting Watsonweg 2 1423 ND Uithoorn The Netherlands avv@nl.ibm.com Property of IBM

Take Note! Before using this report be sure to read the general information under "Notices". Fourth Edition, July 2003 This edition applies to Version 1.3 of WebSphere MQ FTP client and to all subsequent releases and modifications unless otherwise indicated in new editions. Copyright International Business Machines Corporation 2003. All rights reserved. Note to US Government Users -- Documentation related to restricted rights -- Use, duplication or disclosure is subject to restrictions set forth in GSA ADP Schedule contract with IBM Corp. ii

Table of Contents WebSphere MQ FTP client... i Table of Contents...iii Notices... iv Trademarks and service marks... iv Acknowledgments... v Summary of Amendments... vi Preface...vii Bibliography...viii WMQFTP...1 Syntax...1 Description...1 Options...1 Commands...2 Package contents...4 AS/400 installation instructions...5 Appendix A: Exchange for WebSphere MQ...6 iii

Notices The following paragraph does not apply in any country where such provisions are inconsistent with local law. INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions, therefore this statement may not apply to you. References in this publication to IBM products, programs, or services do not imply that IBM intends to make these available in all countries in which IBM operates. Any reference to an IBM licensed program or other IBM product in this publication is not intended to state or imply that only IBM's program or other product may be used. Any functionally equivalent program that does not infringe any of the intellectual property rights may be used instead of the IBM product. Evaluation and verification of operation in conjunction with other products, except those expressly designated by IBM, is the user's responsibility. IBM may have patents or pending patent applications covering subject matter in this document. The furnishing of this document does not give you any license to these patents. You can send license inquiries, in writing, to the IBM Director of Licensing, IBM Corporation, 500 Columbus Avenue, Thornwood, New York 10594, USA. The information contained in this document has not be submitted to any formal IBM test and is distributed AS-IS. The use of the information or the implementation of any of these techniques is a customer responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. While each item has been reviewed by IBM for accuracy in a specific situation, there is no guarantee that the same or similar results will be obtained elsewhere. Customers attempting to adapt these techniques to their own environments do so at their own risk. Trademarks and service marks The following terms, used in this publication, are trademarks of the IBM Corporation in the United States or other countries or both: IBM WebSphere MQ AIX AS/400, OS/400 The following terms are trademarks of other companies: HP-UX Hewlett-Packard Company Linux Linus Torvalds Sun Solaris Sun Corporation iv

Acknowledgments The author would like to acknowledge Jeroen Vermeulen from IBM Software Group who was very helpful at numerous times. v

Summary of Amendments Date Changes 16 October 2001 Initial release 21 January 2002 OS/400 support added Passive mode support added 30 July 2002 Bug not running on NT Workstation fixed Bug using binary mode fixed Enhanced user command Remote Queue support added 13 July 2003 Updated for WebSphere MQ 5.3 Message segmentation support added vi

Preface Description This SupportPac provides a basic FTP client for WebSphere MQ. The supplied wmqftp command uses the File Transfer Protocol (FTP) to transfer data (stored as remote 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 MQSeries for OS/400 V4.2.1, or later vii

Bibliography MQSeries Application Programming Reference, IBM Corporation. SC33-1673 RFC 959 viii

WMQFTP Syntax wmqftp [-d] [-p] [-n] [-v] [host] Description At the wmqftp> prompt, you can enter subcommands to perform task such as listing remote directories, changing the current WebSphere MQ queue and remote directory. If you execute the wmqftp command and do not specify the HostName parameter for a remote host, the wmqftp command immediately displays the wmqftp> prompt and waits for a wmqftp subcommand. To connect to a remote host, execute the open subcommand. When the wmqftp command connects to the remote host, the wmqftp command the prompts for the login name and password before displaying the wmqftp> prompt again. At default, the wmqftp command connects to the default queuemanager and opens the SYSTEM.DEFAULT.LOCAL.QUEUE with and sets the MQMD.Persistence to MQPER_PERSISTENT and MQMD.MsgFlags to MQMF_SEGMENTATION_ALLOWED. Options -p -v -d -n Use passive mode for data transfers. Allows use of wmqftp in environments where a firewall prevents connections from the outside world back to the client machine. Requires that the ftp server support the PASV command. Verbose option forces ftp to show all responses from the remote server, as well as report on data transfer statistics. Enables debugging. Restrains wmqftp from attempting auto-login' upon initial connection. If auto-login is enabled, wmqftp will prompt for the remote machine login name (default is the user identity on the local machine), and, if necessary, prompt for a password with which to login. The host with which wmqftp is to communicate may be specified on the command line. If this is done, wmqftp will immediately attempt to establish a connection to an FTP server on that host; otherwise, wmqftp will enter its command interpreter and await instructions from the user. When wmqftp is awaiting commands from the user the prompt `wmqftp>' is provided to the user. 1

Commands The following commands are recognized by wmqftp: ascii binary bye cd remote-directory close debug dir [remote-directory] disconnect get remote-file ls [remote-directory] mqconn QMgrName mqopen QName mqqdepth [Qname] mqper mqnper mqseg mqnseg open host put remote-file pwd quit Set the file transfer type to network ASCII. This is the default type. Set the file transfer type to support binary image transfer. Terminate the FTP session with the remote server and exit wmqftp. An end of file will also terminate the session and exit. Change the working directory on the remote machine to remote-directory. Terminate the FTP session with the remote server, and return to the command interpreter. Toggle debugging mode. When debugging is on, wmqftp prints each command sent to the remote machine, preceded by the string `-->' Print a listing of the directory contents in the directory, remote-directory. If no directory is specified, the current working directory on the remote machine is used. A synonym for close. Retrieve the remote-file and store it on the local machine queue. Print a listing of the contents of a directory on the remote machine. The listing includes any system-dependent information that the server chooses to include; for example, most UNIX systems will produce output from the command `ls -l'. If remote-directory is left unspecified, the current working directory is used. Connect to queue manager (disconnect from previous qmgr) Open queue (close previous queue) Display current queue depth Set WebSphere MQ messages to persistent (default) Set WebSphere MQ messages to non-persistent Enable WebSphere MQ messages segmentation (default) Disable WebSphere MQ messages segmentation Establish a connection to the specified host FTP server. If the auto-login option is on (default), ftp will also attempt to automatically log the user in to the FTP server. Store a local MQSeries message on the remote machine. Print the name of the current working directory on the remote machine. A synonym for bye. rhelp [command-name] 2

rstatus status system type [type-name] user [password] verbose? [command] Request help from the remote FTP server. If a command-name is specified it is supplied to the server as well. Show status of remote machine. Show the current status of wmqftp. Show the type of operating system running on the remote machine. Set the file transfer type to type-name. If no type is specified, the current type is printed. The default type is network ASCII. Identify yourself to the remote FTP server. Toggle verbose mode. In verbose mode, all responses from the FTP server are displayed to the user. In addition, if verbose is on, when a file transfer completes, statistics regarding the efficiency of the transfer are reported. By default, verbose is on. A synonym for help. 3

Package contents The following files are shipped in this SupportPac: ma0p.pdf license2.txt This file License file SupportPac tree: \NT \AIX \Sun \HPUX wmqftp.exe wmqftp wmqftp wmqftp \Linux86 wmqftp \OS400 MA0P 4

AS/400 installation instructions Complete the following steps: 1. Create a destination save file on your AS/400. If you do not, the restore process will not recognize the files as being in the SAVF format. 1. Enter CRTSAVF and then press F4 (prompt) 2. Enter the save file name, the library name, and press Enter. Note: The LIBRARY name must be an existing library in your system. If it is not, use the CRTLIB command to create it. For example: CRTLIB MQFTP 3. Download the file from the Web to a PC and unzip the file. For example, if using pkzunip enter: pkunzip MA0P 4. Use FTP to send the file from the PC to your AS/400, as follows: 1. Open an FTP session from the PC to your AS/400 and use the FTP binary subcommand to set the mode to BINARY. 2. Make sure the current library is the library where the SAVF file was created. If it is not, use the FTP cd subcommand (cd MQFTP) to change the current library. Note: If you use the dir command to list a library, the mode is changed automatically to ASCII, so if you set binary mode and then entered dir, the mode is reset; therefore, issue the binary subcommand once more. 3. Use the FTP put subcommand to transfer the file put MA0P 5. Restore the file by RSTOBJ OBJ(*ALL) SAVLIB(MQFTP) DEV(*SAVF) SAVF(library/MA0P) Notes: a) The fully qualified name of the save file you created in step 1 is library/ma0p. b) The SAVLIB parameter is the name of the library where the files were originally saved, and these parameters are required. 5

Appendix A: Exchange for WebSphere MQ IBM Exchange for WebSphere MQ provides the network, protocol conversion, message routing, and storage to support secured transaction processing among WebSphere MQ and EDI trading partners. A single wide area networking or remote access connection to the service eliminates the need to connect individually with trading partners, while providing a security buffer from them. Transactions can be routed immediately or saved for later retrieval. A Java-based administration tool is provided for enhanced management of queues and trading partner definitions. For further information: http://edi.services.ibm.com/mqseries/spec_sheets.shtml Traditional EDI with a flat file gateway CRM ERP Trading Partner VAN WDI Enterprise WebSphere MQ backbone WMQI Trading Partner SCM DB Connecting to EDI using Exchange for WebSphere MQ and a WMQ backbone CRM ERP Trading Partner VAN Exchange for WebSphere MQ WDI Enterprise WebSphere MQ backbone WMQI Trading Partner SCM DB End of Document 6