How to declare if emp-name = AAAAA""BBB in working-storage
section. After display emp-name should print like AAAAA""BB
Answer Posted / premil
IDENTIFICATION DIVISION.
PROGRAM-ID. M3TUD.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 WS-VARS PIC X(10) VALUE 'AAAAA""BBB'.
01 WS-VAR1 PIC X(9).
PROCEDURE DIVISION.
0000-MAIN.
MOVE WS-VARS TO WS-VAR1.
DISPLAY WS-VAR1.
stop run.
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
Can we redefine the field of x(200) to less than 200?
Write a cobol program making use of the redefine clause.
Can you please let me know the centre name of INS certification in Kolkata.
Explain how to differentiate call by context by comparing it to other calls?
How do get the result of your program directly on your pc?
Why would you use find and get rather than to obtain?
Whats the difference between search & search ALL?
how to refer the data field?
What is the difference between next sentence and continue in cobol programing language?
what happens if parmparameter passes zero bytes to the program
how to convert the recors form vsam file to db2 table tru file aid
What the difference is between continue and next sentence?
what is the difference between COBOL2 AND COBOL390?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Mention the guidelines to write a structured cobol program?