Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


if a file has 1000 recods how copy the records from 1 to 100
records using sort

Answers were Sorted based on User's Feedback



if a file has 1000 recods how copy the records from 1 to 100 records using sort..

Answer / shazia

We can do by Sort, i.e Use "Stop after 100" command in Sort.

Is This Answer Correct ?    8 Yes 0 No

if a file has 1000 recods how copy the records from 1 to 100 records using sort..

Answer / bhaskar reddy

//sysin dd*
sort fields=copy
stopaft=100
/*

Is This Answer Correct ?    6 Yes 0 No

if a file has 1000 recods how copy the records from 1 to 100 records using sort..

Answer / rv rocks

using iceman utility we can copy the 1st 100 records .
//sysin dd *
option copy, stopaft=100
/*

Is This Answer Correct ?    2 Yes 0 No

if a file has 1000 recods how copy the records from 1 to 100 records using sort..

Answer / sharath

u can also use include cond statment to do this

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

what is redefines? where it can be effectively use for the purpose of memory utilization? give an example?

4 Answers   IBM,


i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?

12 Answers  


In a file if a column account number conatain value 0001234.. how can we move the value to another variable without zero. value may contain any type such as 00123405. we need the value 1234 or 12305. how can we do that in cobol. Please help.

1 Answers   CSC,


How to delete the records of a dataset through cobol programme?We should not use jcl utilitities like IDCAMS.

2 Answers  


wht is the difference between goto and perform stmts

7 Answers   DELL,


without performing any operations on a file how can i know whether it contains data or not

2 Answers  


What is difference between COBOL and VS COBOL II?.

1 Answers   Winsol Solutions,


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

0 Answers   IBM,


when COMP-3 is preferrable?

3 Answers   Patni,


Describe the cobol database components?

0 Answers  


What is a scope terminator give example?

0 Answers  


S9(5)V9(2) occupies how many bytes memory ?

6 Answers   Cap Gemini,


Categories