Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
tablename[][] and I was expecting to do it with, say row6<J>=something</J>
Start code:
int NumFields = Integer.parseInt(globalMap.get("NumFields").toString());
int NumRecords = (Integer) globalMap.get("tFileRowCount_1_COUNT");
String[] GenHeader=new String;
Main code:
row6.FILE_NAME = (String)globalMap.get("tFileList_1_CURRENT_FILE");
row6.PROCESSED_DATE_TIME=TalendDate.getCurrentDate();
//row6.LOAD_TIMESTAMP=Integer.parseInt(globalMap.get("LoadTimestamp").toString());
for (int i=2; i<NumFields;i++){
GenHeader="COL" + StringHandling.RIGHT("00"+(i-1), 2); //Generic Columns on both GENERIC_FILE_LOAD AND GENERIC_FILE are called COLXX
};
for (int i=1; i<NumFields; i++){ //Not wanting the Header
for (int j=2; j<NumFields; j++){ //First two columns are already stored before
boolean test=true;
for (int k=1; k<NumFields-1 && test; k++){ //iterating lines of REF_FIELD_MAPPING
if (row5<K>==GenHeader<J>) //Column 3 of row5 is FIELD_NAME
{test=false;};
row6]=row3<J>; //Column 7 of row5 is MAPS_TO
};
};
};</J></J></K>