On Wed, Nov 25, 2020 at 05:48:42PM +0000, Seymour J Metz wrote:
> The macro can test whether it's running in foreground or background.
>
So, then, do you envision querying the terminal CCSID and CALLing an
alternate version in case of mismatch?
Or embedding several versions of the payload and SELECTing the one
that conforms to the active terminal
Seriously!? Consider the maintenance burden and error exposure?
Perhaps PARSE SOURCE or SOURCELINE() to pipe itself through iconv(1),
read with ADDRESS popen; and INTERPRET. Need to replace NL with ";"
because INTERPRET doesn't recognize NL as a statement separator,
remembering to simply concatenate at unquoted "," ...
Seriously!?
I hate EBCDIC!
> ________________________________________
> From: Paul Gilmartin
> Sent: Wednesday, November 25, 2020 11:26 AM
>
> ISPF Edit and Edit Macros SC19-3621-40
> Regular expressions (string, string1)
> ...
> ISPF queries the host code page defined for your TN3270 session. If the code page is one of the following:
> ... [ 56 codee pages listed ] ...