How to Skip or Get first and Last Record from Flat File
through MultiLoad and TPUMP Utility?

Answers were Sorted based on User's Feedback



How to Skip or Get first and Last Record from Flat File through MultiLoad and TPUMP Utility?..

Answer / milind mane

In .IMPORT command in MLoad we have a option to give
record no. from which processing should begin. ie. ‘FROM m’
‘m’ is a logical record number, as an integer, of the
record in the identified data source where processing is
to begin. You can mention ’m’ as 2 and processing will
start from second record.

THRU k and FOR n are two options in the same MLoad command,
functions same towards the end of the processing.

Is This Answer Correct ?    11 Yes 4 No

How to Skip or Get first and Last Record from Flat File through MultiLoad and TPUMP Utility?..

Answer / yuvaevergreen

Adding to the above, if from n"start record" and for n "stop
record" are not mentioned, mload considers records from
start till the end of the file.

Is This Answer Correct ?    3 Yes 0 No

How to Skip or Get first and Last Record from Flat File through MultiLoad and TPUMP Utility?..

Answer / tdguy

Two options, FROM 'n' THRU 'm' can be used or FOR 'n' can
be used.

Is This Answer Correct ?    2 Yes 0 No

How to Skip or Get first and Last Record from Flat File through MultiLoad and TPUMP Utility?..

Answer / kvsnr

MultiLoad is going to need to know the structure the INPUT
flat file. Use the .LAYOUT command to name the layout.
It is used to designate the starting location for this data
based on the previous fields length. If you are listing
fields in order and need to skip a few bytes in the record,
you can either use the .FILLER (like above) to position to
the cursor to the next field, or the "*" on the Dept_No
field could have been replaced with the number 132 ( CHAR
(11)+CHAR(20)+CHAR(100)+1 ). Then, the .FILLER is not needed

Is This Answer Correct ?    2 Yes 10 No

Post New Answer

More Teradata Interview Questions

What are the different functions included in the server software?

0 Answers  


What are the uses of bynets in multi-node systems?

0 Answers  


If RDBMS is halted what will you do ?

0 Answers   Teradata,


Fast Load Script is failed and error tables are available then how do you restart?

3 Answers   TCS,


what is the default character set in teradata,,?

2 Answers   IBM, TCS,


How to handle nulls in Teradata??? How many columns can be there in a table??? How to find average sal with out using avg function????

3 Answers   Mphasis,


If the PMON is not working then how do you identify and monitor all the processes, resources and sessions ?

0 Answers  


What is use of compress in terdata?Explain?

11 Answers  


1. generally how many node system will be used by the client. 2. while running mload if the job is aborted/failed at any phase what we have to look after to run the job successfully? 3.i wanted to know how to write the fastload script for table creation as well as table loading in a single script?

3 Answers  


What is basic teradata query language?

0 Answers  


Did you write stored procedures in teradata?

0 Answers  


Can we collect statistics on multiple columns?

0 Answers  


Categories