A s9(4).
B v9(4) value 0.21 can i move this?
Answers were Sorted based on User's Feedback
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 |
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 |
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?
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
How to recover a deleted source physical file from library?
what happens if we wont give timestamp in precompilation process ?
How many sections are there in data division in COBOL?
What is the use of intialize verb?
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
What is the difference between binary search and sequential search?
if a file has 1000 recods how copy the records from 1 to 100 records using sort
what happens when a copybook variables are declared using include statement ?
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?
how can we code index in an array of cobol pgm?