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

Why we need to use redefine clause when we can define the variable seperately... what is actual need....

5 Answers   Accenture,


Can you please let me know the centre name of INS certification in Kolkata.

0 Answers  


which of the following can be used as a check protection symbol a.Z b.S c.* d.+

2 Answers   TCS,


77 a pic x(4) value '1234' -----> instead of this 'abcd' 77 b pic 9(4) value zeros. move a to b what is the answers for both cases? IS it possible? Give me elementary move rules briefly......

8 Answers  


how to submit a jcl by cobol program. clear me with an example.

3 Answers   HCL,






can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

0 Answers  


What rules are followed by the search verb.

0 Answers  


What are the differences between OS VS COBOL and VS COBOL II?

1 Answers   IBM,


What is a report item?

0 Answers  


What is binary search?

3 Answers  


What will happen if we generate GDG (+2) version without generating (+1) version?

2 Answers   IBM, T systems,


What will happen if we generate GDG +2 version instead of +1 version?

2 Answers   T systems,


Categories