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
) how do u code after getting data?
How do u write test cases?
What is inspect in cobol ?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is the difference between Global and External Variables?
What is comp-1 and comp-2?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What type of SDLC u followed? Why?
Write a program that uses move corresponding.
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
How many bytes S(8) comp field occupy and its maximum value?
What is the difference between perform … with test after and perform … with test before?
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 are INPUT PROCEDURE and OUTPUT PROCEDURE?