0
input from cust.txt.
define temp-table tt-cust field name like customer.name
field custnum like customer.custnum.
repeat:
create ttcust.
import delimiter "," tt-cust.name tt-cust.custnum.
end.
input close.
for each customer where customer.country = "usa" exclusive-lock:
assign customer.name = tt-cust.name
customer.custnum = tt-cust.custnum.
end.
입력 파일의 데이터가 잘못되면 로그 파일에 오류를 기록하고 싶습니다. 예를 들어 custnum 필드에 문자가 아닌 숫자가있는 경우.로그 파일에 쓰는 방법은 무엇입니까?