what will be the output when
a)pic 9(6)value 000178 is moved to pic ***,***.
b)pic 9(5) value 57397 is moved to pic $$,$$9.
Answers were Sorted based on User's Feedback
Answer / rx
Agree Jaganmohanreddy's answer!
B answer is 57,397
I missed the ','
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / jaganmohanreddy
for B answer is 57,397 just check it once
| Is This Answer Correct ? | 0 Yes | 0 No |
Write a program that uses move corresponding.
Suppose a program has the following code. What will be the output? MAIN-PARA. DISPLAY 'MAIN-PARA' PERFORM SECTION-A. STOP RUN. SECTION-A. PARA-A1. DISPLAY 'SECTION A PARA A1'. PARA-A2. DISPLAY 'SECTION A PARA A2'.
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
How do we get current date from system with century in COBOL?
There is a variable with value 19446. Requirement is to convert it to 194.46. I tried it by doing divide by 100 and my receiving field data type is 9(03)v99. But the output is 194. I am not getting the decimal value. Could anyone pls let me know how to get this done?
Can we move X(9) to 9(9). If yes what are the ways for doing this?
If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Difference between array and sub-script ?
What are the situations u have used in ur project for Subcript and Index ? 1.if u use Subscript why not Index,why u choose Subscript only? 2.if u use Index why not Subscript,what abt Displacement?
When and how can we use index & subscript ?
Explain fixed length record in cobol? with suitable example