|
* Prototypes.
dcl-pr Qcmd extpgm('QCMDEXC');
*n varchar(1024) const;
*n packed(15: 5) const;
end-pr;
dcl-s wCmd varchar(1024);
...
/free
wCmd = 'STRPCCMD PCCMD(start ' + URL + ') PAUSE(*NO)';
Qcmd(wCmd: %len(wCmd));
URL is
....5...10...15...20...25...30...35...40...45...50...55...60
'https://samples.openweathermap.org/data/2.5/group?id=524901,'
'703448,2643743&units=metric&appid=b6907d289e10d714a6e88b3076'
'1fae22 '
error is:
String ' ¤STRPCCMD' contains a character that is not valid.
Characters in qualifier beginning 'GROUP?ID=5' not valid.
A matching parenthesis not found.
On 11/22/2019 5:48 AM, Bruce Vining wrote:
Interesting. Any chance you could post your CL/RPG/whatever program
calling QCMDEXC?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.