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

Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

2201


Describe the cobol database components?

1219


What are all the divisions of a COBOL program?

1270


What are different data types in cobol?

1387


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17930


What are declaratives and what are their uses in cobol?

1261


What rules are to be followed while using the corresponding options?

1125


Write some characteristics of cobol as means of business language.

1196


What is perform what is varying?

1222


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

1309


) How do u handle errors in BMS macro

2105


What is cobol?

1289


Why would you use find and get rather than to obtain?

1262


what is the difference between COBOL2 AND COBOL390?

3113


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2428