ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Change the Job name, User and Job number of a spool file

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

  • Change the Job name, User and Job number of a spool file

    Q. How to change the Job name, User and Job number of a spool file?

    Actually what happened when copied a spool file by using SNDTCPSPLF some attributes of spool file are changed (like Job name, User and Job number, spool file number etc ). I need to have the same attribute like the copied spool file.
    Thanks in advance.

    Regards
    Skam 

  • #2
    Re: Change the Job name, User and Job number of a spool file

    I do not think there is a duplicate spool file ability for the send net file.
    Hunting down the future ms. Ex DeadManWalks. *certain restrictions apply

    Comment


    • #3
      Re: Change the Job name, User and Job number of a spool file

      We have an OUTQ on our primary system that spools *SPLF's to a remote system.

      Just change the *SPLF to (in this case) OUTQ(ASG) SAVE(*YES) USRDTA(whatever) and it will send it to the other system retaining all details from the original.

      If you don't use SAVE(*YES) it will be deleted from the primary system when it is sent across.

      Code:
                            Work with Output Queue Description
                                                              
      Queue:   ASG            Library:   QUSRSYS              
                                                              
      Status:                                                 
        Writer active  . . . . . . . . . . . :   Y            
        Writer name(s) if active . . . . . . :   ASG          
        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/ASG  
                                                              
      Queue for writer messages  . . . . . . :   QSYSOPR      
        Library  . . . . . . . . . . . . . . :     *LIBL      
      Connection type  . . . . . . . . . . . :   *IP          
      Internet address . . . . . . . . . . . :   111.111.111.111
      Destination type . . . . . . . . . . . :   *OS400       
      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 . . . . . . . . . . . :   ASG Outq from System_A
      Greg Craill: "Life's hard - Get a helmet !!"

      Comment

      Working...
      X