I'll qualify, x'ac' is an extended ascii for logical not
http://www.ascii-code.com/


In any case, I expect circumflex (x'5e')  to translate into logical not or 
circumflex, not to the meaningless comma (x'6b'), which is unfortunately what I 
get.  It seems that there are at least two flavors of the conversion while 
ftping.  One translates logical not correctly to either circumflex or to 
logical not (which I can deal with easily).  The other flavor of ftp 
conversion, prefers to translate it to comma.

According to
http://publib.boulder.ibm.com/infocenter/pcomhelp/v5r9/index.jsp?topic=/com.ibm.pcomm.doc/reference/html/hcp_reference27.htm


In IBM-1047
x'b0' is logical not, x'5f' is circumflex, and x'6b' is comma
in IBM-037
x'b0' is circumflex, x'5f' is logical not, and x'6b' is comma

 
Ze'ev Atlas



________________________________
 From: zatlas1 <[email protected]>
To: [email protected] 
Sent: Saturday, December 8, 2012 10:29 PM
Subject: Re: How to load logical load x'ac'
 
X'ac' is a valid code   za

Connected by DROID on Verizon Wireless

-----Original message-----
From: "Shmuel Metz (Seymour J.)" <[email protected]>
To: [email protected]
Sent: Sun, Dec 9, 2012 02:09:48 GMT+00:00
Subject: Re: How to load logical load x'ac'

In <[email protected]>, on
12/07/2012
   at 07:37 AM, "Ze'ev Atlas" <[email protected]> said:

>I edit my sourcecode base in ASCII (where it comes from) and I
>replace the circumflex (^) that C loves with logical not (x'AC' in
>ASCII)

There is no ¬ in ASCII and 'AC'X is not a valid ASCII code point.

>How could I convince all flavors of EBCDIC and EBCDIC upload to
>recognize logical not correctly?

Whoever is doing the uploading must be code-page aware. If you're
uploading your source code to z/OS Unix files then you can use chtag
to tag them with the proper character code set. Of course, tagging
won't help if you're doing something that doesn't honor the tags.

-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     Atid/2        <http://patriot.net/~shmuel>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to