Find Out - Odt
Find Out - Odt
Find Out - Odt
h
e
o
p
t
i
m
i
z
e
27. Which of the following statement is true about out-of-sync condition during the
29. SQL needs COBOL/PL1's help to do ONE of the tasks listed below. From what
youknow of SQL, which task do you think is best done by embedding SQL in a
COBOL/PL1 program?
Create a tableProduce a one-time listing of all rows from one or more tables
37.How can you enhance processing of large files?Split and concatenate the large files
into multiple smaller filesExecute multiple steps with smaller files of the main large
fileIncrease the number of buffers to the allocated file None of the Above
WS-X FROM 1 BY 1 UNTIL WS-X > 4AFTER WS-Y FROM 1 BY 1 UNTIL WS-Y >
10.
10
11
the qualified ddname is appliedThe unqualified DDname will be applied to first step of
the PROCThe unqualified DDname will be applied to last step of the PROCWill get JCL
What statements are true for Sort step?Allow three times the file size for sort work space
allocationsUse minimum three sort work DD'sAlways code sorted data sets to be
cataloged
What buffer sizes are not available in the LSR pool at CNS?4K6K8K10K
following results from the transaction?The row is inserted with a NULL valueThe row is
inserted with a value of 100The row insertion with a value of 100 is rejectedThe trigger
Which of the following is true about Random Access and Alternate Keys?
Only the first record written of a series of records with duplicate keys can be
retrieved
All the records with duplicate keys will be retrieved one by one in any orderAll the
records with duplicate keys will be retrieved in the order stored in the file None of the
above
parametersstepname.KEYWORD=KEYWORD.stepname=KEYWORD=Both of the
above
Block Contains 0 results into?Significantly improve file processing time with respect to
CPU timeSignificantly improve file processing time with respect to elapsed time None
How do you compare data set lines between 50 and 80 lines in 3.13 option?CMPLINE
Archdefs, Lecdefs, and Binds for new membersSearch for copybooks in programsSearch
Stored procedure cannot access tables at other DB2 locationsStored procedure can
access tables at other Db2 locations using Connect Statement aloneStored procedure can
access tables at other DB2 locations using 3 part object namesaloneStored procedure can
access tables at other DB2 locations using Connect statement or 3 part object names or
private protocols
procedure Definition Specifies the name of the stored procedure program.Define the
above
User Id
None
The unqualified DDname will be applied on the same procstep where the qualified dd
name is applied
The unqualified DDname will be applied to first step of the PROC
The unqualified DDname will be applied to last step of the PROC
Will get JCL error as there is no qualifier for the second override
What statements are true for Sort step?
Allow three times the file size for sort work space allocations
Use minimum three sort work DD's
Always code sorted data sets to be cataloged
All of the above
Which of the following statement is true about out-of-sync condition during the
audit process in a SCM tool?
copybooks being modified after compiling the source component that calls them
load module being modified after the composite load component that calls them has
been
a package containing a load component that does not match its source component
All of the above
27. Which of the following statement is true about out-of-sync condition during the audit process in a
SCM tool?
copybooks being modified after compiling the source component that calls them
load module being modified after the composite load component that calls them has been
a package containing a load component that does not match its source component
Allow three times the file size for sort work space allocations
Use minimum three sort work DD's
Always code sorted data sets to be cataloged
All of the above
16. moderate ci size
a. 4029
b. 1029
c.
1)
For moving data string handling is slower than char to char move? T/F
2) Process of using a set of registry variable to configure system which has DB2
a. Tuning
b. Pre-fetching
c. Buffering
d. Correlation
204. If you want to move the file pointer to a particular record in a VSAM file, which keyword will you
use?
LOCATE
POINT
SET
GOTO
Ans:
205. FILE INFILE1
IF1-REC 1 80 A
FILE OUTFIL1
OF1-REC 1 80 A
OF1-A 1 4 N
WS-A W 10
10
30
60
Program Abends
206. REPORT COL-EX
LINE 1 COL 1 ABC SYSTEMS, INC. COL 60 SYSDATE
LINE 3 NAME-FIRST NAME-LAST
What is the output of this report?
Report will have details as mentioned in the report definition
LINE 3 without LINE 2 is an error
Usage of COL parameter is invalid
None of the above
ILE FILEA
NAMEA 1 10 A
JOB INPUT FILEA FINISH WRAP-UP
WRAP-UP PROC.
DISPLAY LAST RECORD WAS NAMEA
END-PROC
What is the output?
a) Displays the message with NAMEA value of last record
b) Displays the message only as NAMEA will be blank
c) Displays the message with JUNK values as we have reached EOF.
c) Bboth a and b
d) None of the above
98. In Rex special value -20 indicates that the command was not recognized
Command was not recognized
Function was not recognized
Value was not recognized
None of them
99. Which command code is used to retrieve more than one segment along the hierarchal path to the lowest
level segment with one IMS call?
D
N
P
L
101. Which of the following PROCOPTallow the program to retry once when the retrieve fails?
GO
GON
GOT
G
Which is the most appropriate way to execute a program immediately after CICS start-up?
Specify a Post-Initialization entry in Program List Table
Specify a Journal entry in Journal Control Table
Define an entry in DCT and use Cold Start
Specify an entry in Execution Interface Program
Ans:
BEFORE-LINE
210. File Presence Condition can be checked using __________
IF FOUND <filename>
IF PRESENT <filename>
IF <filename>
IF TRUE <filename>
43 When DB2 will not use the INDEX columns even it the columns are INDEXed?
The column definition does not exactly match the host variable definition in length and data type.
use an arithmetic expression in a condition
to update an indexed column
all of the above