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

In one room in your game, there's an elevator that AIs will need to use to escape from the player. In order to use the elevator, they have to walk over to a special button on the wall, press it to summon the elevator, then walk into the elevator and press another button to tell it to ascend. How would you design a system to make sure AIs can do all of these things in the proper order? If you have 3 AIs in the room, how would you design the system to make sure they can all escape in the elevator at the same time? What happens if one of them dies while they're trying to do this, and how do you make sure the other AIs don't get stuck waiting for that dead AI?

0 Answers   TCS,


HOW to click on elements under moving banner, in selenium webdriver

0 Answers  


What's the difference between a finite state machine (FSM) and a hierarchical finite state machine (HFSM)? Give an example of a hierarchical state machine with functionality that you could not easily replicate in a non-hierarchical FSM.

0 Answers  


Do you know SAP VMS(Vehicle Management System)

0 Answers  


Two trains running in opposite directions cross a man standing on the platform in 27 seconds and 17 seconds respectively and they cross each other in 23 seconds. The ratio of their speeds is:

0 Answers   Zoho,






A man has Rs. 480 in the denominations of one-rupee notes, five-rupee notes and ten-rupee notes. The number of notes of each denomination is equal. What is the total number of notes that he has ?

0 Answers   Zoho,


A train can travel 50% faster than a car. Both start from point A at the same time and reach point B 75 kms away from A at the same time. On the way, however, the train lost about 12.5 minutes while stopping at the stations. The speed of the car is

0 Answers   Zoho,


Where we can activate Rebates?

0 Answers  


4 men and 6 women can complete a work in 8 days, while 3 men and 7 women can complete it in 10 days. In how many days will 10 women complete it?

1 Answers   Zoho,


What is the difference between Requirement type Determination and Schedule line category determination ?

0 Answers  


What is a decision tree? When would you want to use one? What are its performance characteristics? How can you generate a decision tree automatically from a pre-existing data set? Is it feasible to do this at runtime, and has it been done in a commercial game before? When and why would you want to do this, and how would the data need to be organized to make this possible?

0 Answers  


What is planning? How is it used, and what are its advantages? Is it feasible to use planning in real-time games? If so, name any titles where planning has been used for any part of the AI. Describe the architecture of a planning-based AI system for any genre of game.

0 Answers  


Categories