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


Please Help Members By Posting Answers For Below Questions

Give some examples of command terminators?

759


What are the different open modes available in cobol?

722


Name some of the examples of COBOl 11?

2688


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

720


How you can read the file from bottom?

660






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

2122


how do you reference the variable unblock file formats from cobol programs

751


what is search and searchall?what is the diffrence between them?give an best example?

5563


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?

2100


Write the code to count the sum of n natural numbers.

703


Have you used comp and comp-3 in your project? And how?

2010


What is redefines clause in COBOL?

851


What are the different rules to perform a Search?

619


What are 77 levels used for?

661


What is the Purpose of POINTER Phrase in STRING command in COBOL?

723