Well, the obvious answer, chcp isn't allowed under he TSO/E OMVS command. What 
about changing the locale?


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Colin Paice [colinpai...@gmail.com]
Sent: Friday, August 19, 2022 3:46 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: OMVS/ASCII funny

Thanks to those that offered help (some were offline).
When I set the code page of the OMVS terminal, it works
   f.cvtcmd = SETAUTOCVTON ;
   f.fccsid = 0x0417  ;  // set this
   f.pccsid = 0x0000  ; // ignore this
*  rc =fcntl( STDOUT_FILENO,action, &f ); *
it works.
Before Python the filetag(fccsid) for STDOUT is 0, afterwards it is 0x0417
( = 1047)

I can't find a command to set the code page of my omvs session.  *TSO OMVS
CONV((BPXFX111)) *makes no difference.
I'll raise this on the IBM Community, as it feels like a defect to me ( or
at least a documentation update)

----------------------------------------------------------------------
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