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

I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

12188


Explain the configuration section of a cobol program with examples of syntax.

1125


Write the code to count the sum of n natural numbers.

1145


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

2415


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2408


Explain how you can characterize tables in cobol?

1010


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1470


What are different data types in cobol?

1231


What is the problem of ordered sequential files access?

1111


Write a cobol program making use of the redefine clause.

1123


What are the pertinent COBOL commands?

3106


how do you reference the variable block file formats from cobol programs

1185


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1177


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1291


what happens if parmparameter passes zero bytes to the program

2083