How to declare if emp-name = AAAAA""BBB in working-storage
section. After display emp-name should print like AAAAA""BB
Answer Posted / srivatsa
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 ? | 1 Yes | 0 No |
Post New Answer View All Answers
Give some examples of command terminators?
What are the pertinent COBOL
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Which Search verb is equivalent to PERFORM…VARYING?
how do you reference the esds vsam file formats from cobol programs
In COBOL programming, what is PERFORM? What is VARYING?
What are literals?
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 Global and External Variables?
how do you reference the rrds file formats from cobol programs
What type of SDLC u followed? Why?
What is the utilization of copybook in cobol?
What is a report item?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How do you reference the following file formats from cobol programs?