How to declare if emp-name = AAAAA""BBB in working-storage
section. After display emp-name should print like AAAAA""BB

Answer Posted / arun

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
.
SYSOUT
AAAAA""BBB

Is This Answer Correct ?    5 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

) how do u code after getting data?

1584


How do you get the data to code the BMS macro?

1478


Can we change the password using ALTER? anyone tried and changed?

1552


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

720


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

748






What rules are followed by the search verb.

639


What kind of error is trapped by on size error option?

746


how do you reference the variable block file formats from cobol programs

690


) How do u handle errors in BMS macro

1512


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

635


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

1962


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8670


how do you reference the esds vsam file formats from cobol programs

636


i need a small 3d program using inline and outline.

1642


What is redefines clause in COBOL?

851