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 have two files , file1 is input file it contains
10,20,30,....,records
but i want to display the records in file 2 as reverse order
.how can we do by using jcl& cobol(dont use array)
please any one can tell me the answer

Answer Posted / vaneesh

We can sort the input file in descending order usign DFSORT

sort fields=(1,3,CH,D)

then simply read the sorted file in the program and display
it in the spool.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1225


What are the different open modes available in cobol?

1187


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1533


Define static linking and dynamic linking.

1185


What are the rules of the move verb?

1263


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1077


) How do u handle errors in BMS macro?

1960


What is report-item in COBOL?

1151


what is difference between cobol and cobol/400

22914


What is the difference between comp and comp-3?

1183


Differentiate between structured cobol programming and object-oriented cobol programming.

1144


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2100


What the difference is between continue and next sentence?

1156


How do you define a variable of comp-1 and comp-2?

1199


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1207