ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Transfer spooled files from one AS400 server to another

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

  • Transfer spooled files from one AS400 server to another

    Guys, Do you know how to transfer spooled files from one AS400 server to another?

    here's the situation

    We have a printer that is connected to one AS400 server(lets call it server 1)

    but we need to print the spooled files from another as400 server(lets call it server 2).

    so we need to transfer the spooled files from server 2 to server 1.

    And we just cannot transfer the server1 printer to server2.

    what is the easiest and fastest way to do this?

    Thanks!
    Last edited by paul; May 18, 2009, 11:27 PM. Reason: clarification

  • #2
    Re: Transfer spooled files from one AS400 server to another

    Paul,

    We set up the OUTQD to point to the other server, one assumes you have TCP/IP connection between them.

    The output Queue name is (AAA) on both systems.

    Note - when you move the spoolfiles to OUTQ(AAA) on server 1 they will automatically spool to OUTQ(AAA) on server 2, but as normal they will then be DELETED from server 1 unless you specify SAVE(*YES)

    Use the IP address of server 2 instead of 111.111.111.111

    Code:
                          Work with Output Queue Description        
     
    Queue:   AAA            Library:   QUSRSYS                      
     
    Status:                                                         
      Writer active  . . . . . . . . . . . :   Y                    
      Writer name(s) if active . . . . . . :   AAA                  
      Output queue held  . . . . . . . . . :   N                    
    Maximum spooled file size:                                      
      Number of pages  . . . . . . . . . . :   *NONE                
      Starting time  . . . . . . . . . . . :                        
      Ending time  . . . . . . . . . . . . :                        
    Writers to autostart . . . . . . . . . :   *NONE                
    Display any file . . . . . . . . . . . :   *NO                  
    Job separators . . . . . . . . . . . . :   0                    
    Operator controlled  . . . . . . . . . :   *YES                 
    Order of files on queue  . . . . . . . :   *FIFO                
    Data queue . . . . . . . . . . . . . . :   *NONE                
      Library  . . . . . . . . . . . . . . :                        
    Authority to check . . . . . . . . . . :   *OWNER       
    Remote system  . . . . . . . . . . . . :   *INTNETADR   
    Remote printer queue . . . . . . . . . :   QUSRSYS/AAA  
    Queue for writer messages  . . . . . . :   QSYSOPR      
      Library  . . . . . . . . . . . . . . :     *LIBL      
    [B][COLOR=blue]Connection type  . . . . . . . . . . . :   *IP          [/COLOR][/B]
    [B][COLOR=blue]Internet address . . . . . . . . . . . :   111.111.111.111[/COLOR][/B]
    [B][COLOR=blue]Destination type . . . . . . . . . . . :   *OS400[/COLOR][/B]       
    Host print transform . . . . . . . . . :   *NO          
    User data transform  . . . . . . . . . :   *NONE  
      Library  . . . . . . . . . . . . . . :          
    Image configuration  . . . . . . . . . :   *NONE  
    Destination options  . . . . . . . . . :   *NONE  
    Print separator page . . . . . . . . . :   *YES   
    User defined option  . . . . . . . . . :   *NONE  
    User defined object:                              
      Object . . . . . . . . . . . . . . . :   *NONE  
        Library  . . . . . . . . . . . . . :          
      Object type  . . . . . . . . . . . . :          
    User driver program  . . . . . . . . . :   *NONE  
      Library  . . . . . . . . . . . . . . :          
    Spooled file ASP . . . . . . . . . . . :   *SYSTEM
    Text description . . . . . . . . . . . :   AAA Outq from SERVER1
    - Greg.
    Last edited by gcraill; May 18, 2009, 11:53 PM.
    Greg Craill: "Life's hard - Get a helmet !!"

    Comment


    • #3
      Re: Transfer spooled files from one AS400 server to another

      thanks! will try this!!

      Comment

      Working...
      X