× 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.



I did not know that DSPF will do that. I have learned few new things
today.

Thanks list!

PETER VIDAL
MAPICS IT TECHNICAL SUPPORT TEAM / SR SYSTEM ANALYST
10540 Ridge Rd., Suite 203, New Port Richey, FL 34654-5111
Tel:727-849-9999, x2414 /// Fax:727-815-3120
WWW.PALL.COM

"They say there are two important days in your life: the day you were
born, and the day you find out why you were born."
Carl Towsend




Vern Hamberg <vhamberg@xxxxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
06/16/2009 04:37 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
cc

Subject
Re: CPYFRMSTMF: Copying Data from a Stream File to a Data-base File
Without Data Conversion






To expand a bit on my last post - DSPF will convert the data to a
readable form, usually. DSPPFM will not - if you throw ASCII bytes into
a physical file, you see garbage - well, you actually see what the
EBCDIC character is for that particular byte value.

Make sense?
Vern

Peter_Vidal@xxxxxxxx wrote:
"If you said no convert, why wouldn't it be garbage?
You didn't say whether you were trying to view from PC or AS400."

Sorry, let me give you more details: it is a .TXT file
and the data is like "fixed space" delimited, like:

BCOMNO BORTYP BORDNO BLINSQ
------- ------ ------ -------
7848 9 082854 1
7848 9 082854 2
7848 9 082854 3
7848 9 082854 7
7848 9 082854 11
7848 9 082854 12

I see the data like that when I open it in Wordpad and when I do EDTF
and
DSPF commands. That is why I know that there is a problem when I have
garbage after the command executes. I use DSPPFM and the garbage is
more
detailed and colorful when I use DBU or WRKQRY to see the data..

By the way, the file TEMPFILE in QTEMP has a record length of 32766 and
its coded character set identifier (CCSID) is 65535. For the stream
file,
I believe is 00437. The job's CCSID is 00037.

PETER VIDAL
MAPICS IT TECHNICAL SUPPORT TEAM / SR SYSTEM ANALYST
10540 Ridge Rd., Suite 203, New Port Richey, FL 34654-5111
Tel:727-849-9999, x2414 /// Fax:727-815-3120
WWW.PALL.COM

"Teachers open the door. You enter by yourself."
Chinese Proverb


--------------------------------------------------------------------------------

Attention:

This communication may contain information that is confidential,
privileged and/or exempt from disclosure under applicable law.
If you are not the intended recipient, please notify the sender
immediately and delete the original, all attachments, and all
copies of this communication.



--------------------------------------------------------------------------------


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.