MIDRANGE dot COM Mailing List Archive



Home » LINUX5250 » May 2001

Re: tn5250 Newbie Questions....


  • Subject: Re: tn5250 Newbie Questions....
  • From: Chuck Landress <clandres@xxxxxxxxxxxxxx>
  • Date: Mon, 14 May 2001 20:15:32 -0400

fixed

There is an AS/400 command (I don't remember exactly) that takes a database file
and converts it to a stream file on the AS/400.  It will even put it on a NT box
with commas between the fields and so forth.  The command is "Convert To Export
File" or "Convert To Import File".  Once it's converted a PC attached to the
AS/400 could then copy the file anywhere.

You probably have to be at release 4.4 of OS/400.

-Chuck Landress

Larry Bottorff wrote:

> Hello,
>
> I have a day job (I'm a comp sci at Wichita State) at a Kansas county gov
> (Harvey) where lot of data is in an AS400. I've been using a commercial
> client (WRQ Reflection), but would like to go Open Source. We need to get
> raw files used by an ancient COBOL program over to our LAN. I would like
> to hack tn5250 to simply do file transfers out of the AS400. My ulterior
> motive is to get an entire app running on cygwin for distribution
> throughout the state. (Another motive is to learn about a serious OS
> project!) The COBOL program is CAMA, a popular package that tax appraisers
> use, but has no known hooks for getting stuff into the "modern world". If
> I can get it going for real-time data extraction, I hope to talk the state
> of Kansas into looking at Linux (and OS) more seriously. As of now I'm
> struggling with cygwin on NT, a fine thing, but not the real thing....
>
> I would appreciate some hints, whatever you can spare, on how to subtract
> out the visual (curses, etc.) and just bring over files. You might say,
> "why not do ftp?" Well, I could, but a) I'd like more functionality b)
> things here are bureaucratic and political, i.e., I can't just go up and
> ask for ftp permissions, weird but true....
>
> BTW, here's what happens to -16.1 on cygwin 1.1.8:
>
> /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.     -g
> -O2 -c
> buffer.c
> gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c buffer.c -o buffer.o
> In file included from tn5250-private.h:110,
>                  from buffer.c:34:
> /usr/include/termcap.h:49: conflicting types for `tparm'
> /usr/include/ncurses.h:733: previous declaration of `tparm'
> make: *** [buffer.lo] Error 1
>
> Any hints?
>
> Larry Bottorff
>
> +---
> | This is the LINUX5250 Mailing List!
> | To submit a new message, send your mail to LINUX5250@midrange.com.
> | To subscribe to this list send email to LINUX5250-SUB@midrange.com.
> | To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---

+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to LINUX5250@midrange.com.
| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact