I had 100 records and i want to execute last three records by
using cobol programming?what will be coding?
Answer Posted / atul
Using Short card you can write the last 3 records.
Short card as :
SORT FIELDS=COPY SKIPREC=97 STOPAFT=03
It will copy the last three records and put it in a file.
Cobol program can use this file containing records.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Write a program that uses move corresponding.
What are the various section in data division and briefly explain them.
what is the use of outrecord?
Describe the cobol database components?
How do you define a variable of comp-1 and comp-2?
Write the code implementing the perform … varying.
What are the different rules to perform a Search?
) how do u code after getting data?
Explain the configuration section of a cobol program with examples of syntax.
In COBOL programming, what is PERFORM? What is VARYING?
What is the problem of ordered sequential files access?
how do you reference the variable block file formats from cobol programs
how do you reference the fixed unblock file formats from cobol programs
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
Write down the divisions of cobol program?