if a file has 1000 recods how copy the records from 1 to 100
records using sort
Answer Posted / bhaskar reddy
//sysin dd*
sort fields=copy
stopaft=100
/*
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What rules are to be followed while using the corresponding options?
How do you differentiate between cobol and cobol-ii?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Define cobol?
What is the local-storage section?
How arrays can be defined in COBOL?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
Name the divisions, which are available in a cobol program?
Write the code implementing the perform … varying.
What rules are followed by the search verb.
how do you reference the variable block file formats from cobol programs
explain sorting techniques in cobol program?
How do you define a variable of comp-1 and comp-2?
What is the problem of ordered sequential files access?