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...

wirte a pgm in using files in which we hav 10 ,20,30 40...100
records in inputfile and i want them to be send to outputfile
in reverse order.
PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..

Answer Posted / siris

//SYSIN DD *
SORT FIELDS = COPY
OUTREC=(10,100,SEQNUM,4,ZD)
/*
0R
//SYSIN DD *
SORT FIELDS=(100,4,ZD,DESC)
OUT REC=(10,100)
/*

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between Call and a Link?

1262


What is the use of intialize verb?

1298


) how do u code after getting data?

2210


What is a SSRANGE and NOSSRANGE?

1530


How you can read the file from bottom?

1195


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

1300


What is the difference between PIC 9.99 and PIC9v99?

1402


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1279


i need a small 3d program using inline and outline.

2262


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1272


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

1125


) How do u handle errors in BMS macro

2105


Write a program to explain size error.

1240


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2539


How to print 10 to 1 if the input have only 10 digit number?

1304