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

01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING".
01 NAME2 PIC X(13).
now I want to display the value of NAME1 in reverse order
i.e value should be displayed as "GNIMMARGORP LOBOC"
HOW can I do that ??? please let me know if any one knows
it.

Answer Posted / mr2981

to reverse the string use REVERSE function

01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING".
01 NAME2 PIC X(13).

MOVE FUNCTION REVERSE(NAME1) TO NAME2.

Is This Answer Correct ?    34 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between comp and comp-3?

1185


How do u write test cases?

2068


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1120


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1212


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1238


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2472


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

1165


How many bytes S(8) comp field occupy and its maximum value?

2142


Write down the divisions of cobol program?

1258


Why occurs cannot be used in 01 level in COBOL?

1160


How you can read the file from bottom?

1158


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

1115


What is the compute verb? How is it used?

1148


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

1262


What is redefines clause in COBOL?

1294