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 x(4) value 'abcd'
01 b pic 9(3)
can we move from a to b.if possible what would be stored in
b.

Answers were Sorted based on User's Feedback



01 a pic x(4) value 'abcd' 01 b pic 9(3) can we move from a to b.if possible what would..

Answer / chuvabe

no. cannot. because b is numeric. alpanumeric cannot move
to numeric field.

Is This Answer Correct ?    3 Yes 4 No

01 a pic x(4) value 'abcd' 01 b pic 9(3) can we move from a to b.if possible what would..

Answer / shibin shah

alpha numeric value cant be stored in integer data type ....
so b will b contain junk valueeee...

Is This Answer Correct ?    0 Yes 1 No

01 a pic x(4) value 'abcd' 01 b pic 9(3) can we move from a to b.if possible what would..

Answer / shiva

no we cannot move alphabet in to a numeric field....

Is This Answer Correct ?    0 Yes 1 No

01 a pic x(4) value 'abcd' 01 b pic 9(3) can we move from a to b.if possible what would..

Answer / sadaf rehan

abc will moved to a and 'd' will get teminating

Is This Answer Correct ?    1 Yes 5 No

01 a pic x(4) value 'abcd' 01 b pic 9(3) can we move from a to b.if possible what would..

Answer / manish shelke

YES, we can move . But the a will contained only ABC and D
will get truncated

Is This Answer Correct ?    5 Yes 12 No

Post New Answer

More COBOL Interview Questions

I want to declare a field with data type Double in my COBOL program. how shall i do that ?

5 Answers  


How can you add a particular field/coloumn in copybook?

3 Answers   ADP, DELL, L&T,


What will happen if you code GO BACK instead of STOP RUN in a stand-alone COBOL program i.e. a program which is not calling any other program ?

3 Answers  


what is call by value and call by reference ?

3 Answers   Infosys, ITC Indian Tobacco Company,


A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.

1 Answers  


how do you reference the rrds file formats from cobol programs

0 Answers  


What are the pertinent COBOL commands?

0 Answers   Satyam,


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

0 Answers  


how can u redefine picx(10) with pic 9(6).

3 Answers   TCS,


how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas

3 Answers   IBM,


hw to create 3 dimensional array & hw to access it?

1 Answers  


01 A pic 9(100) find record length of it

6 Answers   TCS,


Categories