How to declare if emp-name = AAAAA""BBB in working-storage
section. After display emp-name should print like AAAAA""BB
Answer Posted / reena
IDENTIFICATION DIVISION.
PROGRAM-ID.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 VAR1 PIC X(10) VALUE 'AAAAA""BBB'.
01 VAR2 REDEFINES VAR1 PIC X(9).
PROCEDURE DIVISION.
0000-MAIN.
DISPLAY VAR2.
STOP RUN.
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
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 utilization of copybook in cobol?
Name the divisions, which are available in a cobol program?
what is the use of outrecord?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
How to print 10 to 1 if the input have only 10 digit number?
how to access the file from prodution from changeman tool and to submit a file to production
What is a report item?
Which is not true about evaluate statement
What is the difference between Call and a Link?
Write the code implementing the perform … varying.
What are the cobol coding sheets?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?