|
Bonjour Dave, ( based on ccsid 297 )
You're correct - guess option 22 showed up on v7r3.
Have a look at your Apache configuration,
I have CGIConvMode %%EBCDIC/MIXED%%
I've heard that CGIConvMode %%MIXED/MIXED%% is the preferred one, but we
have issues with that one as our ssl certificates includes nonascii
characters.
As soon as we get rid of those we will change to CGIConvMode
%%MIXED/MIXED%%.
Best regards
Stefan
--
No trees were killed in the sending of this message, but a large number of
electrons were terribly upset.
Stefan Tageson
+46 732 369934
stefan@xxxxxxxxxx
-----Original Message-----
From: WEB400 <web400-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Dave
Sent: Friday, December 2, 2022 6:20 PM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxxxxxxxx
Subject: Re: [WEB400] Problems reading from Stdin
Thanks Stefan,
I don't have the option 22, guessing it's because we are only on V7R1
I used qtmhgetenv and got these values :
GATEWAY_INTERFACE 'CGI/1.1'
SERVER_PROTOCOL 'HTTP/1.1'
REQUEST_METHOD 'POST'
CGI_MODE 'EBCDIC'
CGI_OUTPUT_MODE ' EBCDIC’
IBM_CCSID_VALUE '297'
CGI_EBCDIC_CCSID '297'
CGI_ASCII_CCSID '819'
FSCP '297'
NETCP '819'
Hi Dave,programme.
I'm posting xml data copied and pasted into POSTMAN to my CGI
Using QtmhRdStin to read the data but it shows up completely unreadable.PGM-QZSRCGI'.
If you run a Postman request that works towards your IBM i and the
look at one of the Apache-jobs ( WRKACTJOB ) that have a Function of '
Use option 5 (WRKJOB) and then option 22 to look at the environment--
variables for that job.
What do you have for the following environment variables:
GATEWAY_INTERFACE 'CGI/1.1'
SERVER_PROTOCOL 'HTTP/1.1'
REQUEST_METHOD 'POST'
CGI_MODE '%%EBCDIC%%'
CGI_OUTPUT_MODE '%%MIXED%%'
IBM_CCSID_VALUE '278'
CGI_EBCDIC_CCSID '278'
CGI_ASCII_CCSID '819'
FSCP '278'
NETCP '819'
Best regards
Stefan
--
No trees were killed in the sending of this message, but a large
number of electrons were terribly upset.
Stefan Tageson
+46 732 369934
stefan@xxxxxxxxxx
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailing list To post a message email: WEB400@xxxxxxxxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx Before posting, please
take a moment to review the archives at
https://archive.midrange.com/web400.
------------------------------
*Expéditeur externe à l'organisation*
Cet e-mail provient d'une personne externe à votre organisation. Si
vous ne connaissez pas l'expéditeur et que vous n'êtes pas sûr que le
contenu est fiable, veillez à toujours examiner l’expéditeur, le
sujet, le texte et *en cas de doute, ne pas cliquer sur les liens ou
les pièces jointes. *
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list To post a message email: WEB400@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx Before posting, please take a
moment to review the archives at https://archive.midrange.com/web400.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.
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.