i have 1000 records in input file and i want to sort it and
the first 200 records to be placed in output file. how to
do that??

Answer Posted / lachchu

Can you please write C code for the same ?

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375

1291


How to alter the parameters for the existing gdg?

962


what is the JCL statement consists of?

946


How can a stopped job be started again?

952


What is one line to pass PARM from JCL to COBOL?

4712


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

2243


What is timing concept in mainframe?

1954


Name a few IBM utility programs, and explain its function.

4732


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

2062


Differentiate between addressing mode and run mode.

824


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

1108


what is the resolution for sb37 error

8459


which utility is used to sort a file in jcl?

1008


What is the function of //jcllib statement?

1089


What are the jcl procedures?

895