subbu


{ City }
< Country > india
* Profession *
User No # 20230
Total Questions Posted # 4
Total Answers Posted # 2

Total Answers Posted for My Questions # 21
Total Views for My Questions # 55579

Users Marked my Answers as Correct # 68
Users Marked my Answers as Wrong # 5
Questions / { subbu }
Questions Answers Category Views Company eMail

What will happen if we write two STOP RUN's in a COBOL program?

Satyam,

4 JCL 10758

How to DEBUG a JCL?

Satyam,

9 JCL 23667

What are the functions in DB2?

Satyam,

3 DB2 7954

How to know the primary key of a table without defining the primary key in the table?

Satyam,

5 DB2 13200




Answers / { subbu }

Question { 35871 }

What is the difference between the JOBLIB and the STEPLIB
statements?


Answer

The above answer is right. Some more information to that:

If both the JOBLIB and STEPLIB statements are coded, then
the STEPLIB specification will override JOBLIB
specification.

Is This Answer Correct ?    63 Yes 5 No

Question { IBM, 3754 }

if a=b how the flow will complete???

perform test through test-exit.
perform activa through activa-exit.

test.

if a=b then
next sentence
else
move a to c.
test-exit.
exit.

activa.
--
--
activa-exit.
exit.


Answer

It will come out of the activa-exit.

Mans a the condition is a=b fist it will perform "perform
test through test-exit."

if a=b then
next sentence --> comes here
else
move a to c.
test-exit.
exit.


As it is satisfying the if part it should go to next
sentence i.e it will come out of the text-exit.

Now it will perform "perform activa through activa-exit."

so it will come out of the activa-exit.

Is This Answer Correct ?    5 Yes 0 No