How to declare if emp-name = AAAAA""BBB in working-storage
section. After display emp-name should print like AAAAA""BB
Answer Posted / jaanu
IDENTIFICATION DIVISION.
PROGRAM-ID. M3TUD.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 WS-VARS PIC X(9) VALUE 'AAAAA""BBB'.
PROCEDURE DIVISION.
0000-MAIN.
DISPLAY WS-VARS.
stop run.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
how to refer the data field?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
explain sorting techniques in cobol program?
What are the different rules for performing sort operation?
what is difference between cobol and cobol/400
What is an in line perform? When would you use it? Anything else you wish to say about it.
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
Can a Search can be done on a table with or without Index?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
what is search and searchall?what is the diffrence between them?give an best example?
What is the Purpose of Pointer in the string?
IF I mention stop run in CICS what happens?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?