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

what is extern

0 Answers   Efftronics Systems,


WAP to display "I LOVE MY COUNTRY " without any space

0 Answers  


In Material Master, in which tab you will find the Loading Group?

0 Answers  


can anyone tell me the program to compare two files and write matching records to a file and unmatched to another in mainframe.

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  






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  


How does a flocking-based steering system work? What are the components of a flocking-based steering system, and how are they combined? When does flocking-based steering break down or produce undesirable results? Are there any performance implications of the standard flocking model as described by Craig Reynolds, and if so, what are some ways to address them?

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  


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  


where will movement type get assigned?

0 Answers  


Raja was studying for his examinations and the lights went off. It was around 1:00 AM. He lighted two uniform candles of equal length but one thicker than the other. The thick candle is supposed to last six hours and the thin one two hours less. When he finally went to sleep, the thick candle was twice as long as the thin one. For how long did Raja study in candle light?

4 Answers   Zoho,


Whay $ dropdb databasename is used?

1 Answers  


Categories