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
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What is a report item?
Define cobol?
What is link edit in cobol?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What are the different types of condition in cobol and write their forms.
how do you reference the variable unblock file formats from cobol programs
What is amode(31)
What type of SDLC u followed? Why?
What is cobol?
Give some examples of command terminators?
How do we get current date from system with century in COBOL?
What is the difference between Call and a Link?
) How do u handle errors in BMS macro