Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

TPT19350 I/O error on file - response (7) by Capgemini

$
0
0

my case i have one row and one column in input file.
here is file defination and read.
 
DESCRIPTION 'External File DELETE FROM CUSTOMER TABLE'
(
DEFINE SCHEMA CUST_NUM_SCHEMA
DESCRIPTION 'CUSTOMER NUMBER SCHEMA'
(
Cust_Num INTEGER
);
DEFINE OPERATOR DATA_PRODUCER
DESCRIPTION 'DATA CONNECTOR OPERATOR'
TYPE DATACONNECTOR PRODUCER
SCHEMA CUST_NUM_SCHEMA
ATTRIBUTES
(
VARCHAR OpenMode = 'Read',
VARCHAR Format = 'Formatted',
VARCHAR IndicatorMode,
VARCHAR DirectoryPath = '/infadata/tptctl',
VARCHAR FileName = 'date1.txt'
);
APPLY
(
'DELETE FROM lx_hold.I1877_test WHERE cno lt :CustNo')
TO OPERATOR (UPDATE_OPERATOR [1])
SELECT * FROM OPERATOR (DATA_PRODUCER[1]);
);
 
 


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>