On Wed, 13 Jan 2016 08:51:47 -0500, David S. wrote: >... >If the data is *all* in character format, then conversion from ASCII to >EBCDIC is easy using OPTCD=Q on the DCB. > Does OPTCD=Q work on all device types? I had got the impression it applied only to tapes.
There's also lately a CCSID option on both the EXEC statement and the DD statement which seems to be intended to convert between any CCSID used by the program and another CCSID appearing in a file. IIRC, I tried it and didn't get expected results. Perhaps I overreached with something such as: //SETP EXEC PGM=IEBGENER,CCSID=1047 //SYSUT2 DD CCSID=1209,PATH='...',.. (UTF-8) -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
