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

WORKING-STORAGE SECTION.
01 A PIC X(3) VALUE 'ABC'
01 B PIC 9(3).
PROCEDURE DIVISION.
MOVE A TO B.
STOP RUN.

OUTPUT IS: AB3
WHY AND HOW THIS IS HAPPENING.

Answer Posted / kamaldeep

I got AB3 as out put, when ever we are moving X(3) to 9(3) then 1st 2 bytes will be moved right(i.e. AB) but last byte will have '3' as C=+3

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different data types in cobol?

1335


Can you please let me know the centre name of INS certification in Kolkata.

2181


What is link edit in cobol?

1153


What is perform what is varying?

1112


What is the difference between Call and a Link?

1123


Write some characteristics of cobol as means of business language.

1081


In COBOL, what is the different between index and subscript?

1188


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1232


HOw can I get the negative sign while deduct high value from low value

2213


What is rmode(any) ?

1184


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

2337


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2015


What are the different rules for performing sort operation?

1156


State the various causes of s0c1, s0c5 and s0c7.

1027


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

1260