[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ftpapi] Fw: HTTPAPI and COBOL



According to Scott's web site YAJL is compiled for 6.1 (http://scottklement.com/yajl/)

As to using it from COBOL.  Yes you can do it but it is much harder than from RPG because all of the interfaces rely on prototypes - and those don't exist in COBOL. The result is that it is much harder to build the parameter lists.

That said I'll be more than happy to try and help you resolve any issues pif you want to give it a go.



On Sep 20, 2019, at 3:47 AM, Roberto Bizzozero <roberto.bizzozero@xxxxxxxxx> wrote:

Hello,
since COBOL is an ILE language you should be able to use a SRVPGM written in RPG, but I'm not a COBOL expert.
For YAJL, from the download page:

Package Download File Size Format Platform
YAJL for IBM i YAJL.zip 1.9 MB Zipped Source/SAVF IBM i v6r1+

You can use it in 7.1, you have to install the version without he DATA-INTO support, read the instructions in README.txt .

Bye,
Roberto.


Il 17/09/2019 09:00, she lumbera ha scritto:
Hi,

I'm a newbie in using HTTPAPI. Is it possible to call this using Cobol instead of RPG?  Is it not more difficult to call it in Cobol?Also, our client response is in JSON format. I saw in one of the documents that YAJL requires ibmi 7.2  or higher. Ours is only 7.1. Can you recommend other tool/s similar to YAJL that I can use using Cobol?
Thank you in advance.



--
Firma digitale <logo.gif>
 
Roberto Bizzozero -  roberto.bizzozero@xxxxxxxxx
     

Blusys srl
viale
Achille Papa 30, 20149 Milano (MI)  
Tel: +39 02 39260099 Fax: +39 02 33004649 Web: www.blusys.it

La presente e-mail e gli allegati alla stessa sono da considerarsi confidenziali, protetti dal segreto professionale e riservati ad uso esclusivo del destinatario. La diffusione, distribuzione e/o copiatura di questa e-mail e dei suoi allegati, nonché la divulgazione dei rispettivi contenuti, da parte di qualsiasi soggetto diverso dal destinatario, è proibita. Qualora abbiate ricevuto questa e-mail per errore, Vi preghiamo di cancellarla, unitamente ai suoi allegati.

Il trattamento dei dati avviene in piena conformità di quanto previsto dal D.Lgs 196/03.


<logo1.png>

“Rispettiamo il mondo in cui viviamo. Stampa

questa mail solo se strettamente necessario”


--
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi

-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi