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
What are literals?
What are the different rules to perform a Search?
Which division and paragraphs are mandatory for a COBOL program?
What are the different types of condition in cobol and write their forms.
What is the difference between structured cobol programming and object alternativelyiented cobol?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
what is difference between cobol and cobol/400
What kind of error is trapped by on size error option?
Differentiate between structured cobol programming and object-oriented cobol programming.
What is the Purpose of POINTER Phrase in STRING command in COBOL?
how do you reference the rrds file formats from cobol programs
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
How do we get current date from system with century in COBOL?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps