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



Hello Mark,

You wrote:
>2) The logical not character (SHIFT-6) shows up as a carat. This character
>is transferred to the source PF as a carat. I can't even get that character
>in a 5250 screen using SEU.

You should ALWAYS use the symbolic values (i.e., *NOT, *CAT, *BCAT, *TCAT)
and NEVER use the caret ^, vertical bar | and angle brackets <>.  The ^|<>
characters are variant which means their representation in hex is not the
same in different codepages.  Since CCSID encoding is intended to maintain
the visual representation of the character an ASCII caret is converted to an
EBCDIC caret during transfer to the Host.  The problem is that the EBCDIC
caret is not the same hex value as an EBCDIC not symbol.  Thus the compile
fails.

This is not only a problem between PC and Host but since CL is partially
interpreted using the ^ || >| <| symbols can cause execution failures if
your CL code runs on an AS/400 with a different primary language.

Besides *NOT, *CAT, *BCAT, and *TCAT are FAR more obvious in intent and self
documenting.

There is more to this problem regarding the fact that the caret is not a not
symbol, it just happens to occupy the same keyboard location, so different
keyboard mappings will cause different effects.  However, I've made my point
-- don't use the variant characters!

Regards,
Simon Coulter.

--------------------------------------------------------------------
   FlyByNight Software         AS/400 Technical Specialists
   http://www.flybynight.com.au/

   Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
   Fax:   +61 3 9419 0175   mailto: shc@flybynight.com.au   \ /
                                                             X
                 ASCII Ribbon campaign against HTML E-Mail  / \
--------------------------------------------------------------------



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.