MAG STORAGE FETCH (2854)    REMOTE PROCEDURE (8994)

Name Value
NAME MAG STORAGE FETCH
TAG FETCH
ROUTINE MAGSFTCH
RETURN VALUE TYPE ARRAY
DESCRIPTION
This Remote Procedure allows the invoking client to copy or move image files
INPUT PARAMETER
  • MAGIEN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    DESCRIPTION:   
    <start IMAGE ien> | <stop IMAGE ien>
    
  • DATE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   YES
    DESCRIPTION:   
    <Start image saved date> | <Stop image saved date>
    
  • NETLOC
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    DESCRIPTION:   
    FROM - network location | TO - network location | REMOVE source file 
    the first pipe-separated piece of the input value will be the
    internal entry number of source NETWORK LOCATION file (#2005.2)
    The second pipe-separated piece will be the internal entry number of destination
     NETWORK LOCATION file (#2005.2)
    The third pipe-separated piece of input value will be the option for removing source image files (=1)
    
RETURN PARAMETER DESCRIPTION
OUT is an array 
 
OUT(1)= "Ien1: Ien2, copy command line" or "0,Done" or "-1,Error"
OUT(2) = DOS command to fetch the image file
OUT(n) = DOS command to fetch the image file
 
The return value can be in <CODE>,<message>  or <IEN1:IEN2>,<DOS command> format.
The invoking client will check the <CODE> then execute <DOS command>