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


Please Help Members By Posting Answers For Below Questions

)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1516


How to remove 2 duplicate records and copy only one using job control language?

731


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.

923


how do you define single dimensional array and multidimensional array in your cobol?

665


What is the local-storage section?

673






Why did you choose to work with ibm mainframe cobol programming?

625


What the difference is between continue and next sentence?

651


What is perform what is varying?

696


How do we get current date from system with century in COBOL?

792


What is the difference between structured cobol programming and object alternativelyiented cobol?

746


What is the use of intialize verb?

738


What are literals?

622


what is amode(24), amode(31), rmode(24) and rmode(any)?

688


Write a program to explain size error.

667


What are the different types of condition in cobol and write their forms.

650