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
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
Can a Search can be done on a table with or without Index?
Can we redefine the field of x(200) to less than 200?
How do you define a variable of comp-1 and comp-2?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is length is cobol?
what is amode(24), amode(31), rmode(24) and rmode(any)?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
how do you reference the fixed unblock file formats from cobol programs
) how do u code after getting data?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is the compute verb? How is it used?
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
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?