scott lee


{ City } toronto
< Country > canada
* Profession *
User No # 123865
Total Questions Posted # 0
Total Answers Posted # 7

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 8
Users Marked my Answers as Wrong # 1
Questions / { scott lee }
Questions Answers Category Views Company eMail




Answers / { scott lee }

Question { IBM, 9294 }

What is the difference between Based and Define?


Answer

DEFINES : overlay the storage permanently. It can not be relocated. The same as redefines on COBOL
BASED : overlay the storage by reference locator or pointer by ADDR. the storage can be relocatable

Is This Answer Correct ?    2 Yes 0 No

Question { 5095 }

How do you include an copybook?


Answer

*preprocessor
%include copybook; /* using with preprocessor statement is better */

Is This Answer Correct ?    1 Yes 0 No


Question { 5300 }

Difference between Do While and Do Until?


Answer

Do while loop will continue while the condition is true, Whereas Do until loop will continue while the condition is false.
Do while executes the first cycle without checking condition, Whereas Do until executes it after checking condition.

Is This Answer Correct ?    1 Yes 1 No

Question { 5300 }

Difference between Do While and Do Until?


Answer

Do while tests at the start of the loop.
Do until tests at the end of the loop then executes at least once

Is This Answer Correct ?    1 Yes 0 No

Question { 5273 }

 Explain REENTRANT?


Answer

REENTRANT is Procedure option for multitasking

Is This Answer Correct ?    0 Yes 0 No

Question { 6689 }

 What is meant by REORDER option in PL/1?


Answer

REORDER OPTIONS allow the compiler to generate optimized code to produce the result specified by the source program when error-free take place

Is This Answer Correct ?    2 Yes 0 No

Question { 4247 }

What is the difference between bulitin fuction VERIFY and INDEX? 


Answer

index(x,y) : builtin-function to return the starting position of x match y. no y are in x then 0. k = index('abcabcdefg','cd'); k= 6
veryfy(x,y): builtin-function to return the first(leftmost) position of x not any in y. all x are in y then 0. k =veryfy('123456a','0123456789') ; k= 7

Is This Answer Correct ?    1 Yes 0 No