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
What is the utilization of copybook in cobol?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
how to access the file from prodution from changeman tool and to submit a file to production
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What rules are to be followed while using the corresponding options?
How to know whether the module is dynamical or statistical?
Discuss about changing dataset name in proc.
Define cobol?
What are the different open modes available in cobol?
What are the cobol coding sheets?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Write a program to enter and display the names of students in a class using the occurs clause.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?