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

How does jcl specify the job to the operating system?

1312


Which dd parameters are required?

1244


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2814


What are s0c1, s0c4, s0c5, s0c7 and socb?

1219


Is their any limit for data sets?

1244


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

1278


What does a disposition of (new,catlg,keep) for a dsn mean?

1198


How can an in-stream dataset be terminated?

1396


Which statement is used to identify the private libraries in job?

1248


In job processing, what happens in conversion stage?

1241


what is the use of IEBGENER utility?

1227


Explain the function of a dd statement?

1277


how JCL works?

1326


can any one plzzzzzz tell the jcl code for creating ps using idcams

11765


What is the purpose of the dd keylen parameter?

1283