BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
maxd
Calcite | Level 5

Hello,

 

Currently, I have a job that inserts data into a Teradata table one row at a time via a Data Target (Insert) node. Is it possible to insert the data in chunks or all at once?

 

I've tried creating a process job with two Data Job (reference) nodes. One node inserts the data into a text file then the other node takes that data and inserts it into a table all at once. But, I'm getting error 43: Data flow - Invalid parent slot. I believe it's because the Data Target (Insert) node isn't getting an input.

 

1 ACCEPTED SOLUTION

Accepted Solutions
audrey
SAS Employee

Hi,

 

Did you try to change the Options in the Data Target node to Commit all rows in a single transaction?

 

Cheers,

Audrey

www.sas.comsupport.sas.com
SAS®... THE POWER TO KNOW®

View solution in original post

3 REPLIES 3
audrey
SAS Employee

Hi,

 

Did you try to change the Options in the Data Target node to Commit all rows in a single transaction?

 

Cheers,

Audrey

www.sas.comsupport.sas.com
SAS®... THE POWER TO KNOW®
maxd
Calcite | Level 5

I selected commit all rows in a single transaction. However, it's still performing 1 transaction at a time from what I can see querying the table during the data job. Also, the status of the data job is slowly incriminating the number of rows inserted.

maxd
Calcite | Level 5

I forgot to change the Bulk row count from 1 to 1000 (or another number). Thank you for your help!

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 975 views
  • 0 likes
  • 2 in conversation