× 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: CPYTOIMPF/CPYTOSTMF
  • From: "David Morris" <dmorris@xxxxxxxxxxxxx>
  • Date: Tue, 16 Mar 1999 14:10:52 -0700

Evan,

There is an article in the March issue of Midrange Computing that 
describes the steps necessary.  The steps are:

CPYTOIMPF   FROMFILE(Lib/File Mbr)   TOSTMF('/QDLS/Folder/File.Ext')  +
              MBROPT(*REPLACE) RCDDLM(*CRLF) STRDLM('"') FLDDLM(', ')
CHGDOCD     DOC(File.Ext) FLR(Folder) DOCD('Message subject')
SNDDST      TYPE(*DOC) TOINTNET((user@domain)) +
              DSTD('Required distribution description') +
              MSG('Message text') DOC(File.Ext) FLR(Folder)

David Morris

>>> Evan Harris <spanner@ihug.co.nz> 03/16/99 12:12PM >>>
Hi guys,

I have been trying to produce a comma delimited .txt file for a PC from a
physical file for a few days now, and the correct use of the CPYTIMPF
command escapes me.

So far I have been able to produce a Comma delimited file as a source
member of another physical file (padded with hard spaces in the comma
delimited fields I might add), but the ability to produce this file
directly into the QDLS file system has eluded me. All I get when I access
the file is a string of junky lookng characters.

I can't believe that I have to download the deimited file from a source
physical file, as the whole point of converting it before download will
have been lost, at least as I see it.

What I want to be able to do is produce a comma delimited file directly
into the QDLS folder system (or another file system if that's what it
takes) so that users can access it directly, or I can mail it to them in
it's final form.

So far all i have been able to ascertain is that the CCSID may have
something to do with how the file gets translated into characters the PC
can't use, but the use of this parameters seems obscure to me.

Ha anyone wrestled with this problem and how did they solve it ?

I am NOT INTERESTED in a commercial product at this stage, as the volume
doesn't warrant it at present.

Thanks in advance.
Evan Harris


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@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.