Yes, quotation marks. Thanks for the catch.
To learn more about escape characters and the nuances of JSL, you can reference the Scripting Guide which is really well put together. Help>>Books>>Scripting Guide. (Escape characters are on p.87). If you are just wondering about syntax the Scripting Index is more helpful. Help>>Scripting Index.
A couple things to point out,
For numbers in If() statements, JSL responds truthy to anything other than 0. So If(Contains(currentColumnName[j],"COND_")>0, is the same as If(Contains(currentColumnName[j],"COND_"),
This:
//For each column in the map table, if the column name is a COND add it to the select criteria
For( j = 1, j <= numOfColumns, j++,
Current Data Table(correlationMapTable);
currentColumnName = correlationMapTable<<Get Column Names();
If(Contains(currentColumnName[j],"COND_")>0,
theValue = currentColumnName[j][i];
colName=currentColumnName[j];
would be better written:
//For each column in the map table, if the column name is a COND add it to the select criteria
For( j = 1, j <= numOfColumns, j++,
colName = Column(correlationMapTable, j) <<Get Name;
If(Contains(colName,"COND_"),