Hello, Im trying to move a java string to an alphanumeric System I subfile field. The compiler isnt allowing it. How do I convert java string to String to System i alphanumeric. I could noit find anything about it on google.
rsmd = jdbc_GetMetaData(rs);
colcnt = jdbc_GetColCount(rsmd);
dow (jdbc_nextRowMD(rsmd));
rrn = rrn + 1;
csrrrn = rrn;
clear sfl1;
sfl1fld = getColumnName(rsmd: %int(rrn)); <----
sfl1attr = getColumnTypeName(rsmd: %int(rrn)); <----
write sfl1;
enddo;
jdbc_freeResult(rs);
jdbc_freeResultMetaData(rsmd);
jdbc_close(conn);
rsmd = jdbc_GetMetaData(rs);
colcnt = jdbc_GetColCount(rsmd);
dow (jdbc_nextRowMD(rsmd));
rrn = rrn + 1;
csrrrn = rrn;
clear sfl1;
sfl1fld = getColumnName(rsmd: %int(rrn)); <----
sfl1attr = getColumnTypeName(rsmd: %int(rrn)); <----
write sfl1;
enddo;
jdbc_freeResult(rs);
jdbc_freeResultMetaData(rsmd);
jdbc_close(conn);
Comment