Question ID : 221
Created on 2013-11-22 at 4:45 AM
Author : Veryant Support [support@veryant.com]
Online URL : http://support.veryant.com/support/phpkb/question.php?ID=221
To achieve this goal, you have to use the indicator variables:
*Put a NULL value in a record using indicator variables
move 6 to V-KEY
move spaces to V-DATA
move -1 to IND-VAR
EXEC SQL INSERT INTO V_TABLE VALUES (:V-KEY, :V-DATA:IND-VAR)
END-EXEC