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

How you can read the file from bottom?

749


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1885


What are various search techniques in cobol? Explain.

749


When is inspect verb is used in cobol?

791


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

1617






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

730


Write some characteristics of cobol as means of business language.

708


Explain what you understand by passing by value.

806


Can we redefine the field of x(200) to less than 200?

955


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

831


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

847


What is the difference between PIC 9.99 and PIC9v99?

904


explain sorting techniques in cobol program?

785


What is the difference between comp and comp-3?

796


How you can characterize tables in cobol?

817