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
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Which mode is used to operate the sequential file?
What is the difference between comp and comp-3 usage?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What are the access modes of START statement?
In which area will you utilize 88 level items in cobol?
What is Pic 9v99 Indicates in COBOL?
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.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
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 difference between cobol and cobol/400
What is the problem of ordered sequential files access?
what are decleratives in cobol?
What rules are to be followed while using the corresponding options?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?