How to declare if emp-name = AAAAA""BBB in working-storage
section. After display emp-name should print like AAAAA""BB
Answer Posted / premil
IDENTIFICATION DIVISION.
PROGRAM-ID. M3TUD.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 WS-VARS PIC X(10) VALUE 'AAAAA""BBB'.
01 WS-VAR1 PIC X(9).
PROCEDURE DIVISION.
0000-MAIN.
MOVE WS-VARS TO WS-VAR1.
DISPLAY WS-VAR1.
stop run.
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
Explain how you can characterize tables in cobol?
What are the cobol coding sheets?
how to refer the data field?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
i want a program using by if, evaluate , string, unstring, perform, occurs?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is length is cobol?
What is Pic 9v99 Indicates in COBOL?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is the difference between perform … with test after and perform … with test before?
When is inspect verb is used in cobol?
how do you reference the ksds vsam file formats from cobol programs
) How do u handle errors in BMS macro
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?