Why is a loop not working inside a passive informatica java transform? -
i looping through array in java transform, writing of elements outputs in same row (passive). loop stops @ 1st iteration
        (int c = 1 ; c < arr.length; c++){                  string fldname = string.valueof(c);                 int fldidx  = integer.parseint(prop.getproperty(fldname));                  if( isoutfldprojected( fldname) &&                          (!issetnullcalled( fldname))){                      outputbuf.setstring(outrownum, fldidx, arr[c]);                 }      
if arr contains 16 elements , exiting in first iteration, must throw kind of error or exception. should getting @ output console.
or loop may iterating 16 times without meeting if condition :
if( isoutfldprojected( fldname) && (!issetnullcalled( fldname)))   try debugging.
if missed info please provide.
Comments
Post a Comment