I would like to convert a oracle table to array , using ds2 , for RTDM.
package return_column/overwrite=yes;
/* read table*/
declare package sqlstmt m_stmtSelectArrasto('
select column1, column2 , column3
from table
;
/*write a array*/
column1 column2 column3
a1 a2 a3
b1 b2 b3
c1 c2 c3
Convert to
character_list {a1,b1,c1}
character_list {a2,b2,c2}
character_list {a3,b3,c3}
Sorry, your intentions are unclear (to me at least).
I need to create a code to use in RTDM because rtdm data processing returns only one record. And I need to return more than one. for it would create a DS2, read a table, using parameters to filter. In return this reading, I would receive from 1 to N records. and this return would have values in a arraylist.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.