Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

copy file & partitions

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

  • copy file & partitions

    Have you tried the MOVDOC command? I'm not sure if this will work for the entire IFS, or just QDLS. Another thing you might try is a combination of SAVDLO and RSTDLO. Dave

  • #2
    copy file & partitions

    If you have anynet setup, you can use SAVRST to copy a file from the IFS of one server to another server. You can also use the CPY command through QNTC.

    Comment


    • #3
      copy file & partitions

      You could use the QFileSvr.400 filesystem. I'm not sure how partitions acquire names, but it should be something like CPY OBJ('/Subdir/MyFile.PDF') TODIR('/QFileSvr.400/NameOfPartition2/Subdir')

      Comment


      • #4
        copy file & partitions

        From a cl, is there a way to copy a PDF file residing in the IFS on partition 1 to IFS on partition 2? Thanks

        Comment


        • #5
          copy file & partitions

          Here are two thoughts. I have never used a partitioned AS/400 so I am just winging it. Try to FTP from Partition 1 to Partition 2. Another thought would be to use the Copy Object (CPY) command. Copy Document (CPYDOC) will only work with files in the QDLS. Good Luck. Let us know if either of these work or you find another solution.

          Comment

          Working...
          X