i have 10,000 records in one input file i want to sort 1 to 5000 records in one out file and remaining records sort in another out file file write syntax?



i have 10,000 records in one input file i want to sort 1 to 5000 records in one out file and remaini..

Answer / jeeva225

My Answer,
//sort fields=copy
outfil files=1,startrec=1,endrec=5000
outfil files=2,startrec=5001,endrec=10000
/*

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Software Interview Questions

Explain Inter company Sales process

0 Answers  


How to Create a Database?

1 Answers  


You're tasked with implementing a computer player for a real-time strategy (RTS) game. Assuming that there is no fog-of-war, how do you implement a system to allow the computer player to determine what parts of the map are controlled by enemy players, and which parts are open to easy exploitation? How do you identify the choke points on the map? How do you find the boundary between the parts of the map under your control and the parts of the map controlled by enemy players? How do you detect an impending enemy attack or a change in an enemy's offensive posture?

0 Answers  


Can we assign more than one Shipment Cost in Delivery Type?

0 Answers  


How can you load large amounts of data from flat-text files?

0 Answers  






How to Monitor the Batch Jobs?

0 Answers  


A bank offers 5% compound interest calculated on half-yearly basis. A customer deposits Rs. 1600 each on 1st January and 1st July of a year. At the end of the year, the amount he would have gained by way of interest is:

0 Answers   Zoho,


How to Create a New Table?

0 Answers  


What is the movement Type for Sales?

0 Answers  


Imagine you have to write a Tic-Tac-Toe game in which a human player plays against the computer. Discuss the different ways in which you could implement the computer’s artificial intelligence for the game. Which method would you ultimately choose? And why?

0 Answers  


You're working on a game that involves enemy wizards dueling each other. Each wizard has at least a dozen different spells at his disposal -- some of them simply inflict damage, while others will temporarily stun or immobilize an enemy, slow him, prevent him from casting spells for a brief duration, teleport the caster a short distance, or give the caster a temporary shield. A wizard can only cast one spell at a time, but each spell has a fixed cooldown (time before it can be cast again) and an associated mana cost (assume no mana regeneration). Describe some ways you might implement a competent AI system for a wizard.

0 Answers  


What is a HGS

0 Answers   HGS,


Categories