given the following piece of code:
CALL SUB-PGM USING A, B, C.
CALL SUB-PGM USING A, C, C.
(a) Both CALL statements will always produce same result.
(d) Both CALL statements may produce different result.
(c) Compile-time error because SUB-PGM is a dataname.
(d) Compile-time error because A, B, C are used twice.
Answers were Sorted based on User's Feedback
Answer / guest
b) both call statements may produce different results
Is This Answer Correct ? | 8 Yes | 0 No |
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?
what is the difference between implicit and explicit scope terminator with example?
What is the default value of DISP for temp datasets
How to find How Many Lines in Sysin DD * Parameter Thru Cobol Coding? If any one knows the Answer Please Reply .....Thanks From Shree
IF there 5 to 6 files in a JCL and there is some space abends, how can we identify which file has space abend and what can be done to get off that abend or rectify that abend.
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?
SIGN TRAILING SEPARATE field occupy ?
what is the difference between PA & PF keys?
created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?
what is subscript in cobol?give realtime example?
What is the difference between Global and External Variables?
If a file has 1000 records.. if i have to replace the first and last characters of the file with another character. how it can be done....