Skip to Content

TheBlogReaders.com

Salesforce.com, PHP, MySQL, Javascript, Ajax, Htacces

IMS-DB Interview Questions and Answers For Freshers Part-4

Be First!

ims-db31.How can we access the data in IMS DB?
Data can be processed in both the ways: Sequential & Random.

32.What is the predefined pattern for sequential processing?
Predefined pattern for accessing data in DL/I is first down the hierarchy, then left to right.

33.For FIELD macro statement in DBDGEN, what does TYPE=P parameter specifies?
TYPE=P specifies Packed decimal data type for the field which we have declared.

34.For FIELD macro statement in DBDGEN, what does TYPE=X parameter specifies?
TYPE=X specifies Hexadecimal data type for the field which we have declared.

35.What does SENSEG stands for?
SENSEG is known as Segment Level Sensitivity. It defines the program’s access to parts of the database and it is identified at the segment level.

36.Which parameter specifies the language in which the application program is written in PSBGEN?
The LANG parameter specifies the language in which the application program is written, e.g., COBOL.

37.Which is used to pass the control back to the IMS control program?
GOBACK is used to pass the control back to the IMS control program.

38.Which function is used to get a unique record for update purpose?
‘GHU’ code is used for Get Hold Unique. Hold function specifies that we are going to update the segment after retrieval. The Get Hold Unique function corresponds to the Get Unique call.

39.Which function is used to retrieve segment occurrences in sequence subordinate to an established parent segment?
‘GNP’ code is used for Get Next within Parent. This function is used to retrieve segment occurrences in sequence subordinate to an established parent segment.

40.Which function is used for recovering the database?
‘CHKP’ code is used for the Checkpoint function. It is used in the recovery features of IMS.

(147)

Previous
Next

Leave a Reply