We can STARTREC and ENDREC parameter of a SORT utility copy select records from a infile to outfile.
Posted by: Manindra Kumar
Contact Manindra Kumar
by useing omit cond we can do that one
we dont want first 1000 records
omit cond-(postion,lenth,bi gtequal,c'1000')
Posted by: divakar
first sort the file in descending order by usingsort utility,then put a filter STOP AFTER= 1000.
sort fields= (0,10,ch,desc),
then in next step
stop aft= 1000,
sort fields= copy.
Posted by: naveen kumar
Contact naveen kumar
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
There should not be any Spelling Mistakes.
There should not be any Gramatical Errors.
Answers must not contain any bad words.
Answers should not be the repeat of same answer, already approved.
Answer should be complete in itself.