How to declare if emp-name = AAAAA""BBB in working-storage
section. After display emp-name should print like AAAAA""BB
Answer Posted / srivatsa
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 ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can we change the password using ALTER? anyone tried and changed?
How to remove 2 duplicate records and copy only one using job control language?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
How do define dynamic array in cobol.
What are the rules of the move verb?
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.
How to know whether the module is dynamical or statistical?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is perform what is varying?
HOw can I get the negative sign while deduct high value from low value
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What are literals?
how do you reference the ksds vsam file formats from cobol programs
How do we get current date from system with century in COBOL?