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

Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

1102


Which mode is used to operate the sequential file?

1210


what is difference between cobol and cobol/400

22933


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

1256


what is search and searchall?what is the diffrence between them?give an best example?

6842


Write a program that uses move corresponding.

1154


What are the different types of condition in cobol and write their forms.

1118


Give some examples of command terminators?

1268


Discuss about changing dataset name in proc.

1243


How can you get the ksds file records into your cobol program?

1100


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1157


What type of SDLC u followed? Why?

2002


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4175


Explain about different table spaces.

1114


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

2403