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
Describe the cobol database components?
What is the usage of comp fields in cobol?
What are 77 levels used for?
What is perform what is varying?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What is static and dynamic call in cobol?
What is a SSRANGE and NOSSRANGE?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What are different data types in cobol?
Name the sections present in data division.
IF I mention stop run in CICS what happens?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
) How do u handle errors in BMS macro
How many bytes S(8) comp field occupy and its maximum value?
What is cobol?