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

How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

1080


What are the different rules of SORT operation?

1083


) how do u code after getting data?

2074


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2324


What is the difference between binary search and sequential search?

1043


What is the LINKAGE SECTION used in COBOL?

1469


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1199


What is a report item?

1093


how to refer the data field?

2209


What is the utilization of copybook in cobol?

1114


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1108


how do you reference the ksds vsam file formats from cobol programs

1124


How many sections are there in data division in COBOL?

1078


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2014


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2387