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
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
How do define dynamic array in cobol.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
Which mode is used to operate the sequential file?
Explain about different table spaces.
Define cobol?
IF I mention stop run in CICS what happens?
What are different data types in cobol?
What guidelines should be followed to write a structured cobol prgm?
What is the difference between PIC 9.99 and 9v99 in COBOL?
Write some characteristics of cobol as means of business language.
how to refer the data field?
how do you define single dimensional array and multidimensional array in your cobol?
Write a program to enter and display the names of students in a class using the occurs clause.