How to declare if emp-name = AAAAA""BBB in working-storage
section. After display emp-name should print like AAAAA""BB
Answer Posted / sukhwinder singh
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(1:9).
stop run.
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
how do you reference the ksds vsam file formats from cobol programs
What is the problem of ordered sequential files access?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
) what is the difference between AID and HANDLE AID?
Explain the configuration section of a cobol program with examples of syntax.
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
what is the difference between COBOL2 AND COBOL390?
What is an in line perform? When would you use it? Anything else you wish to say about it.
i want a program using by if, evaluate , string, unstring, perform, occurs?
What are various search techniques in cobol? Explain.
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
How do you differentiate between cobol and cobol-ii?
What are 77 levels used for?