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
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What rules are followed by the search verb.
Write some characteristics of cobol as means of business language.
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Mention the guidelines to write a structured cobol program?
How do you differentiate between cobol and cobol-ii?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
how can i see junk values in dclgen or in hostvariable of comp ?
How do you reference the fixed block file formats from cobol programs
What is amode(31)
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
In COBOL programming, what is PERFORM? What is VARYING?
Define static linking and dynamic linking.