Beruflich Dokumente
Kultur Dokumente
Choice 1
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
Referring to the image above, what are the contents of the key feedback area?
Choice 1
The augmented description of the segments after the database call has been completed
Choice 4
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
Choice 5
== 7.
Referring to the image above, what critical information is missing in the first DBDGEN macro call?
Choice 1
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
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
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 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 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
Choice 4
No segments == 15. Where are the function code and segment search arguments coded in a program?
Choice 1
Working-Storage Section
Choice 2
Procedure Division
Choice 4
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
The segment retrieved by the GNP call is treated as the parent for only GN or GU calls that follow.
Choice 4
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
They are both coded job streams that are assembled and linked.
Choice 3
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 ENTRY statement within the program defines the information. 19. What are the two types of SSA's?
Choice 1
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
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
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
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
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
Invalid key code == 37. What do logical child, parent, root, and twin have in common?
Choice 1
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