On 2014-01-12, at 16:07, Gainsford, Allen wrote:

>> I get:
>>
>> //SYSIN     DD  PATHOPTS=ORDONLY,FILEDATA=TEXT,RECFM=FB,LRECL=80,
>> //  BLKSIZE=8000,PATH='/tmp/user/Polyglot.s'
>>
>> 1       High Level Assembler Option Summary     (PTF UK97444)   Page    1
>>       ...
>> 000000 ADBD                           2          DC    C'[]'  037: BA BB  
>> 1047: AD BD  1148: 4A 5A
>> 000002 ADBD                           3          DC    CA'[]'  5B 5D
>>
>> OK.  I mostly understand the first line.  Those are brackets in IBM-1047 
>> (but I thought the default was 037).
>>
>> But isn't DC CA'[]' supposed to translate to ASCII, which would be 5B5D?
>>
>> -- gil
>
> Brackets in codepage 037 are BA and BB.  I get:
>
> 000000 ADBD                        3024          DC    C'[]'
> 000002 ADBD                        3025          DC    CA'[]'
> 000004 5B5D                        3026          DC    CA'..'
>
> (where the ".." in the third line is the hex characters BABB).  This gives 
> you your 5B5D.
>
???
What's the difference between C'...' and CA'...'?  I thought
the "CA" meant generate text in ASCII.

-- gil

Reply via email to