Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1117


How do define dynamic array in cobol.

1145


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1177


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1126


Which mode is used to operate the sequential file?

1210


Explain about different table spaces.

1114


Define cobol?

1413


IF I mention stop run in CICS what happens?

2382


What are different data types in cobol?

1327


What guidelines should be followed to write a structured cobol prgm?

1155


What is the difference between PIC 9.99 and 9v99 in COBOL?

1337


Write some characteristics of cobol as means of business language.

1147


how to refer the data field?

2284


how do you define single dimensional array and multidimensional array in your cobol?

1112


Write a program to enter and display the names of students in a class using the occurs clause.

1215