RCP with Teradata Multiload

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
landaghaar
Participant
Posts: 38
Joined: Wed Sep 19, 2007 10:11 am
Location: Canada

RCP with Teradata Multiload

Post by landaghaar »

I want to create a generic job to get the schema file name and target table name and source file name as parameter.
The problem is that i can't make the RCP to work with Multiloader, i keep getting the following error:

0008 .layout internal indicators;
0009 .dml label tdmload;
0010 insert TEST.Testtable ()
values ();
0011 .import INFILE Testtable.dat format fastload layout internal
apply tdmload;
0012 .end mload;
**** 11:31:15 UTY1410 No 'FIELD' statements were entered for Layout 'INTERNAL'.

any ideas or help?
throbinson
Charter Member
Charter Member
Posts: 299
Joined: Wed Nov 13, 2002 5:38 pm
Location: USA

Post by throbinson »

The multi-load stage needs column names in order to build the script.
You'll notice that your script SQL statement has none;
0010 insert TEST.Testtable ()
values ();
No can do-ski with RCP.
I would hazard a guess that ONLY the Enterprise Stage can be used with RCP and Teradata because I have the very same problem with the Teradata API stage. My workaround was to parameterize the SQL statement. When that is done then RCP worked.
Post Reply