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


Please Help Members By Posting Answers For Below Questions

What is the difference between external and global variables in COBOL?

813


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

717


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2118


What are 77 levels used for?

659


What is amode(24)?

684






What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

780


What are the various section in data division and briefly explain them.

699


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

945


In which area will you utilize 88 level items in cobol?

722


How you can characterize tables in cobol?

718


) how do u code after getting data?

1580


What do you understand by psb and acb?

666


What is the usage of comp fields in cobol?

660


What are the different rules to perform a Search?

619


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?

2098