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.

Answer Posted / guest

b) both call statements may produce different results

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

709


How do you get the data to code the BMS macro?

1472


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

676


What are the pertinent COBOL commands?

2620


What is rmode(any) ?

680






Write a program to explain size error.

669


What is the Purpose of Pointer in the string?

640


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

681


Whats the difference between search & search ALL?

5258


how can i see junk values in dclgen or in hostvariable of comp ?

2538


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

417


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1228


What is Pic 9v99 Indicates in COBOL?

720


Define static linking and dynamic linking.

660


What is redefines clause in COBOL?

844