Its local, you can have as many occurences as you like and have different codepages. To my understanding it can be nested, so you can set it on the first line of code and without using convert(pop) add another convert(codepage) which is then local until convert(pop) returns to the previous codepage being set. I don't know if theres a limitation on the number of different codepages per compile, the convert stack or dependencies on Unicode system services definitions. For your second question, yes you can have different codepage literals in the same source member. Denis. -----Original Message----- From: Shmuel Metz (Seymour J.) <[email protected]> To: IBM-MAIN <[email protected]> Sent: Tue, Nov 4, 2014 1:22 am Subject: Re: C Language: non-EBCDIC characters in literal strings.
In <[email protected]>, on 11/03/2014 at 12:16 PM, Denis Gäbler <[email protected]> said: >you can do that very easily, with pragma convert in z/OS and z/VM: Is that local or global? That is, can you have different strings subject to different conversions in the same source member? -- Shmuel (Seymour J.) Metz, SysProg and JOAT ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 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
