For Programmers: Free Programming Magazines  


Home > Archive > Cobol > July 2007 > Re: Regular Expressions and Standard COBOL (was Re: Use of Classconditions in COBOL)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Regular Expressions and Standard COBOL (was Re: Use of Classconditions in COBOL)
William M. Klein

2007-07-05, 6:55 pm

Traditionally (as I recall) there were issues with the caret vs "not sign" for
IBM mainframe shops (that used PL/I - and did some workstation development). I
don't recall all the details, but do recall SOME cases where these two were used
to equate with each other.

At
http://www.redbooks.ibm.com/redbooks/GG244473.html

there is a section with the following information:

"Characters entered at a non-3270 workstation are normally translated
by the 3270 emulation program into the CECP used by the MVS system.
Any differences between the CECP and Code Page 01047 (the code page
used by OpenEdition MVS; see 6.1, "EBCDIC Character Encoding" on page
39) need to be allowed for. In our case the CECP used was
U.S./Canada Country Extended Code Page 00037. There are four
characters with different representations. They are:
· Left square bracket ( [)
· Right square bracket (])
· Circumflex (caret) (^)
· Not symbol (Ø )"

I don't know if this is "useful" or not

--
Bill Klein
wmklein <at> ix.netcom.com
"Frank Swarbrick" <Frank.Swarbrick@efirstbank.com> wrote in message
news:468CE1EF.6F0F.0085.0@efirstbank.com...
> Just an interesting web page I found when looking to see whether or not
> EBCDIC does indeed not have a caret character.
>
> http://www.everything2.com/index.pl?node=!%3D
>
> Interestingly, I did an experiment where I used FTP to transfer an ASCII
> file containing a caret to our mainframe. It ended up translating the caret
> to hex B0. When I viewed the uploaded file from my TN3270 session it just
> showed as '?', which is what shows for all 'non-display' characters. I
> don't know if the '?' is put there by the mainframe program I was working
> with or by my TN3270 client. I think the former.
>
> I have a photocopy of a "yellow card" (though I think the one I copied was
> green!) and it indeed does not show B0 as meaning caret, or anything else
> for that matter.
>
> Also interestingly is this page:
> http://publib.boulder.ibm.com/infoc...sp?topic=/com.i
> bm.entcobol4.doc/rlebccs.htm.
> It shows "the collating sequence for single-byte EBCDIC code page 1140",
> which shows B0 as, indeed, being a caret.
>
> I'd never heard of code page 1140, but apparently it is code page 037 + the
> Euro symbol:
>
> 037 (IBM EBCDIC US-Canada)
> 1047 (IBM EBCDIC Latin 1/Open System)
> 1140 (IBM EBCDIC US-Canada (037 + Euro symbol); IBM EBCDIC (US-Canada-Euro)
> )
>
> Yet another interesting page:
> http://en.wikipedia.org/wiki/EBCDIC_8859
>
> Hmm, here it shows code page 037 having the caret as B0:
> http://en.wikipedia.org/wiki/EBCDIC_037.
>
> Code pages are fun! (Not.)
>
> Frank
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com