Search found 7 matches

by eric@negsys
Fri Oct 13, 2023 3:43 pm
Forum: HTTPAPI
Topic: return code -1
Replies: 12
Views: 93247

Re: return code -1

I’m sorry but our client refuses to give permission for an external connection. We will never know where the problem comes from, perhaps related to a PTF not installed...
To get around the problem, we asked them to fill out a table directly on the AS400, and then we do our processing.

The subject ...
by eric@negsys
Wed Sep 27, 2023 1:51 pm
Forum: HTTPAPI
Topic: return code -1
Replies: 12
Views: 93247

Re: return code -1

Thanks for your quick answer and your help.

I need to ask my client for permission because you will log into his system. If he agrees, I will send you a library with the files and the programs.

Very important :
I will give you the same program as we run on our system and we never had the problem ...
by eric@negsys
Tue Sep 26, 2023 1:33 pm
Forum: HTTPAPI
Topic: return code -1
Replies: 12
Views: 93247

Re: return code -1

We have no joblog and nothing special in the log session as you can see below.
Please how can I have a joblog with a lot of detail ?

3500 - CALL PGM(IM3STKG0) /* La commande CALL contient des
paramètres */
Ouverture du membre IFDSGP00 changée en SEQONLY(*NO).
Ouverture du membre IFESGP00 ...
by eric@negsys
Mon Sep 18, 2023 4:35 am
Forum: HTTPAPI
Topic: return code -1
Replies: 12
Views: 93247

Re: return code -1

Hello,
Please, can you help me where I can find the message ? There is nothing in QSYSOPR.

One important detail, sometimes the program runs successfully.
by eric@negsys
Fri Sep 15, 2023 1:46 pm
Forum: HTTPAPI
Topic: return code -1
Replies: 12
Views: 93247

Re: return code -1

@Klement, where do you find the value 1G? I can't find it using Ctrl+F
At the end of the log I see

get_chunk_size(): entered
2006

chunk size = 8198
get_chunk_size returned 8198
calling comm_blockread
,"ATV4":"","ATV5":"","FUDS":"COSSES PLATES FEMELLES ROUGE Ø6.3MM - 10 PIECES"},{"CONO":"100 ...
by eric@negsys
Fri Sep 15, 2023 1:33 pm
Forum: HTTPAPI
Topic: return code -1
Replies: 12
Views: 93247

Re: return code -1

Thanks for the answers. I’ll analyze your answers and do some research
For jonboy49, the files are compressed in zip file
by eric@negsys
Thu Sep 14, 2023 9:52 am
Forum: HTTPAPI
Topic: return code -1
Replies: 12
Views: 93247

return code -1

Hi everybody,

My job is not to develop but I have to maintain a program that does not work.
Don't be too hard on me because my technical level is far from that of an expert ;) . I explain my problem.

Purpose of the program: connection to a remote server to retrieve stock data.
Note that the two ...