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
What is a scope terminator give example?
Explain how to differentiate call by context by comparing it to other calls?
What is the problem of ordered sequential files access?
i want a program using by if, evaluate , string, unstring, perform, occurs?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
How do get the result of your program directly on your pc?
how to move the records from file to array table. give with code example
What is static and dynamic call in cobol?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
) How do u handle errors in BMS macro?
What rules are followed by the search verb.
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is the difference between PIC 9.99 and PIC9v99?
Explain how you can characterize tables in cobol?
What is the difference between PIC 9.99 and 9v99 in COBOL?