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
------------------------------
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
