How to declare if emp-name = AAAAA""BBB in working-storage
section. After display emp-name should print like AAAAA""BB
Answer Posted / sukhwinder singh
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 ? | 11 Yes | 0 No |
Post New Answer View All Answers
What is the difference between goback, stop run and exit program in cobol?
i need a small 3d program using inline and outline.
Name some of the examples of COBOl 11?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What do you understand by psb and acb?
how do you reference the rrds file formats from cobol programs
How do u write test cases?
Which division and paragraphs are mandatory for a COBOL program?
Why occurs cannot be used in 01 level in COBOL?
How can you get the ksds file records into your cobol program?
What are all the divisions of a COBOL program?
Write a program to explain size error.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Why would you use find and get rather than to obtain?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.