× 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: source file download via CA/400
  • From: Richard Baird <rbbaird@xxxxxxxxxxx>
  • Date: Fri, 12 Dec 1997 10:02:39 -0500
  • Organization: Premium Systems, Inc.

Seasons greetings!!!

I was wondering if someone could help me with a minor problem.

We're doing a lot of cgi programming for web pages using rpg.  We store
the html in source file members on the as400.

Typically, our html developers design the pages on PCs, and I transfer
them to the 400 via client access.  The problem is that, sometimes, I
need to do the reverse - download the files to a pc, so that the web
developers can make changes.

The problem lies in the fixed record length nature of source files.  All
the records have padded spaces at the end, making it more difficult to
edit using pc based editors.   It's not a big deal, just an annoyance.

My question is this, does anyone have a decent way of downloading fixed
length records, but only transfering the non-blank portions of the
records, I assume by somehow appending a carriage return to the end of
each record?

Thanks in advance,

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


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.