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
What is the difference between external and global variables in COBOL?
What is the LINKAGE SECTION used in COBOL?
How you can characterize tables in cobol?
Difference between cobol and cobol-ii?
Differentiate between structured cobol programming and object-oriented cobol programming.
Name some of the examples of COBOl 11?
How do you differentiate between cobol and cobol-ii?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Give some examples of command terminators?
What is amode(24)?
What is the usage of comp fields in cobol?
Can you please let me know the centre name of INS certification in Kolkata.
What is cobol?
What is inspect in cobol ?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?