On Wed, 13 Jan 2016 22:30:19 -0500, David S. wrote:

>Paul Gilmartin wrote:
>
>> Does OPTCD=Q work on all device types?
>> I had got the impression it applied only to tapes.
>
>Yes, tape is implicit. OPTCD=Q only works with tape.
>ASCII conversion topic in "z/OS DFSMS: Using Magnetic Tapes":
>http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dgt2m320/3.7.1
>
But does mere mention of OPTCD=Q mean its use is restricted to tapes?
Might not it apply to other device types?  (It's hard to prove a negative)
But if it's so restricted it's another instance of IBM's implementing a
useful facility at the wrong layer.  ASCII<->EBCDIC conversion is surely
useful on other device types.

Is this software in the OS or microcode in the control unit?

And what about CCSID.  According to the documentation, this:

    //STEP3  EXEC  PGM=IEBGENER,CCSID=1047
    //SYSPRINT  DD  SYSOUT=*
    //SYSIN     DD  DUMMY
    //SYSUT2    DD  PATHMODE=(SIRUSR,SIWUSR),
    //  PATHOPTS=(OCREAT,OTRUNC,OWRONLY),
    //  CCSID=1209,
    //  PATH='&OBFUSC/work/tmp/UTF-8'
    //SYSUT1    DD  *
        This is a UNIX UTF-8 test.  cent: "ยข"
    //*
... should write SYSUT2 in UTF-8, yet it seems to write EBCDIC.  Or am I
overlooking yet another restriction?  But at the very least, if it's supposed
to not work it should fail with an error message.

-- gil

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

Reply via email to