Ref: Your note of Thu, 19 Oct 2017 12:27:53 -0600 Paul Gilmartin writes: > On 2017-10-19, at 11:27:35, Jonathan Scott wrote: > > > >> I think it would be best for HLASM to operate with a consistent internal > >> CP regardless of the input CP(s). "DC C'['" should generate the same > >> binary object regardless whether the input CP is 819, 1047, 500, or 037. > > > > That seems a bit backwards. HLASM reads files containing EBCDIC > > codes which it normally regurgitates faithfully, unchanged, in > > character constants, without any idea what symbols they > > represent. > > > Even for CP819? So " DC C'['" generates X'5B'? > > -- gil
I'm not sure what you're trying to say here. CP819 is ASCII, which HLASM only reads on Linux, by translating it to CP37. If you code a left square bracket in CP819 on Linux and don't use TRANSLATE, it ends up as x'BA'. If you use TRANSLATE(AS), it goes back to X'5B'. Jonathan Scott HLASM team, IBM Hursley, UK
