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 / reena

IDENTIFICATION DIVISION.
PROGRAM-ID.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 VAR1 PIC X(10) VALUE 'AAAAA""BBB'.
01 VAR2 REDEFINES VAR1 PIC X(9).

PROCEDURE DIVISION.
0000-MAIN.
DISPLAY VAR2.
STOP RUN.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do we get current date from system with century in COBOL?

1381


What is the difference between goback, stop run and exit program in cobol?

1591


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1117


How to print 10 to 1 if the input have only 10 digit number?

1262


What is length is cobol?

1099


Write down the divisions of cobol program?

1258


example for sub strings ? and refernce modifications whit output pls

2317


how do you reference the rrds file formats from cobol programs

1578


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3234


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

1407


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5748


Why occurs cannot be used in 01 level in COBOL?

1160


What rules are followed by the search verb.

1118


What is rmode(any) ?

1267


What guidelines should be followed to write a structured cobol prgm?

1148