I'm in a deep deep problem right now. As usual, I've tried to solve myself for 14 hours first, before asking.
Context:
Trying to run cURL n times. Running cURL alone in QSHELL environment runs it at 0.3 seconds. But when running from an RPGLE program via QCMDEXC -> STRQSH -> QSH cURL, I get 10 seconds. And since I'm trying to run this 100k+ times, it becomes impossible to complete in a day.
I'm looking into the following:
1. QzshSystem to hopefully speed up the cURL call
2. Generate QSH script via ECHO ECHO ECHO, then run that script containing a batch cURL commands. Then run that shell script from the RPGLE, then process the output via loop of DATA-INTO.
3. Eat broken glass and try to make AxisC work again, which never have worked for me before. And pray to the heavens that it's somehow faster.
4. HTTPAPI, but I have to check each and every program that used the old version of HTTPAPI and update it.
Context:
Trying to run cURL n times. Running cURL alone in QSHELL environment runs it at 0.3 seconds. But when running from an RPGLE program via QCMDEXC -> STRQSH -> QSH cURL, I get 10 seconds. And since I'm trying to run this 100k+ times, it becomes impossible to complete in a day.
I'm looking into the following:
1. QzshSystem to hopefully speed up the cURL call
2. Generate QSH script via ECHO ECHO ECHO, then run that script containing a batch cURL commands. Then run that shell script from the RPGLE, then process the output via loop of DATA-INTO.
3. Eat broken glass and try to make AxisC work again, which never have worked for me before. And pray to the heavens that it's somehow faster.
4. HTTPAPI, but I have to check each and every program that used the old version of HTTPAPI and update it.
Comment