if a file has 1000 recods how copy the records from 1 to 100
records using sort
Answer Posted / bhaskar reddy
//sysin dd*
sort fields=copy
stopaft=100
/*
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Give some examples of command terminators?
What are the different open modes available in cobol?
Name some of the examples of COBOl 11?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
How you can read the file from bottom?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
how do you reference the variable unblock file formats from cobol programs
what is search and searchall?what is the diffrence between them?give an best example?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
Write the code to count the sum of n natural numbers.
Have you used comp and comp-3 in your project? And how?
What is redefines clause in COBOL?
What are the different rules to perform a Search?
What are 77 levels used for?
What is the Purpose of POINTER Phrase in STRING command in COBOL?