01 a pic 9(6) value is 123456
01 b pic 9(3)
move a to b

wht will be the value ?

Answer Posted / itha

a will be 123456
b will be 456

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cobol?

750


How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

744


Can we change the password using ALTER? anyone tried and changed?

1552


what is the use of outrecord?

1774


What is an in line perform? When would you use it? Anything else you wish to say about it.

649






What kind of error is trapped by on size error option?

746


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

934


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

635


What is the difference between PIC 9.99 and 9v99 in COBOL?

737


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

859


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1950


What is the Purpose of POINTER Phrase in STRING command in COBOL?

723


How do you get the data to code the BMS macro?

1476


Mention the guidelines to write a structured cobol program?

622


What are the cobol coding sheets?

666