1.
Does a root segment exist without child segment?
Correct Answer
A. True
Explanation
A root segment refers to the main or initial segment of a structure or system. In most cases, a root segment does exist without any child segments because it is the starting point or base of the structure. Child segments are typically derived or connected from the root segment, but it is possible for the root segment to exist independently without any child segments attached to it. Therefore, the answer "True" is correct.
2.
A PSB can exists without a single PCB?
Correct Answer
B. False
Explanation
False. A PSB (Program Specification Block) cannot exist without a single PCB (Program Control Block). The PSB contains information about the program's specifications, such as the program name, type, and location. The PCB, on the other hand, contains information about the program's execution, such as the program's status, resources allocated, and execution priority. Without a PCB, the PSB would not have the necessary information to execute the program correctly.
3.
How many DLI calls can we give in a program?
Correct Answer
D. No limit depending on memory limitation
Explanation
The correct answer is "No limit depending on memory limitation" because the number of DLI calls that can be made in a program is not restricted by any specific number. The limit is determined by the available memory in the system. As long as there is enough memory to store the necessary data for each DLI call, there is no set maximum limit on the number of calls that can be made.
4.
In a Logical relatioship, a segment can exists with multiple parents. Justify your answer?
Correct Answer
C. A child segment can have more than one parent. This is possible only with outside databases.
Explanation
A child segment can have more than one parent, which means it can be related to multiple parent segments. This is possible only with outside databases, as parents from the same database would create a circular relationship. Therefore, the correct answer is that a child segment can have more than one parent, and this is possible only with outside databases.
5.
A PSB is defined that TYPE=GSAM. Can you identify this relates to which PCB?
Correct Answer
D. GSAM PCB
Explanation
The given information states that a PSB is defined with TYPE=GSAM. This suggests that the PSB is related to a GSAM PCB. The TYPE parameter in the PSB definition is used to specify the type of PCB associated with it. Therefore, the correct answer is GSAM PCB.
6.
The following IMS status codes,my friend has been asked in an interview. Are you support him thease are related to SSA?
AU-SSA length exceeds maximum length
AH-Invalid SSA in insert
AJ-SSA specified for the call is invalid
AK-Field name incorrectly coded for SSA
Correct Answer
A. True
Explanation
The given IMS status codes (AU, AH, AJ, AK) are related to SSA (Subsystem Attach) in IMS. These codes indicate different errors or issues related to SSA. "AU-SSA length exceeds maximum length" suggests that the length of the SSA provided is longer than the maximum allowed length. "AH-Invalid SSA in insert" indicates that an invalid SSA was provided during an insert operation. "AJ-SSA specified for the call is invalid" signifies that the SSA specified for the call is invalid. "AK-Field name incorrectly coded for SSA" implies that the field name in the SSA is incorrectly coded. Therefore, the statement "The following IMS status codes are related to SSA" is true.
7.
What kind of error/Status codes you will get during IMS deadlock?
Correct Answer
B. FH, U0777
Explanation
During an IMS deadlock, the FH, U0777 error/status code will be received. This code indicates that a deadlock condition has occurred in the IMS system. Deadlock refers to a situation where two or more transactions are waiting for each other to release resources, resulting in a state of deadlock where no progress can be made. The U0777 code specifically signifies a deadlock timeout, indicating that the deadlock detection mechanism has identified a deadlock and has timed out waiting for it to be resolved.
8.
How many secondary indexes are possible in a single IMS database?
Correct Answer
B. 255
Explanation
The correct answer is 255 because in a single IMS database, there can be a maximum of 255 secondary indexes. Secondary indexes are used to improve the performance of database queries by allowing faster access to specific data. IMS databases can have multiple secondary indexes, but the maximum limit is 255.
9.
Where we use Fast path databases, and two examples of those?
Correct Answer
A. High transaction rate is involved. DEDB and MSDB. VSAM is the only access methos.
Explanation
Fast path databases are used when there is a high transaction rate involved. Two examples of fast path databases are DEDB and MSDB. The only access method supported by these databases is VSAM. This means that when there is a need for fast access to data and a high volume of transactions, these databases are used with VSAM as the access method.
10.
DBRC is set to on when?
Correct Answer
D. Both online and batch production
Explanation
DBRC (Database Recovery Control) is set to "on" for both online and batch production jobs. This means that DBRC is enabled and active for both types of jobs. DBRC is a feature in mainframe systems that provides control and management of database recovery processes. By having it set to "on" for both online and batch production, it ensures that database recovery is available and managed for both types of jobs, whether they are executed online or as part of a batch production process.
11.
How many places we need to give PCB in a program?
Correct Answer
B. 1 Only in Entry statement
Explanation
In a program, we only need to give PCB (Program Control Block) in the entry statement. The PCB contains information about the program, such as its name, size, and location in memory. It is necessary to provide the PCB in the entry statement to ensure that the program is properly initialized and executed. Giving the PCB in each DLI (Device Level Interface) call or not giving it at all would be incorrect as it would lead to errors or incomplete program execution.
12.
In IO PCB mask we give Terminal ID, User ID, Time stamp, Status code etc. The size of Time stamp is ?
Correct Answer
A. 12 Bytes
Explanation
In IO PCB mask, various information such as Terminal ID, User ID, Time stamp, and Status code are provided. The question asks for the size of the Time stamp. The correct answer is 12 Bytes. This means that the Time stamp occupies a memory space of 12 Bytes in the IO PCB mask.
13.
In DB PCB mask, we do not give Terminal ID- But, we give database name. The questions is the Size of the IMS status code field is?
Correct Answer
B. 4 Bytes
Explanation
The IMS status code field has a size of 4 bytes. In DB PCB mask, the terminal ID is not provided, but the database name is given.
14.
How many databases involved in IMS?
Correct Answer
A. 3- Fast Path, Full function, HLADB
Explanation
IMS (Information Management System) involves three types of databases: Fast Path, Full function, and HLADB. Fast Path is a database that is optimized for high-speed transaction processing. Full function database provides a complete set of features for managing and manipulating data. HLADB (High Level Application Database) is a database that supports hierarchical data structures. Therefore, the correct answer is 3- Fast Path, Full function, HLADB.
15.
Recently in CHINA, they purchased IMS License for which application use?
Correct Answer
A. ATM
Explanation
Recently in China, the purchase of an IMS License suggests that they have acquired the license for the application use in ATMs. This implies that China has obtained the necessary authorization to operate and provide services related to the use of ATMs in the country.
16.
My friend told me, giving qualified SSA in DLI call is just like Indexing. Can you support him and why?
Correct Answer
A. Yes- In SSA we give which field we are going to retrieve. So it acts as a Index.
Explanation
The given answer is correct because in SSA (Single Static Assignment) form, each variable is assigned only once and is given a unique name. This unique name acts as an index to identify the specific field or value that we are retrieving. Therefore, giving qualified SSA in DLI call can be considered similar to indexing.
17.
Three elements are to define to give logical relationship.
Physical Parent
Logical Parent
Logical Child
Correct Answer
A. True
Explanation
The statement is true because in order to establish a logical relationship, three elements need to be defined: physical parent, logical parent, and logical child. These elements help to establish a hierarchy or connection between different entities or objects.
18.
Which databases support logical relationship in IMSDB?
Correct Answer
A. 5-HISAM
HDAM
pHDAM
HIDAM
pHIDAM
Explanation
The correct answer is HIDAM and PHIDAM. These databases support logical relationships in IMSDB.
19.
The flow of a transaction execution in IMSDC is ==> MOD- > DIF- >DOF- >MID
Correct Answer
A. True
Explanation
In IMSDC, the flow of a transaction execution follows the sequence MOD- DIF- DOF- MID. This means that the transaction goes through the stages of modification, differentiation, distribution, and finally mid-office processing. Therefore, the statement "The flow of a transaction execution in IMSDC is MOD- DIF- DOF- MID" is true.
20.
How much data we can store in HLADB databases?
Correct Answer
B. 1 TB
Explanation
HLADB databases can store up to 1 TB of data. This means that the maximum amount of data that can be stored in HLADB databases is 1 terabyte.