Yves Guerin

Forum Replies Created

Viewing 15 replies – 1 through 15 (of 42 total)
  • Author
    Replies
  • in reply to: Setting lengths for subfields #82560
    Yves Guerin
    Participant

      Dear,

      Use a variant and put the length you need in the field definition.

      Regards,

      Yves

      in reply to: Alert Files #82515
      Yves Guerin
      Participant

        Dear,

        To get information about loaded alerts (from the console):

        Code:

        setsite X
        hcicmd -t d -p hcimonitord -c “show enabled”

        or

        Code:

        hcicmd -t d -p hcimonitord -c “show all”

        We experienced some trouble with the GUI when we loaded an alert file, it seems to load all .alrt file, so we renamed all alert files with different extension and keep the active alert file with .alrt extension ( run cis5.8 ) .

        Regards,

        Yves

        in reply to: SFTP script #59893
        Yves Guerin
        Participant

          Dear,

          Nice scripts with expect but using tclcurl seems lineless  ðŸ˜‰

          Regards,

          Yes

          in reply to: SFTP script #59892
          Yves Guerin
          Participant

            Dear,

            Yes, I use sftp or something like that (may be ftps) I have to send two files to an windows sftp server

            And more easy than Java class

            My code with tclcurl

            On top of my tcl file I define a global var

            Code:


            set gAvoirTclCurl 0

            In my tcl proc: get reference to my global var

            Code:


            upvar #0 gAvoirTclCurl avoirTclCurl


            in start state

            Code:

            # obtenir le pkg TclCurl
                       if {[catch {set idPkg [package require TclCurl]} erreur]} {
                           # err
                           set defAction ERROR

                           set  msgErr “$msgErr + ERREUR paquetage TclCurl = $erreur”
                       } else {
                           # ok
                           puts “$module: TclCurl = $idPkg”
                           set avoirTclCurl 1
                       }


            in run state:

            Code:


            # get parameters from the command line

            # check if tclcurl is loaded
            if {1 == $avoirTclCurl} {
                # have pkg tclcurl loaded
                 if {[catch { ::curl::transfer -verbose $verbose
                                                        -noprogress $noprogress
                                                        -url $url$nomF
                                                        -userpwd “$userpwd”
                                                        -sslverifypeer $sslverifypeer
                                                        -ftpssl $ftpssl
                                                        -sslverifyhost $sslverifyhost
                                                        -infile $fichier
                                                        -upload $upload
                                                        -errorbuffer erreur
                                                        -postquote [list “rnfr $nomF” “rnto $nomFStrm$ext”]
                              } erreur]} {
                                               # error handler
                                              } else {
                                                   # sftp transfert is ok
                                              }
            } else {
                   # error handler for not having tclcurl loaded
            }

            hope that help

            Regards,

            Yves

            in reply to: SFTP script #59889
            Yves Guerin
            Participant

              Dear,

              to send file to ftp server I used tclCurl (bundle in cloverleaf) from my tcl script, works great and more easy than using expect.

              Regards,

              Yves

              in reply to: Netconfig Syntax Checker #82384
              Yves Guerin
              Participant

                Dear,

                To check the tcl procs I use tclCheck <a href="http://catless.ncl.ac.uk/Programs/tclCheck/&#8221; class=”bbcode_url”>http://catless.ncl.ac.uk/Programs/tclCheck/

                Regards,

                Yves[/url]

                in reply to: Would IE 11 cause problems viewing Help Menu in IDE? #80616
                Yves Guerin
                Participant

                  Dear,

                  Use Firefox, Opera or Chrome and dished the IE nightmare…

                  Regards,

                  Yves

                  in reply to: Mutli line command with redhat #82102
                  Yves Guerin
                  Participant

                    Dear,

                    On Linux use the do2unix utility (man dos2unix) to convert from windows to Linux (end of line)

                    Regards,

                    Yves

                    in reply to: Searching the new SMAT Database in 6.1 #81985
                    Yves Guerin
                    Participant

                      Dear,

                      We still running cis.5.8

                      Regards,

                      Yves

                      in reply to: Searching the new SMAT Database in 6.1 #81983
                      Yves Guerin
                      Participant

                        Dear,

                        We do a cycling of the data for every inbound interfaces and some time outbound too.  We keep in the engine around 3 months of data (in separate directories) and we perfomed a backup every month of the data to dvd (around 3.5 G disk space for messages: .idx and .msg files).  I am wondering about the space that the db file will take on disk ?  Will we able to purge or save the db file as we did with the flat data file (.idx and .msg) and keep only 3 months on the engine and backup the rest (older than 3 months) to dvd ?

                        Regards,

                        Yves

                        in reply to: SMAT Flat files and Cloverleaf 6.2 #82038
                        Yves Guerin
                        Participant

                          Dear,

                          We have so many scripts to handle the smart flat file that going to db file will be for us a big trouble. We will have to convert every script to handle the new format.  If you provide tools to do the extract as the same format as smart flat file (.idx, .msg) it should be manageable but we prefer to keep the smart flat file format.

                          Regards,

                          Yves

                          in reply to: Suggested Methodology for large lookup table functionality? #81976
                          Yves Guerin
                          Participant

                            Hello,

                            Rob Abbott wrote:

                            What Jim C. says about GDBM is very true – this is not recommended as it’s been deprecated and is no longer shipped with Cloverleaf.

                            in reply to: message send over an outbound connexion #81934
                            Yves Guerin
                            Participant

                              Dear,

                              Yes, the client needs to get this response before sending another one.

                              Regards,

                              Yves

                              in reply to: message send over an outbound connexion #81932
                              Yves Guerin
                              Participant

                                Dear,

                                Yes, because I need to send back the message as a reply to the client through the inbound connexion (server)

                                client — request –> ConnexionIn — xlate —> connexionOut

                                ConnexionOut — reply –> connexionIn — reponse —> client

                                Regards,

                                Yves

                                in reply to: parsing destination from NetConfig with tcl #81832
                                Yves Guerin
                                Participant

                                  Dear,

                                  Ooops, not supported 😯 , ok I will stick with my tcl + tclX or shell script to parse the NetConfig.  

                                  Regards,

                                  Yves

                                Viewing 15 replies – 1 through 15 (of 42 total)