Can we MOVE X(9) to 9(9) OR 9(9) to X(9)? If yes what are
the ways for doing this?
Answer Posted / jawaad
yes you can do both , but wait....
1) 9(9) to x(9) will be fine
2) x(9) to 9(9) may have problem in some cases:-
a) Suppose :x(9) has value "5"
when you move to 9(9) it will be
"5 " ,Yes 9(9) will have spaces
instead of
"000000005"
b)you will get soc7 when you perform arithemetic on x(9)
above
Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
What is the difference between external and global variables in COBOL?
What is amode(31)
Name the divisions, which are available in a cobol program?
What is the difference between PIC 9.99 and 9v99 in COBOL?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Explain about different table spaces.
How are the next sentence and continue different from each other?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Describe the cobol database components?
For rewrite, why is it mandatory that file needs to be opened?
explain sorting techniques in cobol program?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What rules are followed by the search verb.
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.