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

Answer Posted / sharath

u can also use include cond statment to do this

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between binary search and sequential search?

638


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6820


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

679


What is difference between static and dynamic call in cobol?

772


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

639






What the difference is between continue and next sentence?

651


What is the Purpose of Pointer in the string?

641


How can you get the ksds file records into your cobol program?

639


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5051


Which mode is used to operate the sequential file?

658


What is the difference between comp and comp-3?

694


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2101


Difference between cobol and cobol-ii?

704


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

17028


What is cobol?

741