A s9(4).
B v9(4) value 0.21 can i move this?

Answers were Sorted based on User's Feedback



A s9(4). B v9(4) value 0.21 can i move this?..

Answer / anand

yes you can but decimal value is omitted and only 0 is moved
to A since there is no decimal declaration part in A.

Is This Answer Correct ?    4 Yes 0 No

A s9(4). B v9(4) value 0.21 can i move this?..

Answer / raghu

what about B, anand,can v pass value to B

Is This Answer Correct ?    0 Yes 0 No

A s9(4). B v9(4) value 0.21 can i move this?..

Answer / anand

There is no use of passing values to B. Since It doesnt have the decimal part.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

I have the file which is having the extension no as records. sample file will look like below. 2310 3410 3256 4350 3781 5408 I need to replace the record which is starting with 3 to 5 (i.e) 3410 to 5410. How can we do it through cobol and cobol-db2 program? I need the possible logic?

5 Answers   RBS,


consider the following piece of code 01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable

10 Answers   TCS,


How to recover a deleted source physical file from library?

1 Answers   HCL,


what happens if we wont give timestamp in precompilation process ?

4 Answers   Covansys,


How many sections are there in data division in COBOL?

0 Answers   B-Ways TecnoSoft,






What is the use of intialize verb?

0 Answers  


how will u retreive value from a table.write it with syntex. 01 ws-table 05 ws-table1 occurs 10 times. 05 ws-table2 occurs 10 times. the above is 2 dimensional array..how will u retrieve 1st element of an array

3 Answers   ADP,


What is the difference between binary search and sequential search?

0 Answers  


if a file has 1000 recods how copy the records from 1 to 100 records using sort

4 Answers   IBM,


what happens when a copybook variables are declared using include statement ?

3 Answers   IBM,


I try to use some column names in my cobol progorm but these column not in db2 table ..when do i get error ..while bind time or runtime?

2 Answers  


how can we code index in an array of cobol pgm?

1 Answers   Wipro,


Categories