What are the difference between in-stream procedure and inline procedure in JCL ?
Correct Answer
An in-stream PROC is defined right in the jcl stream and doesn't reside in the proclib This is an older technique associated with punched cards but it is still in use with setup and installation programs from vendors for the in-line perform instead of: perform add-paragraph until switch = 'y' you can code perform until switch = 'y' body of code end-perform body of code is the code from add-paragraph appearing in-line (ie right in the perform) instead of in a separate paragraph (out of line code)
Technology problems
Search Results
1. What are the processing modes available in IMS DB?
Correct Answer: Key Fields - (PROCOPT=K) - Used to sequence the database and can't be changed - It is the field within a segment, used to identify the occurrence of the segment - Used to maintain the IMS segments in ascending sequence Search Fields - (PROCOPT=G) - Used to search for a segment, without the segment being sequenced on that field - A segment need not have a key or search field Both types of fields can be used to search the database
3. How can we distinguish between an online and batch program in IMS environment?
Correct Answer: Stack Because of its LIFO (Last In First Out) property it remembers its ?caller? so knows whom to return when the function has to return Recursion makes use of system stack for storing the return addresses of the function calls Every recursive function has its equivalent iterative (non-recursive) function Even when such equivalent iterative procedures are written, explicit stack is to be used
Correct Answer: In C++, void represents the absence of type, so void pointers are pointers that point to a value that has no type The void pointers can point to any data type You can declare void pointer as follows: void *p;
Correct Answer: C++ is created by Bjarne Stroustrup of AT&T Bell Labs as an extension of C, C++ is an object-oriented computer language used in the development of enterprise and commercial applications Microsoft?s Visual C++ became the premier language of choice among developers and programmers
10. What are the basic concepts of object oriented programming?
Correct Answer: It is necessary to understand some of the concepts used extensively in object oriented programmingThese include Objects Classes Data abstraction and encapsulation Inheritance Polymorphism Dynamic Binding Message passing