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

RE: HTTPAPI and V7r2



Hi Scott,

That was very strange: the date of the STMF in which the program writes in were actually updated but the STMF was empty.
I just recompiled the program and it worked !
Unfortunately I have no more clue (except the program was in V5R4)
We have others programs using httpapi and it was the only one with this issue
(We had also an issue with the DCM: DEFAULT.KBD and DEFAULT.RDB (in /QIBM/UserData/ICSS/Cert/Server) had no *PUBLIC rights,but the program worked again before I grant the rights)

Thomas
-----Message d'origine-----
De : ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] De la part de Scott Klement
Envoyé : lundi 12 octobre 2015 06:02
À : HTTPAPI and FTPAPI Projects
Objet : Re: HTTPAPI and V7r2

Thomas,

Can you tell me more about this problem and why recompiling would make a difference?

This may be important for me to know, in case this happens to someone else.  With the 1000 or more shops running HTTPAPI, you are the only one 
who has had a problem like this so far...    I do know of some things in 
HTTPAPI where a recompile/bind might make a difference when updating HTTPAPI -- but, not when updating the operating system.

I, myself, went through an upgrade from V7R1 to V7R2, and none of my HTTPAPI-related programs failed or needed to be recompiled.  It must be something you're doing differently?

-SK

On 10/7/2015 3:04 AM, HIRSCH Thomas wrote:
> As I said just recompiling the program solved the issue
>
> -----Message d'origine-----
> De : ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] De la part de Udesen, 
> Peder Envoyé : mercredi 7 octobre 2015 09:10 À : HTTPAPI and FTPAPI 
> Projects Objet : SV: HTTPAPI and V7r2
>
> Chris Edmondson probably gives you the answer.
> If the user profile used for communication didn't have a Home directory specified in V7R1 but it was changed to a default during the upgrade to V7R2 then you have problems when the path to the IFS is specified only as 'tmp/result'. It should be '/tmp/result' instead.
>
> So the statement should look like this:
>
> rc = http_url_get('https://' + %Trim(NOMSVR) + '?' +
>                           http_url_encoder_getstr(enc)
>                         : '/tmp/result');
>
> Kind regards
> Peder Udesen
>
> -----Oprindelig meddelelse-----
> Fra: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] På vegne af HIRSCH 
> Thomas
> Sendt: 7. oktober 2015 08:32
> Til: HTTPAPI and FTPAPI Projects
> Emne: RE: HTTPAPI and V7r2
>
> The program was compiled in V5R4 and was working fine in V7R1 until we 
> change the machine (in V7R2) HTTPAPI is quite old (1.21) and was just 
> saved/restored  from the old machine
>
> -----Message d'origine-----
> De : ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] De la part de Mike 
> Krebs Envoyé : mardi 6 octobre 2015 18:22 À : HTTPAPI and FTPAPI 
> Projects Objet : RE: HTTPAPI and V7r2
>
> Interesting. Any idea if the concatenation worked correctly? Or was it the HTTP part that was not working? Roughly how old was the original working program?
>
> Did you reinstall HTTPAPI on v7r2? Different version?
>
> Any other programs that you had a similar problem with?
>
> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of HIRSCH 
> Thomas
> Sent: Tuesday, October 6, 2015 7:03 AM
> To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
> Subject: HTTPAPI and V7r2
>
> Dear all,
>
> We have just upgraded our iSeries from V7R1M0 to V7R2M0 and we noticed that the following instruction :
>
> rc = http_url_get('https://' + %Trim(NOMSVR) + '?' +
>                           http_url_encoder_getstr(enc)
>                         : 'tmp/result');
>
> Did not work properly.
> Although the request was still working fine, the STMF /tmp/result was 
> empty
>
> The solution was just to re-compile the program (the previous version 
> was V7R1)
>
> Best regards
> Thomas
>

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------