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 |
How does IDMS communicate with CICS?
What is the Linkage section? What is the Use and Why the parm length use alway "PARM-LENGTH PIC S9(4) or PIC S9 (4) COMP." any reason?.Please let me know any one... Cheers,Prasad
how do you reference the variable block file formats from cobol programs
How you can characterize tables in cobol?
Can we move X(7) to S9(7) COMP?
Discuss about changing dataset name in proc.
Why occurs can not be used in 01 level ?
how to fetch the record before the last record in a cobol file( its a huge file and if the key field is not known)
How do you define a variable of COMP-1? COMP-2?
What is a report item?
can we declare occurs in 01 level?
How do you compile cobol program..?