Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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

1181


What is the Purpose of Pointer in the string?

1081


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1250


explain sorting techniques in cobol program?

1201


How do u write test cases?

2067


What is redefines clause in COBOL?

1293


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1326


How do you reference the fixed block file formats from cobol programs

1227


What are the pertinent COBOL commands?

3175


What is the LINKAGE SECTION used in COBOL?

1529


What are literals?

1133


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2471


For rewrite, why is it mandatory that file needs to be opened?

1109


What is comp-1 and comp-2?

1230


A table has two indexes defined. Which one will be used by the SEARCH?

1283