How to declare if emp-name = AAAAA""BBB in working-storage
section. After display emp-name should print like AAAAA""BB
Answer Posted / reena
IDENTIFICATION DIVISION.
PROGRAM-ID.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 VAR1 PIC X(10) VALUE 'AAAAA""BBB'.
01 VAR2 REDEFINES VAR1 PIC X(9).
PROCEDURE DIVISION.
0000-MAIN.
DISPLAY VAR2.
STOP RUN.
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What is difference between static and dynamic call in cobol?
What is rmode(any) ?
Write a program to enter and display the names of students in a class using the occurs clause.
) what is the difference between AID and HANDLE AID?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is the Purpose of Pointer in the string?
What are the pertinent COBOL
What is the use of intialize verb?
What are the different rules for performing sort operation?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What are the various section in data division and briefly explain them.
What are the different data types in cobol?
What is inspect in cobol ?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.