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
How many bytes S(8) comp field occupy and its maximum value?
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.
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
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 we sort two input files based on a common column and giving one o/p file please send me the coding logic?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
how do you reference the printer file formats from cobol programs
How do you differentiate between cobol and cobol-ii?
IF I mention stop run in CICS what happens?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
) how do u code after getting data?
What are the pertinent COBOL commands?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
explain sorting techniques in cobol program?