Sie sind auf Seite 1von 16

Brain bench IMS 6.0 Question. Question 1 of 40. What type of segment is accessible via the secondary index?

Choice 1

The PSB segment


Choice 2

The logical child segment


Choice 3

The primary pointer


Choice 4

The PSB mask


Choice 5

The index target segmentIMS 6.0, 2. What is random processing?


Choice 1

A group of data that can be accessed by a key field


Choice 2

All data that is accessed in sequential order


Choice 3

Data access that has no parent but many children


Choice 4

A hierarchical one parent to one parent structure


Choice 5

Data access that is unable to be accessed by an arbitrary key field == 3. CALL 'CBLTDLI' USING DLI-GU CR-PCB-MASK REC-SEG INV-NO-SSA. And 01 CR-PCB-MASK. 05 CR-PCB-DBD-NAME PIC X(8). 05 CR-PCB-DBD-SEG-LAB PIC XX. 05 CR-PCB-STATUS-CODE PIC XX. 05 CR-PCB-PROC-OPTIONS PIC X(4). 05 FILLER PIC S9(5) COMP. 05 CR-PCB-SEG-NAME PIC X(8). 05 CR-PCB-KEY-LENGTH PIC S9(5) COMP. 05 CR-PCB-NUM-SENS-SEG PIC S9(5) COMP. 05 CR-PCB-KEY PIC X(22). What test can be used to test the above sample code for failure given the CR-PCB-MASK description?

Choice 1

If CR-PCB-NUM-SENS-SEG is one
Choice 2

If CR-PCB-STATUS-CODE is a space
Choice 3

If CR-PCB-STATUS-CODE is a "00"

Choice 4

If CR-PCB-STATUS-CODE is not a space


Choice 5

If CR-PCB-NUM-SENS-SEG is not zero == 4.

Referring to the image above, what are the contents of the key feedback area?
Choice 1

The SSA's containing the function codes


Choice 2

The eight character field referenced by the ACB


Choice 3

The augmented description of the segments after the database call has been completed
Choice 4

The four position field that shows the processing option


Choice 5

The concatenated key of all the segments within the retrieval path == 5. A +----+---+ BE +---+---+ | C D F Referring to the figure above, which one of the following lists the names of all segment types in the database?
Choice 1

A, B, C, D, E, F
Choice 2

A
Choice 3

C, D, F
Choice 4

C, D
Choice 5

B, E == 6.

In the image above, what type of retrieval is evoked with a GNP when issued on the database?
Choice 1

Segments that are subordinate to the established parent


Choice 2

A unique segment that establishes parentage is retrieved.


Choice 3

Functionally similar records


Choice 4

All segments that follow a get call are retrieved.

Choice 5

Only the segment prior to the get call is retrieved

== 7.

Referring to the image above, what critical information is missing in the first DBDGEN macro call?
Choice 1

The IMS version


Choice 2

The source listing DD name


Choice 3

A error exit label


Choice 4

The NAME= which names the database


Choice 5

The PASSWORD= which secures the database ==

8. CALL 'CBLTDLI' USING DLI-GN INVENTORY-PCB-MASK INVENTORY-CUST-SEG CUST-SSA. Referring to the sample code above, what status code will be received when the GN call is issued at the end of the database?
Choice 1

GK
Choice 2

GB
Choice 3

G
Choice 4

GA
Choice 5

GO == 9.

Referring to the image above, in the DBDGEN process, what language processor is used?
Choice 1

Macro Assembler
Choice 2

PL/S

Choice 3

Cobol II
Choice 4

SQL
Choice 5

IMS Preprocessor Statements (IPS) == 10. What is a physical database?


Choice 1

A random structure of keys and fields that can create a hierarchical framework
Choice 2

A hierarchical structure within which a segment can have only one parent
Choice 3

A random grouping of information per segment which can have more than one parent
Choice 4

Multiple databases on a single LPAR used by similar application programs


Choice 5

A group of sequenced database records == 11. In what structure is a secondary index accessed by referencing the index field?
Choice 1

ACB
Choice 2

DBD
Choice 3

SENSEG
Choice 4

SSA
Choice 5

PCB == 12.

Referring to the image above, what is the purpose of the SENSEG statements?
Choice 1

To identify the segments in the database to which the application program is sensitive
Choice 2

To provide information only


Choice 3

To show the segment sense codes in the job log


Choice 4

To tell the program the data field segment sense sizes during any process stage
Choice 5

To name the fields in the DBD 13. What is the difference in coding between inserting segments into an existing database and loading a database?
Choice 1

There is no need for parentage in loading.


Choice 2

The SSA must be qualified.


Choice 3

The PCB processing options


Choice 4

There is no difference.
Choice 5

The key sequence of the data in loading 14. CALL 'CBLTDLI' USING DLI-GU CUST-PCB-MASK SEGMENT-IO-AREA. Referring to the sample code above, what is retrieved when the GU call is issued?
Choice 1

Next occurrence of the parent segment


Choice 2

First occurrence of the root segment


Choice 3

Last record retrieved

Choice 4

All dependent segments


Choice 5

No segments == 15. Where are the function code and segment search arguments coded in a program?
Choice 1

Working-Storage Section
Choice 2

Input Record Section


Choice 3

Procedure Division
Choice 4

DL/I Call Section


Choice 5

Comments == 16.

Referring to the image above, what does establishing parentage mean in DL/I?
Choice 1

The segment retrieved will automatically position to the next root segment.
Choice 2

All parent segments will be returned before a dependent segment.


