On Sep 7, 2018, at 2:10 PM, Paul Gilmartin 
<[email protected]> wrote:
> 
> ...  OK.  It says you're not supposed to use it from a 3270 session.  It 
> doesn't
> say what happens if you try.  And the OP has already said he's uncomfortable
> with the restriction.

I tried from 3270:

FOMC2823 This terminal does not support the chcp command.

as opposed to, from ssh:

 ASCII code page : ISO8859-1
EBCDIC code page : IBM-1047

> 
> Does it cause automatic tagging of files created with a code page in effect?

Apparently, at least in some cases:

-bash-4.3# echo "My dog has fleas." > test.txt
-bash-4.3# ls -T test.txt 
t ISO8859-1   T=on  test.txt

I do have all the environment variables set as Rocket recommends for their bash 
port, so that may make a difference.

> 
> Does it affect behavior of classic data sets?  E.g.:
>    cp "//'my.data.set(member)'" /dev/fd/1

I get the same result from this command (substituting one of my actual classic 
datasets) in 3270 and ssh.


> 
> There's an ISPF command that tells the CCSID in use by a TSO/ISPF session.
> That's set by the LOGON handshaking protocol.
> 

Just out of curiosity, do you remember what that command is?


-- 
Pew, Curtis G
[email protected]
ITS Systems/Core/Administrative Services

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to