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

Answer Posted / shazia

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

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What the difference is between continue and next sentence?

665


What is the LINKAGE SECTION used in COBOL?

894


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

661


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

744


What are the different data types in cobol?

800






I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1808


What are literals?

632


Write some characteristics of cobol as means of business language.

621


What is the Purpose of Pointer in the string?

643


Give some examples of command terminators?

759


What is the default value(s) for an initialize and what keyword allows for an override of the default?

697


What is length is cobol?

652


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2661


Are you comfortable in cobol or jcl?

643


IF I mention stop run in CICS what happens?

1898