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


Please Help Members By Posting Answers For Below Questions

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

822


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1657


what is the difference between COBOL2 AND COBOL390?

2455


explain sorting techniques in cobol program?

692


Give some examples of command terminators?

761






) how do u code after getting data?

1582


What are the different open modes available in cobol?

722


what happens if parmparameter passes zero bytes to the program

1669


What is the difference between PIC 9.99 and 9v99 in COBOL?

737


What rules are followed by the search verb.

638


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1785


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3724


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

1054


How you can characterize tables in cobol?

723