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

I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

1998


Difference between cobol and cobol-ii?

702


What are different data types in cobol?

680


Define cobol?

855


What guidelines should be followed to write a structured cobol prgm?

663






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

649


Write down the divisions of cobol program?

663


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

812


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

8610


Define static linking and dynamic linking.

658


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

696


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8147


How do you reference the following file formats from cobol programs?

691


What are the different open modes available in cobol?

713


how do you reference the printer file formats from cobol programs

648