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

wht will be the value ? and

01 a pic x(6) value is abc
01 b pic x(3)
move a to b

wht will be the value ?

Answer Posted / ravi

Answer to first question is -000123
and answer to second question is -abc

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between cobol and cobol-ii?

715


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

1933


What is the difference between goback, stop run and exit program in cobol?

932


What rules are to be followed while using the corresponding options?

643


what is amode(24), amode(31), rmode(24) and rmode(any)?

705






In which area will you utilize 88 level items in cobol?

724


Difference between array and sub-script ?

1169


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

427


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1000


What is a report item?

741


Explain how you can characterize tables in cobol?

644


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1775


What is perform what is varying?

711


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


What are various search techniques in cobol? Explain.

650