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.) <shmuel+ibm-m...@patriot.net>
To: IBM-MAIN <IBM-MAIN@LISTSERV.UA.EDU>
Sent: Tue, Nov 4, 2014 1:22 am
Subject: Re: C Language: non-EBCDIC characters in literal strings.


In <8d1c5a116b049ff-1c5c-32...@webmail-vm009.sysops.aol.com>, on
11/03/2014
   at 12:16 PM, Denis Gäbler <denisgaeb...@netscape.net> 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN

 


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to