fileset-ftp in 5.7 diff than 5.4.1

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf fileset-ftp in 5.7 diff than 5.4.1

  • Creator
    Topic
  • #51868
    Ryan Spires
    Participant

      Just wanting to pick some brains on best practice in regards to using (or not using) fileset-ftp.

      We recently went through an upgrade and though everything appeared to test out.   Apparently files were not ran completely through the process on the receiving app.

      The original interface was designed to use fileset-ftp, ftp’s to the mainframe using ASCII.  

      We found that if the outbound directory is not provided, the ftp errors.

      Also found that the mainframe did not like the “.” as a directory, but we could use ~

      The other thing appears that the endline characters may be getting changed (or not changed when they were previously).  I haven’t been able to get a clear answer as to what the line termination should be or what it is after transport as I do not have access to get the file and it is moved immediately.

      In any case, still working through this, but wanted to get a take on best practices.   I am not fond of the use of ASCII as it leave some of the manipulation of data in the hands of something outside my control.

      Since going to the mainframe, I would need to run the data throgh the hcitpstblconvert to convert the ascii data to EBCDIIC.  Not a problem and can then use “IMAGE”  

      How are others handling… the 3rd option is to use a tcl proc to do the ftp, but I tend to hope that the tools in Cloverelaf will provide the funcitionality needed.

      Ryan

    Viewing 3 reply threads
    • Author
      Replies
      • #72066
        Troy Morton
        Participant

          We save outbound messages to a file using fileset-local, then have an FTP cron job pick up and FTP the files to the Mainframe using the ASCII option so that the conversion to EBCDIC is handled by FTP.

          Troy

        • #72067
          Michael Hertel
          Participant

            FTP is a different animal between 5.4.1 and 5.7

            Cloverleaf’s ftp has been redone.

            As for the end of line characters, it has always been suspect as to whether the ascii/binary choice actually made a difference prior to the rewrite. In my experience I’ve had to code around end-of-line issues.

            We use a different product other than Cloverleaf for our ftp interfaces.

          • #72068
            Russ Ross
            Participant

              We have scripted all our FTP file movement outside of Cloverleaf so far with good success.

              When I see posts like this, I feel better about having kept them outside the impact of a Cloverleaf upgrade.

              Russ Ross
              RussRoss318@gmail.com

            • #72069
              Robert Milfajt
              Participant

                Like Russ, we do all FTP transfers outside Cloverleaf (via AIX cron and shell scripting).  We have had tremendous success with this method.

                Hope this helps,

                Robert Milfajt
                Northwestern Medicine
                Chicago, IL

            Viewing 3 reply threads
            • The forum ‘Cloverleaf’ is closed to new topics and replies.