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
i want a program using by if, evaluate , string, unstring, perform, occurs?
Difference between cobol and cobol-ii?
what are decleratives in cobol?
Discuss about changing dataset name in proc.
what is s000 u4087 error? please give the all error codes in cobol,jcl.
Which Search verb is equivalent to PERFORM…VARYING?
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 are the pertinent COBOL commands?
What is Pic 9v99 Indicates in COBOL?
Have you used comp and comp-3 in your project? And how?
How do you define a variable of comp-1 and comp-2?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is the usage of comp fields in cobol?