NIPO ODIN Version 5.17

*MOVU

Purpose

Transfers data to a data field in the closed answers record (U-file).

Syntax

*MOVU <Qn> <Qm>

Description

Data specified in the second argument is transferred to the data field specified in the first argument. This command is used to transfer data from the T-file or Sample table record to a data field in the record with closed answers. The original contents of the receiving data field are overwritten. This command may also allowed under condition.

Arguments

Qn
The question reference of the data field where the data have to be transferred to.

Qm
Refers to a (dummy) question indicating a data field in the T-file or Sample table record that contains the data to be transferred.

Remarks

Positions in the T-file are linked to fields in the Sample table. For more information, see Copying Positions From a T-file for details. As a result you should not refer to positions in the T-file that overlap fields. For example, the following script:

*MOVU 155L55 136L55

Results in the message "Warning: 136L55 spans multiple database fields, will be truncated to 136L45".

Example 1

*QUESTION 1 *NUMBER 290L2 *ADDRESS
*QUESTION 2 *NUMBER 61L2
*MOVU Q2 Q1

This example stores the contents of position 290-291 of the T-file or Sample table record into question 2 (position 61-62).

Example 2

*QUESTION 701 *ALPHA 1L17 *ADDRESS
*QUESTION 702 *ALPHA 101L17
*MOVU Q702 Q701

This example stores the telephone number (position 1-17 of the T-file or Sample table record) into question 702 (position 101-117).

See Also