Hi,
I would like curl write output to mvs dataset.
Following writes to dataset USERID.QAPI but changes recordlength to 80 when dataset exists or creates with lrecl 80 if dataset did not exist before :
curl -m 15 -v -k --trace qapi.trace -o “//‘USERID.QAPI’” --url “${url}” -K-
Following writes to qapi.txt with newline after pos 181 as it should be:
curl -m 15 -v -k --trace qapi.trace -o qapi.txt --url “${url}” -K-
Is there a qay to have curl use the lrecl from existing dataset or define lrecl in the command?
Thx,
Frans