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
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.
Difference between cobol and cobol-ii?
What are different data types in cobol?
Define cobol?
What guidelines should be followed to write a structured cobol prgm?
how do you reference the ksds vsam file formats from cobol programs
Write down the divisions of cobol program?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Define static linking and dynamic linking.
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
How do you reference the following file formats from cobol programs?
What are the different open modes available in cobol?
how do you reference the printer file formats from cobol programs