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 a sequential file in which there are 50 records. Now
I want to copy all the 50 records in the reverse order into
a new file? The last record in the original file should be
the first record in the new file. How can I do it?

Answer Posted / sanju

use sort card:
//SYSIN DD *
COPYBACK OUT=50
/*

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the purpose of coding class parameter in job statement?

1202


Can an individual step be restricted from using all the jobs allowed cpu time?

1499


what is the use of JCL?

1109


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

2180


How dummy is used in jcl?

1078


how can the same proc be re-used and called by many jobs?

1433


In sms datasets, what is the function of the dd mgmtclas keyword?

1340


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

2383


Explain about ISPF/TSO Commands

1866


How do you create a temporary dataset?

1115


what are JCLLIB and STEPLIB in JCL?

1108


What are the parameters that are used in creating a gdg?

1149


For what purpose steplib and joblib are used ?

1075


Explain the function of //jcllib statement?

1154


Name the parameters which can be used to limit the number of records written to a sysout dataset?

1100