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 / rajul

just define
01 name2 picX(13) right justified.

and then use move stmt
move name1 to name2.

Is This Answer Correct ?    2 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5819


Explain how you can characterize tables in cobol?

1070


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1256


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3242


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

2482


When is inspect verb is used in cobol?

1267


Difference between array and sub-script ?

1672


How do we get current date from system with century in COBOL?

1392


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2291


) what is the difference between AID and HANDLE AID?

2169


What are the cobol coding sheets?

1289


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3272


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

1270


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2121


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

2388