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


Please Help Members By Posting Answers For Below Questions

What is the difference between external and global variables in COBOL?

811


What is amode(31)

717


Name the divisions, which are available in a cobol program?

683


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

729


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

678






Explain about different table spaces.

645


How are the next sentence and continue different from each other?

761


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

716


Describe the cobol database components?

677


For rewrite, why is it mandatory that file needs to be opened?

620


explain sorting techniques in cobol program?

686


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

853


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

715


What rules are followed by the search verb.

631


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.

2052