I am trying to call a store procedure in pro c (I am new to it) below, how I am passing 5 parameters and it would return a parameter. how do I store that parameter in variable in tried INTO but was getting error. Any help would be appreciated.
"SELECT package1.procedure2(:p1, "
sqlstmt.len = strlen(sqlstmt.arr);
/*EXEC SQL PREPARE S FROM :sqlstmt;*/
EXEC SQL EXECUTE sqlstmt USING :B1,