× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Connecting UNIX through AS/400
  • From: Carol Bastien <cabastien@xxxxxxxx>
  • Date: Tue, 29 Jun 1999 06:40:42 -0700
  • Organization: @Home Network

I do not work on Unix machines. I find it interesting that they cannot deal with
packed/binary data!  However, if that is the case, you can create a logical over
the file you wish to send and redefine the packed fields as signed numeric to
eliminate the packed data.  Then send from the logical file to the Unix. - cb

Buck Calabro wrote:

> You can certainly use ftp to move packed/binary data between 2 AS400's, but
> the original question involved a transfer from AS400 to Unix.  I have not
> met many Unix programs that understand how to read an AS400 packed numeric
> field, hence the cautionary note.
>
> Buck
> > -----Original Message-----
> > From: Carol Bastien
> > Sent: Sunday, June 27, 1999 8:41 AM
> > To:   RPG400-L@midrange.com
> > Subject:      Re: Connecting UNIX through AS/400
> >
> > Just an quick info update - It's very easy to send packed fields using FTP
> > whether it's an interactive or batch process.  Once you are signed on the
> > FTP session, execute the  'Binary' subcommand prior to the Put or Get
> > subcommand.  That is also required to transfer savefiles which I use to
> > send a group of files or the source for programs.  One thing you should
> > remember, the files you send must be defined on the receiving system
> > first, or you will end up with only one field file.
> >
> >
> > Buck Calabro wrote:
> >
> > RPG IV supports sockets calls, so that's one way to talk to a Unix system.
> >
> > FTP works great for moving files back and forth as long as you don't have
> > packed fields.
> >
> > Buck Calabro
> >
> > > -----Original Message-----
> > > From: G.R.Srinivas
> > > Sent: Wednesday, June 23, 1999 12:52 PM
> > > To:   RPG400-L@midrange.com
> > > Subject:      Connecting UNIX through AS/400
> > >
> > > Kindly suggest how to connect to UNIX system through RPG program,
> > > transfer files to and from UNIX, execute UNIX commands/files on UNIX.
> >
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
> * This is the RPG/400 Discussion Mailing List!  To submit a new         *
> * message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
> * from this list send email to MAJORDOMO@midrange.com and specify       *
> * 'unsubscribe RPG400-L' in the body of your message.  Questions should *
> * be directed to the list owner / operator: david@midrange.com          *
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.