Choice 3

The segment retrieved by the GNP call is treated as the parent for only GN or GU calls that follow.
Choice 4

A range of segments is returned that are used as dependent segments.


Choice 5

The segment retrieved by the GN or GU call is treated as the parent for only GNP calls that follow 17. How are a DBGEN and a PSBGEN similar?
Choice 1

The IKJPRFN macro is used in both sequences.


Choice 2

They are both coded job streams that are assembled and linked.
Choice 3

The field identifiers are defined in both processes.


Choice 4

DBGEN is an obsolete form of the PSBGEN process.


Choice 5

All field lengths are coded on the statements. 18. How is the correspondence between PCB masks in the linkage section and PCBs within the program's PSB achieved?
Choice 1

The DL/I call specifies the PCB information.


Choice 2

The COBOL WRITE statement tells the program.


Choice 3

The CALL statement in the program specifies the interface modules.


Choice 4

The COBOL linkage section specifies the information.


Choice 5

The ENTRY statement within the program defines the information. 19. What are the two types of SSA's?

Choice 1

Equal and not equal


Choice 2

Random and sequential


Choice 3

Identical and similar


Choice 4

Qualified and unqualified


Choice 5

Command code and generator code 20.

Referring to the image above, which one of the following is NOT a valid database access method type specification?
Choice 1

HIDAM
Choice 2

HDSAM
Choice 3

HISAM
Choice 4

HDAM
Choice 5

HSAM == 21

Referring to the image above, what type of call must be performed before the DL/I call can be done?
Choice 1

Replace
Choice 2

Get-Next
Choice 3

Insert
Choice 4

CHKP
Choice 5

Get-Hold == 22. What is the most common procedure that a program can use to access an IMS database?
Choice 1

By writing SQL imbedded statements


Choice 2

With Cobol II language extensions


Choice 3

With an API interface


Choice 4

With a DL/I call


Choice 5

With preprocessor generated subroutine calls == 23. Referring to the image above, how many parameters can be included on the DL/I CALL statement?
Choice 1

1
Choice 2

2
Choice 3

4
Choice 4

10
Choice 5

16

== 24. Which one of the following statements is true?


Choice 1

There can only be one DBD per database and one PSB per program.
Choice 2

The last statement in the DSBGEN macro refers to the start of the DBGEN macro.
Choice 3

The PSB macro does not allow for a key feedback area.
Choice 4

There are no segment levels coded in the PSBGEN macro.


Choice 5

No reference is made to the database name in the PSB == 25. When will processing between a GET-HOLD and DLET return a status code of DJ?
Choice 1

It will always return DJ.


Choice 2

When the same PCB is used


Choice 3

When more than one SSA is used


Choice 4

When the GET is a GHU


Choice 5

When an unqualified SSA is used == 32. What values are allowed on the PSB PROCOPT during a database load?
Choice 1

A or I
Choice 2

F or C
Choice 3

P or DX
Choice 4

G or Q
Choice 5

L or LS == 33.

Referring to the image above, what is the size of the key feedback area?
Choice 1

8 bytes
Choice 2

12 bytes
Choice 3

16 bytes
Choice 4

256 bytes
Choice 5

Variable

== 34. How can data be accessed in an order other than by its primary concatenated key?
Choice 1

Secondary Indexing
Choice 2

Sequential reads
Choice 3

Backward reads
Choice 4

Concatenated keys
Choice 5

Qualified SSA's == 35. What status code is returned when a change has been made to the segments key before the DLET?
Choice 1

DA
Choice 2

AJ
Choice 3

DL
Choice 4

DJ
Choice 5

DC == 36.

What is the two byte character field, in the PCB image above, that contains data the program evaluates after a DL/I call?
Choice 1

Segment position
Choice 2

Status code

Program processing option


Choice 4

Data base name


Choice 5

Invalid key code == 37. What do logical child, parent, root, and twin have in common?
Choice 1

They are types of database segments.


Choice 2

They have the same logical key.


Choice 3

They are database built-in types.


Choice 4

They are types of database fields.


Choice 5

They are database functional types. 38. What is a database?


Choice 1

Any vendor's filing system


Choice 2

A method of randomly accessing critical data


Choice 3

An organized group of data elements


Choice 4

A list of data records containing named fields

Choice 5

Any access method having named record and key fields == 39. 01 CUST-SSA. 05 FILLER PIC X(5) VALUE 'CUST('. 05 FILLER PIC X(10) VALUE 'CUSTNO ='. 05 CUST-SSA-CODE PIC X(3). 05 FILLER PIC X VALUE ')'. Referring to the sample code above, what rule is broken in the COBOL definition for structure of an SSA?
Choice 1

The only relational operator that may consist of one character is the "greater than" operator.
Choice 2

A segment name shorter than eight characters must be padded with blanks.
Choice 3

A right parenthesis is an illegal character when not matched with a left parenthesis.
Choice 4

The segment name must begin and end with quotation marks.
Choice 5

There must be an asterisk in position nine == 40. SEGM NAME=CLXXXSEG,PARENT=CRXXXSEG,BYTES=16 FIELD NAME=CLLINENO,BYTES=xx,START=1,TYPE=C FIELD NAME=CLLINPRC,BYTES=4,START=9,TYPE=P FIELD NAME=CLLINQTY,BYTES=4,START=13,TYPE=P Referring to the sample code above, what is the value of xx in the first field statement?
Choice 1

1
Choice 2

4
Choice 3

8
Choice 4

9
Choice 5

16

Das könnte Ihnen auch gefallen