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

Which is not true about evaluate statement

2411


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1308


Which Search verb is equivalent to PERFORM…VARYING?

1010


What are the different types of condition in cobol and write their forms.

1081


Whats the difference between search & search ALL?

6431


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

1205


how do you reference the rrds file formats from cobol programs

1527


What is the Purpose of Pointer in the string?

1042


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

1283


What are the different open modes available in cobol?

1167


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1216


Difference between array and sub-script ?

1624


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

1168


What are various search techniques in cobol? Explain.

1039


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

12235