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
Explain about different table spaces.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
How do we get current date from system with century in COBOL?
How you can characterize tables in cobol?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
How do you define a variable of comp-1 and comp-2?
What are 77 levels used for?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
Write down the divisions of cobol program?
What are the pertinent COBOL
Name the sections present in data division.
Which Search verb is equivalent to PERFORM…VARYING?
Write the code implementing the perform … varying.