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
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.
Write a cobol program making use of the redefine clause.
What is a scope terminator give example?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What guidelines should be followed to write a structured cobol prgm?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
how do you define single dimensional array and multidimensional array in your cobol?
What do you understand by psb and acb?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Why occurs cannot be used in 01 level in COBOL?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Are you comfortable in cobol or jcl?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?