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

how to load or extract the error table data ?

3 Answers  


i am pursuing mca and i want to do tera data .so plz suggest me the best institue in hydrabad who teach real tym scenerio.

1 Answers  


I want to write one query How to get Matched records and unmatched records in table?

4 Answers   TCS,


what are the uses of fact table and dimension table in banking project?

0 Answers   TCS,


Explain the meaning of Amp?

0 Answers  






What are the components provided on node?

0 Answers  


why use references rather than pointers in the public api, particularly for arguments which are modified?

0 Answers  


Which Teradata concept allows more than one model generation?

1 Answers   TCS,


What is dimensional modeling?

0 Answers  


hi guys...i have good experiance in oracle ...now i want to learn teradata? how much of percentage my knowledge is used to understand the teradata? i mean.. if teradata also having sql queries or not?

1 Answers  


What is logical data model?

0 Answers  


Is PK concept available in Teradata. If it is how can we create Primary Key for a table in TD

6 Answers   Wipro,


Categories