CLEM script command for "Line delimiter is newline character" in Variable File source node of IBM SPSS Modeler 15.0.

Technote (FAQ)


Question

IBM SPSS Modeler 15's VARIABLE FILE source node has a new option of "Line delimiter is newline characters".
Is there a CLEM script command to activate or deactivate this option?

Answer

Following command can use to toggle this option on or off:

set :variablefilenode.break_case_by_newline=true


Sample Code:

var varfilenode
set varfilenode = create variablefilenode
set ^varfilenode.break_case_by_newline=true
set ^varfilenode.full_filename = "d:\\test\\testdata.csv"
position ^varfilenode_list at 100 75

with d:\test\testdata.csv file contains following data:

======
Field1,Field2,Field3,Field4,Field5
11,12,13,14,15
21,22,23,24,25
31,32,33,34
41,42,43,44,45
51,52
61,62,63,64
71,72,73,74,75
======

Cross reference information
Segment Product Component Platform Version Edition
Business Analytics SPSS Modeler Modeler Windows 15.0 All Editions

Rate this page:

(0 users)Average rating

Document information


More support for:

SPSS Modeler
Modeler

Software version:

15.0

Operating system(s):

Windows

Reference #:

1631746

Modified date:

2013-03-28

Translate my page

Machine Translation

Content navigation