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



Correction.  It was hex 6A not hex CA in the DB2 file.

Rob Berendt
-- 
"They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety." 
Benjamin Franklin 




rob@xxxxxxxxx 
Sent by: midrange-l-bounces@xxxxxxxxxxxx
10/21/2003 03:38 PM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
MIDRANGE-L@xxxxxxxxxxxx
cc

Subject
Vertical bar translation






I have a file in a library.  The CCSID of this file, (from DSPFD) is 
65535.
I use the following command on this file:
CPYTOSTMF  +
                          FROMMBR('/qsys.lib/ediftpdta.lib/gxsftpun.f+
                          ile/gxsftpun.mbr') +
                          TOSTMF('/ediftpdta/edioutifs') +
                          STMFOPT(*REPLACE) STMFCODPAG(*STMF) +
                          ENDLINFMT(*CRLF)
Then I use FTP in the standard ASCII method to move this file to another 
platform.

Problem:  Hex CA is a vertical bar.  On my keyboard it's the cap's mode of 

the backslash just above the Enter key.
If I ftp this down to my PC and use either Notepad or Wordpad it looks 
great - a vertical bar.
However if I use TYPE thefilename from DOS it looks like a superscripted 
underlined capital Q.
I don't know how to use these utilities to display the ascii code of the 
data.

Why this is important.
Our customer is rather fond of this vertical bar.  And whatever platform 
they are using comes up with (I've been told anyway) an ampersand.

Is there some trick I have to do such as:
- Changing the CCSID of the physical file that is the source of the 
CPYTOSTMF to some magic number?
- Having a preexisting IFS file with just the right CCSID?
- Changing the STMFCODPAG option to some number?



Rob Berendt
-- 
"They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety." 
Benjamin Franklin 
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing 
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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.