VMS Help  —  RTL Routines, OTS$  OTS$MOVE5
    The Move Data with Fill routine moves up to 2**32-1 bytes
    (2,147,483,647 bytes) from a specified source address to
    a specified destination address, with separate source and
    destination lengths, and with fill. Overlap of the source and
    destination arrays does not affect the result.

    Format

      OTS$MOVE5  longword-int-source-length ,source-array ,fill-value

                 ,longword-int-dest-length ,destination-array

1  –  Corresponding JSB Entry Point

      OTS$MOVE5_R5

2  –  Returns

    None.

3  –  Arguments

 longword-int-source-length

    OpenVMS usage:longword_signed
    type:         longword (signed)
    access:       read only
    mechanism:    by value

    Number of bytes of data to move. The longword-int-source-
    length argument is a signed longword that contains this number.
    The value of longword-int-source-length may range from 0 to
    2,147,483,647.

 source-array

    OpenVMS usage:vector_byte_unsigned
    type:         byte (unsigned)
    access:       read only
    mechanism:    by reference, array reference

    Data to be moved by OTS$MOVE5. The source-array argument contains
    the address of an unsigned byte array that contains this data.

 fill-value

    OpenVMS usage:byte_unsigned
    type:         byte (unsigned)
    access:       read only
    mechanism:    by value

    Character used to pad the source data if longword-int-source-
    length is less than longword-int-dest-length. The fill-value
    argument contains the address of an unsigned byte that is this
    character.

 longword-int-dest-length

    OpenVMS usage:longword_signed
    type:         longword (signed)
    access:       read only
    mechanism:    by value

    Size of the destination area in bytes. The longword-int-dest-
    length argument is a signed longword containing this size.
    The value of longword-int-dest-length may range from 0 through
    2,147,483,647.

 destination-array

    OpenVMS usage:vector_byte_unsigned
    type:         byte (unsigned)
    access:       write only
    mechanism:    by reference, array reference

    Address into which source-array is moved. The destination-array
    argument is the address of an unsigned byte array into which
    OTS$MOVE5 writes the source data.
Close Help