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

01 a pic 9(3) value is 123
01 b pic 9(6)
move a to b

wht will be the value ? and

01 a pic x(6) value is abc
01 b pic x(3)
move a to b

wht will be the value ?

Answer Posted / chowdary

after executing this program output will be

b value is 000123
and
b value is abc
there is no blanks after abc in b, because we have taken
its length as 3 in pic clause.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Have you used comp and comp-3 in your project? And how?

2523


Write down the divisions of cobol program?

1337


i need a small 3d program using inline and outline.

2262


IF I mention stop run in CICS what happens?

2429


How do you get the data to code the BMS macro?

2016


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1280


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

1274


What is the LINKAGE SECTION used in COBOL?

1603


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1307


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1132


How can you get the ksds file records into your cobol program?

1138


What are the different types of condition in cobol and write their forms.

1154


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1302


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

1214


I have a File that has duplicate records. I need only those records that occur more than thrice.?

10013