ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

save file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • save file

    Hi,


    how to save source members in a save file from a specific library and source file from AS/400 to local desktop in Binary format and then restore back same save file to AS/400 or to other AS/400 ?




    Thanks..

  • #2
    To create:
    Create a save file and add whatever you want to it.
    FTP the resulting file using BINARY mode so that no translation occurs.

    To restore:
    Create a save file on the target system.
    FTP the file from the PC into that file again using BINARY mode.
    Restore the save file.

    The process is described in many places on the web. Tools like Filezilla also make this process much simpler.

    Comment


    • #3
      thanks.. but it would save only objects not the source members present in a specific library/source file correct? because after creating save file we need to issue savobj command and need to mention objects name over there but source members are not any objects in IBM i so how could we save these members using savobj command ?


      Thanks...

      Comment


      • #4
        If you save a source file it contains all the source members.

        Comment


        • #5
          Ok, Thanks much...

          Comment


          • #6
            If you only want to save specific source files to the PC then simply copy the individual files as text. You could use an editor such as VS Code - with the IBM i extensions. You really shouldn't be using SEU. You simply can't effectively code modern RPG using that tool as it hasn't been updated in over 10 years!

            P.S. This , and your other posts, are sounding more and more like homework questions.

            Comment

            Working...
            X