How to declare if emp-name = AAAAA""BBB in working-storage
section. After display emp-name should print like AAAAA""BB
Answer Posted / premil
IDENTIFICATION DIVISION.
PROGRAM-ID. M3TUD.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 WS-VARS PIC X(10) VALUE 'AAAAA""BBB'.
01 WS-VAR1 PIC X(9).
PROCEDURE DIVISION.
0000-MAIN.
MOVE WS-VARS TO WS-VAR1.
DISPLAY WS-VAR1.
stop run.
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
What is rmode(24)
Define static linking and dynamic linking.
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
IF I mention stop run in CICS what happens?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
When is inspect verb is used in cobol?
What is rmode(any) ?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Mention the guidelines to write a structured cobol program?
What are the different rules to perform a Search?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Define cobol?
What is link edit in cobol?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?