Loading ...
Sorry, an error occurred while loading the content.
 

R: [Easy400Group] how retrieve the data send to ZHBGETINPU

Expand Messages
  • Giovanni B. Perotti
    See Message # 9236 in the Easy400Group. Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per conto di Gilles Gilles Inviato: giovedì 18
    Message 1 of 23 , Apr 18, 2013

      See Message # 9236 in the Easy400Group.

       

       

      Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per conto di Gilles Gilles
      Inviato: giovedì 18 aprile 2013 14:02
      A: Easy400Group@yahoogroups.com
      Oggetto: [Easy400Group] how retrieve the data send to ZHBGETINPU

       

       

       

      hi

      i would like retrieve data send to an ifs file

      is it possible ?

      zhbgetinput(savedquerystring:qusec)
      if i write savedquerystring into a file it is blanc
      which variable i have to retrieve ?

      regards

      Gilles

    • Gilles Gilles
      hi i have download your pack now it is ok but when i execute the install command i have an error on module SETCGILIB2 because it can not find source member REC
      Message 2 of 23 , Apr 22, 2013
        hi

        i have download your pack now
        it is ok
        but when i execute the install command i have an error on module SETCGILIB2 because it can not find source member REC from qrpglesrc
        can you help me ?

        Regards

        Gilles




        From: Giovanni B. Perotti <gb_perotti@...>
        To: Easy400Group@yahoogroups.com
        Sent: Thursday, April 18, 2013 4:34 PM
        Subject: R: R: R: R: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51

         
        At this time we are 100% sure that your CGIDEV2 did not come from me. It may be a version from IBM. As far as I know, IBM stopped maintaining it in year 2006 and you can no longer retrieve support from them.
         
        Just throw your CGIDEV2 into the garbage can, and get a fresh full supported version from my site www.easy400.net .
         
        Giovanni
         
         
         
        Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per conto di Gilles Gilles
        Inviato: giovedì 18 aprile 2013 16:19
        A: Easy400Group@yahoogroups.com
        Oggetto: Re: R: R: R: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51 [1 Attachment]
         
         
        [Attachment(s) from Gilles Gilles included below]
        hi

        no these command do not work

        i receive a mail when i ask to register (see the attach file)

        so how can i get the good file now ?

        regards

        gilles
         
         

        From: Giovanni B. Perotti <gb_perotti@...>
        To: Easy400Group@yahoogroups.com
        Sent: Thursday, April 18, 2013 4:04 PM
        Subject: R: R: R: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51
         
         
        You did not answer my questions.
         
        Could you run the following commands?
         
        -          STRREXPRC SRCMBR(INSTALL) SRCFILE(CGIDEV2/QREXSRC)
        -          CGIDEV2/COMPILE
        -          CGIDEV2/RELEASED
        ??????????????????????????????????????????????ANSWER THE ABOVE QUESTIONS!!!!!!!!!!!!
         
        IF NOT, that CGIDEV2 is not from me.
         
        As a matter of fact you never downloaded CGIDEV2 from my site (I have no records from your name, except DB2XTOOLS).
        Who did it for you? Ask him. Make him responsible for your troubles.
         
        Giovanni
         
        Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per conto di Gilles Gilles
        Inviato: giovedì 18 aprile 2013 15:38
        A: Easy400Group@yahoogroups.com
        Oggetto: Re: R: R: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51
         
         
        hi
        i download it from this http://www.easy400.net/easy400p/main.html
        i received a mail from u
        where have i had to go to download the file ?

        regards

        Gilles
         
         

        From: Giovanni B. Perotti <gb_perotti@...>
        To: Easy400Group@yahoogroups.com
        Sent: Thursday, April 18, 2013 3:21 PM
        Subject: R: R: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51
         
         
        Gilles,
         
        if in library CGIDEV2 you cannot find command CGIDEV2/COMPILE, that simply means that you did not download CGIDEV2 from site Easy400.net .
        To double check, you may also want to run the following command:
                      STRREXPRC SRCMBR(INSTALL) SRCFILE(CGIDEV2/QREXSRC)
        If also that fails, then definitively your CGIDEV2 library does not come from Easy400.net .
        In such a case, you are kindly requested to contact your CGIDEV2 provider.
         
        Giovanni B. Perotti
         
        Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per conto di Gilles Gilles
        Inviato: giovedì 18 aprile 2013 13:59
        A: Easy400Group@yahoogroups.com
        Oggetto: Re: R: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51
         
         
        hi


        i can't find CGIDEV2/COMPILE  in CGIDEV2 library
        and in fact i have debug PAYCGIDEV2 program and it dump at the beginning of the program
        here
        0035.00  ********* Main process begins here                                    
        0036.00                                                                        
        0037.00  * Determine if a key was supplied and if so position to the appropriat
        0038.00  *   record.  If no key supplied then position to beginning of file    
        0039.00                                                                        
        0040.00  * Get input  - ZhbGetInput will return number of variables found. We m
        0041.00  *              always call it to prime the buffers for ZhbGetVar      
        0042.00                                                                        
        0043.00 C                   Eval      NbrVars = ZhbGetInput(SavedQryStr:APIErro

        but now i have install CGIdev2 server ans by copying the definition to my server it is working
        thanks

        regards
         
        Gilles
         
         

        From: Giovanni B. Perotti <gb_perotti@...>
        To: Easy400Group@yahoogroups.com
        Sent: Thursday, April 18, 2013 9:08 AM
        Subject: R: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51
         
         
        Are you sure that you ran command CGIDEV2/COMPILE when you installed CGIDEV2?
         
        Are you sure that your program chain does not run ZHBGETINPUT more than once?
        ZHBGETINPUT can be invoked only once per transaction.
         
        Please check the demo programs  ( http://cgidev2.easy400.net/cgidev2o/demos.htm  )  on your CGIDEV2APA HTTP instance.
        If they work, then ZHBGETINPUT is OK and there is something wrong in your program.
         
        Giovanni B. Perotti
        www.easy400.net - Free WEB utilities for IBM System i 
         
         
         
        Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per conto di Gilles Gilles
        Inviato: giovedì 18 aprile 2013 08:44
        A: Easy400Group@yahoogroups.com
        Oggetto: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51 [1 Attachment]
         
         
        [Attachment(s) from Gilles Gilles included below]
         
        Hi
         
        When i execute program PAYCGIDEV2 i get an internal server error if i try to call it from the url like that
         
        then i try to execute the program directly in iseries
        but i get an error in ZHBGETINPUT program
         
        see the log
         
                                                    
        Pointer not set for location referenced.                                 
        Suspected program QZHBCGI not found.                                     
        Pointer not set for location referenced.                                 
        Exception recursion detected.                                            
        Application error.  *N unmonitored by *N at statement *N, instruction    
          X'4000'.                                                               
        RPG status 00202 caused procedure ZHBGETINPU in program CGIDEV2/CGISRVPGM2
          to stop.                                                               
        Function check. RNX9001 unmonitored by PAYCGIDEV2 at statement 0000004300,
          instruction X'0000'.                                                   
        The call to ZHBGETINPU ended in error (C G D F).                         
        The call to ZHBGETINPU ended in error (C G D F).                         
         
        it says that QZHBCGI is not found 
        but if i do a wrkobj *all/QZHBCGI i found it in
        QZHBCGI     *SRVPGM   QHTTPSVR    CPPLE 
         
        and a WRKSRVPGM CGIDEV2/CGISRVPGM2
        show
         
         Service program  . . . . . . . . . . . . :   CGISRVPGM2                       
           Library  . . . . . . . . . . . . . . . :     CGIDEV2                        
         Owner  . . . . . . . . . . . . . . . . . :   QPGMR                            
         Service program attribute  . . . . . . . :   RPGLE                            
         Detail . . . . . . . . . . . . . . . . . :   *SRVPGM                          
                                                                                       
         Type options, press Enter.                                                    
           5=Display                                                                   
                                                                                       
              Service                                                                  
         Opt  Program     Library     Activation  Signature                            
              QZHBCGI     QHTTPSVR    *IMMED      D8E3D4C8C3C7C96DF0F0F24040404040     
              QC2UTIL1    QSYS        *IMMED          CB1F803582C31AC25B4DCBDD1B6D0948     
              QC2UTIL2    QSYS        *IMMED          A11653CED63C16950B06C44C1F6E95C2     
         
        Do you have an idea ?
         
        with program PAYCGI4 there is no problem but it do not use ZHBGETINP.
         
        i attach the dump file
         
        Regards
         
        Gilles
         
         
         


      • Giovanni B. Perotti
        Gilles, I will do within the next hour. Giovanni Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per conto di Gilles Gilles Inviato:
        Message 3 of 23 , Apr 22, 2013

          Gilles,

           

          I will do within the next hour.

           

          Giovanni

           

          Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per conto di Gilles Gilles
          Inviato: lunedì 22 aprile 2013 10:07
          A: Easy400Group@yahoogroups.com
          Oggetto: Re: R: R: R: R: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51

           

           

          hi

          i have download your pack now
          it is ok
          but when i execute the install command i have an error on module SETCGILIB2 because it can not find source member REC from qrpglesrc
          can you help me ?

          Regards

          Gilles

           

           


          From: Giovanni B. Perotti <gb_perotti@...>
          To:
          Easy400Group@yahoogroups.com
          Sent: Thursday, April 18, 2013 4:34 PM
          Subject: R: R: R: R: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51

           

           

          At this time we are 100% sure that your CGIDEV2 did not come from me. It may be a version from IBM. As far as I know, IBM stopped maintaining it in year 2006 and you can no longer retrieve support from them.

           

          Just throw your CGIDEV2 into the garbage can, and get a fresh full supported version from my site www.easy400.net .

           

          Giovanni

           

           

           

          Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per conto di Gilles Gilles
          Inviato: giovedì 18 aprile 2013 16:19
          A: Easy400Group@yahoogroups.com
          Oggetto: Re: R: R: R: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51 [1 Attachment]

           

           

          [Attachment(s) from Gilles Gilles included below]

          hi

          no these command do not work

          i receive a mail when i ask to register (see the attach file)

          so how can i get the good file now ?

          regards

          gilles

           

           


          From: Giovanni B. Perotti <gb_perotti@...>
          To: Easy400Group@yahoogroups.com
          Sent: Thursday, April 18, 2013 4:04 PM
          Subject: R: R: R: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51

           

           

          You did not answer my questions.

           

          Could you run the following commands?

           

          -          STRREXPRC SRCMBR(INSTALL) SRCFILE(CGIDEV2/QREXSRC)

          -          CGIDEV2/COMPILE

          -          CGIDEV2/RELEASED

          ??????????????????????????????????????????????ANSWER THE ABOVE QUESTIONS!!!!!!!!!!!!

           

          IF NOT, that CGIDEV2 is not from me.

           

          As a matter of fact you never downloaded CGIDEV2 from my site (I have no records from your name, except DB2XTOOLS).

          Who did it for you? Ask him. Make him responsible for your troubles.

           

          Giovanni

           

          Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per conto di Gilles Gilles
          Inviato: giovedì 18 aprile 2013 15:38
          A: Easy400Group@yahoogroups.com
          Oggetto: Re: R: R: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51

           

           

          hi
          i download it from this
          http://www.easy400.net/easy400p/main.html
          i received a mail from u
          where have i had to go to download the file ?

          regards

          Gilles

           

           


          From: Giovanni B. Perotti <gb_perotti@...>
          To: Easy400Group@yahoogroups.com
          Sent: Thursday, April 18, 2013 3:21 PM
          Subject: R: R: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51

           

           

          Gilles,

           

          if in library CGIDEV2 you cannot find command CGIDEV2/COMPILE, that simply means that you did not download CGIDEV2 from site Easy400.net .

          To double check, you may also want to run the following command:

                        STRREXPRC SRCMBR(INSTALL) SRCFILE(CGIDEV2/QREXSRC)

          If also that fails, then definitively your CGIDEV2 library does not come from Easy400.net .

          In such a case, you are kindly requested to contact your CGIDEV2 provider.

           

          Giovanni B. Perotti

           

          Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per conto di Gilles Gilles
          Inviato: giovedì 18 aprile 2013 13:59
          A: Easy400Group@yahoogroups.com
          Oggetto: Re: R: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51

           

           

          hi


          i can't find CGIDEV2/COMPILE  in CGIDEV2 library
          and in fact i have debug PAYCGIDEV2 program and it dump at the beginning of the program
          here
          0035.00  ********* Main process begins here                                    
          0036.00                                                                        
          0037.00  * Determine if a key was supplied and if so position to the appropriat
          0038.00  *   record.  If no key supplied then position to beginning of file    
          0039.00                                                                        
          0040.00  * Get input  - ZhbGetInput will return number of variables found. We m
          0041.00  *              always call it to prime the buffers for ZhbGetVar      
          0042.00                                                                        
          0043.00 C                   Eval      NbrVars = ZhbGetInput(SavedQryStr:APIErro

          but now i have install CGIdev2 server ans by copying the definition to my server it is working
          thanks

          regards
           
          Gilles

           

           


          From: Giovanni B. Perotti <gb_perotti@...>
          To: Easy400Group@yahoogroups.com
          Sent: Thursday, April 18, 2013 9:08 AM
          Subject: R: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51

           

           

          Are you sure that you ran command CGIDEV2/COMPILE when you installed CGIDEV2?

           

          Are you sure that your program chain does not run ZHBGETINPUT more than once?

          ZHBGETINPUT can be invoked only once per transaction.

           

          Please check the demo programs  ( http://cgidev2.easy400.net/cgidev2o/demos.htm  )  on your CGIDEV2APA HTTP instance.

          If they work, then ZHBGETINPUT is OK and there is something wrong in your program.

           

          Giovanni B. Perotti

          www.easy400.net - Free WEB utilities for IBM System i 

           

           

           

          Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per conto di Gilles Gilles
          Inviato: giovedì 18 aprile 2013 08:44
          A: Easy400Group@yahoogroups.com
          Oggetto: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51 [1 Attachment]

           

           

          [Attachment(s) from Gilles Gilles included below]

           

          Hi

           

          When i execute program PAYCGIDEV2 i get an internal server error if i try to call it from the url like that

           

          then i try to execute the program directly in iseries

          but i get an error in ZHBGETINPUT program

           

          see the log

           

                                                      
          Pointer not set for location referenced.                                 
          Suspected program QZHBCGI not found.                                     
          Pointer not set for location referenced.                                 
          Exception recursion detected.                                            
          Application error.  *N unmonitored by *N at statement *N, instruction    
            X'4000'.                                                               

          RPG status 00202 caused procedure ZHBGETINPU in program CGIDEV2/CGISRVPGM2
            to stop.                                                               
          Function check. RNX9001 unmonitored by PAYCGIDEV2 at statement 0000004300,
            instruction X'0000'.                                                   
          The call to ZHBGETINPU ended in error (C G D F).                         
          The call to ZHBGETINPU ended in error (C G D F).                         

           

          it says that QZHBCGI is not found 

          but if i do a wrkobj *all/QZHBCGI i found it in

          QZHBCGI     *SRVPGM   QHTTPSVR    CPPLE 

           

          and a WRKSRVPGM CGIDEV2/CGISRVPGM2

          show

           

           Service program  . . . . . . . . . . . . :   CGISRVPGM2                       
             Library  . . . . . . . . . . . . . . . :     CGIDEV2                        
           Owner  . . . . . . . . . . . . . . . . . :   QPGMR                            
           Service program attribute  . . . . . . . :   RPGLE                            
           Detail . . . . . . . . . . . . . . . . . :   *SRVPGM                          
                                                                                         
           Type options, press Enter.                                                    
             5=Display                                                                   
                                                                                         
                Service                                                                  
           Opt  Program     Library     Activation  Signature                            
                QZHBCGI     QHTTPSVR    *IMMED      D8E3D4C8C3C7C96DF0F0F24040404040     
                QC2UTIL1    QSYS        *IMMED          CB1F803582C31AC25B4DCBDD1B6D0948     
                QC2UTIL2    QSYS        *IMMED          A11653CED63C16950B06C44C1F6E95C2     

           

          Do you have an idea ?

           

          with program PAYCGI4 there is no problem but it do not use ZHBGETINP.

           

          i attach the dump file

           

          Regards

           

          Gilles

           

           

           

           

        • Giovanni B. Perotti
          Gilles, look at the compile listing of SETCGILIB2. External file QRPGLESRC is resolved versus a QRPGLESRC file which has not a record format with name
          Message 4 of 23 , Apr 22, 2013

            Gilles,

             

            look at the compile listing of SETCGILIB2.

            External file QRPGLESRC is resolved versus a QRPGLESRC file which has not a record format with name QRPGLESRC.

            You must remove from your library list the library containing such a QRPGLESRC file.

             

            Giovanni

             

            Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per conto di Gilles Gilles
            Inviato: lunedì 22 aprile 2013 10:07
            A: Easy400Group@yahoogroups.com
            Oggetto: Re: R: R: R: R: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51

             

             

            hi

            i have download your pack now
            it is ok
            but when i execute the install command i have an error on module SETCGILIB2 because it can not find source member REC from qrpglesrc
            can you help me ?

            Regards

            Gilles

             

             

          • Giovanni B. Perotti
            Gilles, if you do not make it with my previous suggestion on SETCGILIB, do the following: - DLTLIB CGIDEV2 - Download and install today
            Message 5 of 23 , Apr 22, 2013

              Gilles,

               

              if you do not make it with my previous suggestion on SETCGILIB, do the following:

              -          DLTLIB CGIDEV2

              -          Download and install today release of CGIDEV2. It includes some changes to program SETCGILIB.

               

              Giovanni

               

              Da: Giovanni B. Perotti [mailto:gb_perotti@...]
              Inviato: lunedì 22 aprile 2013 11:54
              A: 'Easy400Group@yahoogroups.com'
              Oggetto: SETCGILIB2

               

              Gilles,

               

              look at the compile listing of SETCGILIB2.

              External file QRPGLESRC is resolved versus a QRPGLESRC file which has not a record format with name QRPGLESRC.

              You must remove from your library list the library containing such a QRPGLESRC file.

               

              Giovanni

               

              Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per conto di Gilles Gilles
              Inviato: lunedì 22 aprile 2013 10:07
              A: Easy400Group@yahoogroups.com
              Oggetto: Re: R: R: R: R: [Easy400Group] Error in ZHBGETINPU when execute PAYCGIDEV2 or PAYCGI51

               

               

              hi

              i have download your pack now
              it is ok
              but when i execute the install command i have an error on module SETCGILIB2 because it can not find source member REC from qrpglesrc
              can you help me ?

              Regards

              Gilles

               

               

            • gillesgilles71
              hi i have copy the code in the message below but when i compile it it do not find QTMHRDSTIN definition where can i find this ? regards Gilles
              Message 6 of 23 , Apr 22, 2013
                hi


                i have copy the code in the message below
                but when i compile it it do not find QTMHRDSTIN definition

                where can i find this ?

                regards

                Gilles



                --- In Easy400Group@yahoogroups.com, "Giovanni B. Perotti" <gb_perotti@...> wrote:
                >
                > See Message # 9236 in the Easy400Group.
                >
                >
                >
                >
                >
                > Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per
                > conto di Gilles Gilles
                > Inviato: giovedì 18 aprile 2013 14:02
                > A: Easy400Group@yahoogroups.com
                > Oggetto: [Easy400Group] how retrieve the data send to ZHBGETINPU
                >
                >
                >
                >
                >
                >
                >
                > hi
                >
                > i would like retrieve data send to an ifs file
                >
                > is it possible ?
                >
                > zhbgetinput(savedquerystring:qusec)
                > if i write savedquerystring into a file it is blanc
                > which variable i have to retrieve ?
                >
                > regards
                >
                > Gilles
                >
              • Giovanni B. Perotti
                On IBM i, to run some WEB, you need to install the HTTP server, free Product No. 5761DG1 (or 5722DG1) , library QHTTPSVR. QTMHRDSRTIN is an API of service
                Message 7 of 23 , Apr 22, 2013

                  On IBM i, to run some WEB, you need to install the HTTP server, free Product No. 5761DG1 (or 5722DG1) , library QHTTPSVR.

                  QTMHRDSRTIN is an API of service program QHTTPSVR/QZHBCGI used for reading inputs from clients.

                   

                  Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per conto di gillesgilles71
                  Inviato: martedì 23 aprile 2013 07:34
                  A: Easy400Group@yahoogroups.com
                  Oggetto: Re: R: [Easy400Group] how retrieve the data send to ZHBGETINPU

                   

                   

                  hi

                  i have copy the code in the message below
                  but when i compile it it do not find QTMHRDSTIN definition

                  where can i find this ?

                  regards

                  Gilles

                  --- In Easy400Group@yahoogroups.com, "Giovanni B. Perotti" <gb_perotti@...> wrote:
                  >
                  > See Message # 9236 in the Easy400Group.
                  >
                  >
                  >
                  >
                  >
                  > Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per
                  > conto di Gilles Gilles
                  > Inviato: giovedì 18 aprile 2013 14:02
                  > A: Easy400Group@yahoogroups.com
                  > Oggetto: [Easy400Group] how retrieve the data send to ZHBGETINPU
                  >
                  >
                  >
                  >
                  >
                  >
                  >
                  > hi
                  >
                  > i would like retrieve data send to an ifs file
                  >
                  > is it possible ?
                  >
                  > zhbgetinput(savedquerystring:qusec)
                  > if i write savedquerystring into a file it is blanc
                  > which variable i have to retrieve ?
                  >
                  > regards
                  >
                  > Gilles
                  >

                • gillesgilles71
                  hi ok i retreive the code but how can i retrieve data in other language that the US ASCII table like chineese , japoneese or tcheck? regards Gilles
                  Message 8 of 23 , Apr 28, 2013
                    hi

                    ok i retreive the code but how can i retrieve data in other language that the US ASCII table like chineese , japoneese or tcheck?

                    regards

                    Gilles

                    --- In Easy400Group@yahoogroups.com, "Giovanni B. Perotti" <gb_perotti@...> wrote:
                    >
                    > See Message # 9236 in the Easy400Group.
                    >
                    >
                    >
                    >
                    >
                    > Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per
                    > conto di Gilles Gilles
                    > Inviato: giovedì 18 aprile 2013 14:02
                    > A: Easy400Group@yahoogroups.com
                    > Oggetto: [Easy400Group] how retrieve the data send to ZHBGETINPU
                    >
                    >
                    >
                    >
                    >
                    >
                    >
                    > hi
                    >
                    > i would like retrieve data send to an ifs file
                    >
                    > is it possible ?
                    >
                    > zhbgetinput(savedquerystring:qusec)
                    > if i write savedquerystring into a file it is blanc
                    > which variable i have to retrieve ?
                    >
                    > regards
                    >
                    > Gilles
                    >
                  • Vernon Hamberg
                    Gilles I am a little confused - you mention US ASCII - the encoding on the IBM i is EBCDIC. No matter - there are APIs to call that help with this. One is
                    Message 9 of 23 , Apr 29, 2013
                      Gilles

                      I am a little confused - you mention US ASCII - the encoding on the IBM i is EBCDIC.

                      No matter - there are APIs to call that help with this. One is called iconv - there is documentation on the Infocenter site that you need to read.

                      This is a rather large topic. I suggest that you go to www.midrange.com and subscribe to the MIDRANGE-L mailing list there - that is a very good site for these questions. I'm sure Giovanni and others can help, as well, but this does not seem to really be a question about CGIDEV2.

                      Of course, you may just get all you need to know here!

                      HTH
                      Vern

                      On 4/29/2013 12:59 AM, gillesgilles71 wrote:
                       

                      hi

                      ok i retreive the code but how can i retrieve data in other language that the US ASCII table like chineese , japoneese or tcheck?

                      regards

                      Gilles

                      --- In Easy400Group@yahoogroups.com, "Giovanni B. Perotti" <gb_perotti@...> wrote:
                      >
                      > See Message # 9236 in the Easy400Group.
                      >
                      >
                      >
                      >
                      >
                      > Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per
                      > conto di Gilles Gilles
                      > Inviato: giovedì 18 aprile 2013 14:02
                      > A: Easy400Group@yahoogroups.com
                      > Oggetto: [Easy400Group] how retrieve the data send to ZHBGETINPU
                      >
                      >
                      >
                      >
                      >
                      >
                      >
                      > hi
                      >
                      > i would like retrieve data send to an ifs file
                      >
                      > is it possible ?
                      >
                      > zhbgetinput(savedquerystring:qusec)
                      > if i write savedquerystring into a file it is blanc
                      > which variable i have to retrieve ?
                      >
                      > regards
                      >
                      > Gilles
                      >


                    • Henrik Rützou
                      Vernon, IBM I doesn’t necessarily only runs EBCDIC, I’m working on a special version of CGIDEV2 that runs UTF-8 internally and thereby have full UNICODE
                      Message 10 of 23 , Apr 29, 2013

                        Vernon,

                        IBM I doesn’t necessarily only runs EBCDIC, I’m working on a special version of CGIDEV2 that runs UTF-8 internally and thereby have full UNICODE support. But this is not an easy task especially if you want to run UTF-8, UCS-2 and EBCDIC side by side.

                        But I do have a proto/betatype "profe of concept" running that you can see on this link:

                        http://5.103.128.110:6382/pextcgiCOR/testutf8.pgm





                        On Mon, Apr 29, 2013 at 2:48 PM, Vernon Hamberg <vhamberg@...> wrote:
                         

                        Gilles

                        I am a little confused - you mention US ASCII - the encoding on the IBM i is EBCDIC.

                        No matter - there are APIs to call that help with this. One is called iconv - there is documentation on the Infocenter site that you need to read.

                        This is a rather large topic. I suggest that you go to www.midrange.com and subscribe to the MIDRANGE-L mailing list there - that is a very good site for these questions. I'm sure Giovanni and others can help, as well, but this does not seem to really be a question about CGIDEV2.

                        Of course, you may just get all you need to know here!

                        HTH
                        Vern



                        On 4/29/2013 12:59 AM, gillesgilles71 wrote:
                         

                        hi

                        ok i retreive the code but how can i retrieve data in other language that the US ASCII table like chineese , japoneese or tcheck?

                        regards

                        Gilles

                        --- In Easy400Group@yahoogroups.com, "Giovanni B. Perotti" <gb_perotti@...> wrote:
                        >
                        > See Message # 9236 in the Easy400Group.
                        >
                        >
                        >
                        >
                        >
                        > Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per
                        > conto di Gilles Gilles
                        > Inviato: giovedì 18 aprile 2013 14:02
                        > A: Easy400Group@yahoogroups.com
                        > Oggetto: [Easy400Group] how retrieve the data send to ZHBGETINPU
                        >
                        >
                        >
                        >
                        >
                        >
                        >
                        > hi
                        >
                        > i would like retrieve data send to an ifs file
                        >
                        > is it possible ?
                        >
                        > zhbgetinput(savedquerystring:qusec)
                        > if i write savedquerystring into a file it is blanc
                        > which variable i have to retrieve ?
                        >
                        > regards
                        >
                        > Gilles
                        >





                        --
                        Regards,
                        Henrik Rützou
                         
                         

                      • Vern Hamberg
                        Hi Henrik Yeah, true enough. Of course, you are talking about Apache. Sorry for any confusion - I was referring not to Apache but to the operating system
                        Message 11 of 23 , Apr 30, 2013

                          Hi Henrik

                           

                          Yeah, true enough. Of course, you are talking about Apache. Sorry for any confusion - I was referring not to Apache but to the operating system itself.

                           

                          Now Gilles is working with CGIDEV2, so it's Apache, right? I hope I replied in a helpful way for Gilles - iconv is still needed, I think.

                           

                          Interesting demo page, by the way!

                          Thanks

                          Vern


                           

                          Vernon,

                          IBM I doesn’t necessarily only runs EBCDIC, I’m working on a special version of CGIDEV2 that runs UTF-8 internally and thereby have full UNICODE support. But this is not an easy task especially if you want to run UTF-8, UCS-2 and EBCDIC side by side.

                          But I do have a proto/betatype "profe of concept" running that you can see on this link:

                          http://5.103.128.110:6382/pextcgiCOR/testutf8.pgm





                          On Mon, Apr 29, 2013 at 2:48 PM, Vernon Hamberg <vhamberg@...> wrote:
                           

                          Gilles

                          I am a little confused - you mention US ASCII - the encoding on the IBM i is EBCDIC.

                          No matter - there are APIs to call that help with this. One is called iconv - there is documentation on the Infocenter site that you need to read.

                          This is a rather large topic. I suggest that you go to www.midrange.com and subscribe to the MIDRANGE-L mailing list there - that is a very good site for these questions. I'm sure Giovanni and others can help, as well, but this does not seem to really be a question about CGIDEV2.

                          Of course, you may just get all you need to know here!

                          HTH
                          Vern



                          On 4/29/2013 12:59 AM, gillesgilles71 wrote:
                           

                          hi

                          ok i retreive the code but how can i retrieve data in other language that the US ASCII table like chineese , japoneese or tcheck?

                          regards

                          Gilles

                          --- In Easy400Group@yahoogroups.com, "Giovanni B. Perotti" <gb_perotti@...> wrote:
                          >
                          > See Message # 9236 in the Easy400Group.
                          >
                          >
                          >
                          >
                          >
                          > Da: Easy400Group@yahoogroups.com [mailto:Easy400Group@yahoogroups.com] Per
                          > conto di Gilles Gilles
                          > Inviato: giovedì 18 aprile 2013 14:02
                          > A: Easy400Group@yahoogroups.com
                          > Oggetto: [Easy400Group] how retrieve the data send to ZHBGETINPU
                          >
                          >
                          >
                          >
                          >
                          >
                          >
                          > hi
                          >
                          > i would like retrieve data send to an ifs file
                          >
                          > is it possible ?
                          >
                          > zhbgetinput(savedquerystring:qusec)
                          > if i write savedquerystring into a file it is blanc
                          > which variable i have to retrieve ?
                          >
                          > regards
                          >
                          > Gilles
                          >





                          --
                          Regards,
                          Henrik Rützou
                           
                           

                        Your message has been successfully submitted and would be delivered to recipients shortly.