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...

I HAVE FOLLOWING DECLARATION.
02. A PIC X(10) VALUE 'XXXXXXXXXX'.
02. B REDEFINES A.
05. C PIC X(3).
05. D PIC X(3).
05. E PIC 9(3).
IN MY PROG, I HAVE
MOVE 1 TO E.
DISPLAY A.
WHAT WILL BE DISPLAYED AS A RESULT OF THIS?
PLEASE EXPLAIN THE ANSWER. THANKS.

Answer Posted / paray2x

1. you will get data exception as you cannot move 'XXX' to
a 9(3) field.

2. Since you have not initialised C,D it will be '......001'

Is This Answer Correct ?    7 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is inspect in cobol ?

1354


Which Search verb is equivalent to PERFORM…VARYING?

1104


What is perform what is varying?

1221


Differentiate between structured cobol programming and object-oriented cobol programming.

1212


What are declaratives and what are their uses in cobol?

1256


how do you reference the esds vsam file formats from cobol programs

1267


i want a program using by if, evaluate , string, unstring, perform, occurs?

4800


how do you reference the fixed unblock file formats from cobol programs

1305


What do you understand by psb and acb?

1178


Explain how you can characterize tables in cobol?

1113


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

1304


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

2641


what is difference between cobol and cobol/400

23077


What are 77 levels used for?

1148


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2475