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
Write a program to enter and display the names of students in a class using the occurs clause.
Can you please let me know the centre name of INS certification in Kolkata.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
Define cobol?
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?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is difference between static and dynamic call in cobol?
Whats the difference between search & search ALL?
what is the difference between COBOL2 AND COBOL390?
Have you used comp and comp-3 in your project? And how?
What is the difference between PIC 9.99 and PIC9v99?
What is amode(24)?
what is amode(24), amode(31), rmode(24) and rmode(any)?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?