Moves the current datalog position of the file identified by refnum to the datalog position indicated by offset (in records) according to the mode in from.

The Write Datalog function changes the current datalog position to the end of the file. You cannot use this function to write to a different position in the file.


icon

Inputs/Outputs

  • cudlrn.png refnum

    refnum is the file refnum associated with the datalog file whose datalog position you want to set.

  • ci64.png offset (in records) (0)

    offset (in records) specifies how many records from the location specified by from to set the datalog position.

  • cenum.png from (0:start)

    from, together with offset (in records), specifies where to set the datalog position. If you wire offset (in records), from defaults to 0, and the offset is relative to the beginning of the file. If you do not wire offset (in records), offset (in records) defaults to 0, from defaults to 2, and the operation starts at the current datalog position.

    0start—Sets the datalog position offset (in records) from the beginning of the file. If from is 0, offset (in records) should be positive.
    1end—Sets the datalog position offset (in records) from the end of the file. If from is 1, offset (in records) should be negative.
    2current—Sets the datalog position offset (in records) from the current datalog position.
  • cerrcodeclst.png error in

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • iudlrn.png refnum out

    refnum out returns refnum.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.