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

how we can reverse the string in the cobol for example
satheesh can be reveresed as hseehtas

Answer Posted / g venkatesh

data division.
01 ws-input pic x(8).
01 ws-output pic x(8).
01 i pic 9.
01 j pic 9.
procedure division.
move 1 to i.
perform varying j from 8 by -1 until j =0
move ws-input(i:1) to ws-output(j:1)
add 1 to i
end-perform
display ws-output.
stop run.

Is This Answer Correct ?    51 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

) How do u handle errors in BMS macro

1958


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

1042


What guidelines should be followed to write a structured cobol prgm?

1089


What are various search techniques in cobol? Explain.

1026


what is difference between cobol and cobol/400

22734


How you can read the file from bottom?

1084


example for sub strings ? and refernce modifications whit output pls

2266


What are the different rules of SORT operation?

1083


how do you reference the variable block file formats from cobol programs

1183


how can i see junk values in dclgen or in hostvariable of comp ?

2933


Mention the guidelines to write a structured cobol program?

1028


When is inspect verb is used in cobol?

1180


In which area will you utilize 88 level items in cobol?

1098


What is perform what is varying?

1111


What are the pertinent COBOL commands?

3105