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-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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
  • 1459 views
  • 0 likes
  • 2 in conversation