How to declare if emp-name = AAAAA""BBB in working-storage
section. After display emp-name should print like AAAAA""BB
Answer Posted / jaanu
IDENTIFICATION DIVISION.
PROGRAM-ID. M3TUD.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 WS-VARS PIC X(9) VALUE 'AAAAA""BBB'.
PROCEDURE DIVISION.
0000-MAIN.
DISPLAY WS-VARS.
stop run.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
How to remove 2 duplicate records and copy only one using job control language?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
how do you define single dimensional array and multidimensional array in your cobol?
What is the local-storage section?
Why did you choose to work with ibm mainframe cobol programming?
What the difference is between continue and next sentence?
What is perform what is varying?
How do we get current date from system with century in COBOL?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What is the use of intialize verb?
What are literals?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Write a program to explain size error.
What are the different types of condition in cobol and write their forms.