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 / vijay korde

b

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are INPUT PROCEDURE and OUTPUT PROCEDURE?

691


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2121


What is the difference between Call and a Link?

700


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2724


Write some characteristics of cobol as means of business language.

621






Write a program to enter and display the names of students in a class using the occurs clause.

654


What is report-item in COBOL?

711


Explain about different table spaces.

650


How are the next sentence and continue different from each other?

766


IF I mention stop run in CICS what happens?

1898


Difference between cobol and cobol-ii?

711


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?

1231


A table has two indexes defined. Which one will be used by the SEARCH?

759


how do you reference the variable block file formats from cobol programs

688


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

720