How to declare if emp-name = AAAAA""BBB in working-storage
section. After display emp-name should print like AAAAA""BB

Answer Posted / arun

IDENTIFICATION DIVISION.
PROGRAM-ID. M3TUD.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 WS-VARS PIC X(10) VALUE 'AAAAA""BBB'.
PROCEDURE DIVISION.
0000-MAIN.
DISPLAY WS-VARS
.
SYSOUT
AAAAA""BBB

Is This Answer Correct ?    5 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to enter and display the names of students in a class using the occurs clause.

652


Can you please let me know the centre name of INS certification in Kolkata.

1715


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8654


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

421


Define cobol?

862






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?

6829


What is the default value(s) for an initialize and what keyword allows for an override of the default?

697


What is difference between static and dynamic call in cobol?

777


Whats the difference between search & search ALL?

5264


what is the difference between COBOL2 AND COBOL390?

2453


Have you used comp and comp-3 in your project? And how?

2008


What is the difference between PIC 9.99 and PIC9v99?

781


What is amode(24)?

684


what is amode(24), amode(31), rmode(24) and rmode(any)?

699


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1651