what are the steps to sort in a cobol program?

Answer Posted / vaneesh

SORT WORK-FILE ON
ASCENDING KEY AS WS-KEY1
DESCENDING KEY WS-KEY2
USING INPUT-FILE GIVING OUTPUT-FILE.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do u write test cases?

1808


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

898


Mention the guidelines to write a structured cobol program?

807


how can i see junk values in dclgen or in hostvariable of comp ?

2741


What are all the divisions of a COBOL program?

871






What is the compute verb? How is it used?

843


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

911


What is rmode(24)

890


Why would you use find and get rather than to obtain?

888


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17500


What type of SDLC u followed? Why?

1713


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

939


How arrays can be defined in COBOL?

818


What is the difference between comp and comp-3 usage?

850


Why did you choose to work with ibm mainframe cobol programming?

830