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

COBOL program to read the string ' BOMBAY' in reverse order as 'YABMOB'

Answer Posted / nanda

********************** Top of Data ***********
ID DIVISION.
PROGRAM-ID. ALLINONE.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 WS-A PIC X(7) VALUE 'NANDA'.
01 WS-B PIC X(7).
PROCEDURE DIVISION.
MOVE FUNCTION REVERSE(WS-A) TO WS-B.
DISPLAY WS-B.
STOP RUN.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In COBOL, what is the different between index and subscript?

1205


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1079


What is a scope terminator give example?

1072


What do you understand by psb and acb?

1080


What is the problem of ordered sequential files access?

1132


How are the next sentence and continue different from each other?

1246


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

1126


How to remove 2 duplicate records and copy only one using job control language?

1183


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

2079


how to refer the data field?

2229


When is inspect verb is used in cobol?

1200


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2563


What are declaratives and what are their uses in cobol?

1157


What rules are to be followed while using the corresponding options?

1030


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

1245