Home > Ask the AS/400 Experts > iSeries Application Development Questions & Answers > Transferring data between an iSeries and Sun Solaris
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Transferring data between an iSeries and Sun Solaris

Tim Granatir EXPERT RESPONSE FROM: Tim Granatir

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 26 February 2003
For one of our projects, it is required to do a data transfer between an iSeries and Sun Solaris -- in both directions. Example: To and from the iSeries with Solaris where in Solaris side data will be from an Oracle database. We decided not to go for any third-party tools and prefer to use FTP. Please let us know how this can be accomplished in detail?

>

As far as getting data to and from a non-AS/400 box, there are at least two easy ways (that are also native to the AS/400 and free) to help you do that.

The first one, FTP is pretty straightforward. You connect to your other machine, you put or get the files and you're done. If you're not familiar with FTP, the Search400.com Web site is full of FTP tips and tricks.

Another source of information is the TCP/IP configuration and reference guide and another option is to type the word help from an ftp prompt. Another way to share data between two machines is to use NFS (Network File System) and this method is especially popular when one of the machines involved is a UNIX system. NFS is native to the 400 and most open system machines, is easily setup and is relatively low maintenance. An NFS drive acts like a shared disk drive between the two systems. From the AS/400, it will look like another directory in the Integrated File System, to a UNIX box it will look like just another directory. When you use NFS, one system will export the drive and the other will mount the drive.

Back to your original question, standard FTP will get the data to and from your two systems. The bigger issue is what do you do with the data once it gets there and that depends on what you are trying to accomplish. For generally exchanging transaction files, comma delimited files are easily produced and read from iSeries and UNIX machines. Using comma delimited files generally requires a second step to format the data into your native file systems. On the iSeries, two native commands help you produce and import delimited files and these commands are CPYTOIMPF(copy to import file) and CPYFRMIMPF(Copy From Import File). If you decide to use NFS, you can use these commands on files residing on the NFS drive.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your programming questions--or help out your peers by answering them--in our live discussion forums.

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
iSeries Application Development
Monitoring escape messages and using RCVMSG for diagnostic messages
Listing contents of multiple FTP directories on AS/400
Chain operation error after converting RPG3 to ILE RPG (RPGIV)
Space offset X'0015FF00' or X'0000000000000000' is outside current limit for object QIGC2424C
Searching fields for values
iSeries application display subfiles with other program windows
Searching part of a name or address in AS/400
Passing parameters in an ILE RPG module
What's happening to my subfile?
What happening to my subfile?

Network File System (NFS)
Blocking AS/400 DB2 users
Using NFS to create image catalog entries
Top advice on connecting to the iSeries
Mapping a drive using NFS
Mount NTFS volume on the iSeries
Transfer an ASCII file in XML format
Network File System (NFS) Research

FTP
How to view source files in the library
Simplify the process of converting a spool file from iSeries into an Excel spreadsheet
Generically send a text file from the IFS via FTP
Automate Client Access to find files on Windows scheduler
SAVF by FTP on AS/400 -- error "source file not found"
Use a virtual directory to move a .bmp file from the IFS to a remote server to run a software package
Transferring binary files to IFS from a PC via FTP
FTP from AS/400 to PC folder
How to FTP without knowing the file name
IFS folder error

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts