curl payload conversion
I am able to call a REST service with an MVS data set using the standard z/OS "//" style, as follows:
curl -H "Content-Type: application/xml" -X PUT -d @"//'DVFJS.TC.TXT'" https://{hostname}/communication/rest/templateCommunication/{resourceID}
However the MVS data set has to already be in the appropriate codepage (ASCII or whatever). Is there anything I can do at the curl level to indicate that the source file is in EBCDIC and should first be converted to another codepage?
------------------------------
Frank Swarbrick
FirstBank
------------------------------
curl -H "Content-Type: application/xml" -X PUT -d @"//'DVFJS.TC.TXT'" https://{hostname}/communication/rest/templateCommunication/{resourceID}
However the MVS data set has to already be in the appropriate codepage (ASCII or whatever). Is there anything I can do at the curl level to indicate that the source file is in EBCDIC and should first be converted to another codepage?
------------------------------
Frank Swarbrick
FirstBank
------------------------------