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

What is inspect in cobol ?

1243


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

2416


How do you get the data to code the BMS macro?

1922


Can we redefine the field of x(200) to less than 200?

1308


How do you reference the fixed block file formats from cobol programs

1158


What are the different open modes available in cobol?

1146


What is the difference between next sentence and continue in cobol programing language?

1163


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2534


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5318


What is the usage of comp fields in cobol?

1132


what happens if parmparameter passes zero bytes to the program

2084


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

1146


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

1125


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

1177


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1198