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
Can we redefine the field of x(200) to less than 200?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
what is the difference between COBOL2 AND COBOL390?
explain sorting techniques in cobol program?
Give some examples of command terminators?
) how do u code after getting data?
What are the different open modes available in cobol?
what happens if parmparameter passes zero bytes to the program
What is the difference between PIC 9.99 and 9v99 in COBOL?
What rules are followed by the search verb.
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.
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.
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
How you can characterize tables in cobol?