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
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
Whats the difference between search & search ALL?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How do you reference the following file formats from cobol programs?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is static and dynamic call in cobol?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What is redefines clause in COBOL?
Can a Search can be done on a table with or without Index?
i need a small 3d program using inline and outline.
What are the access modes of START statement?
) what is the difference between AID and HANDLE AID?
What are the different data types in cobol?