Which of the following is an advantage gained by using %kds instead of a KLIST?
A. The ability to use date fields as keys
B. The ability to use a varying number of keys
C. The ability to test for an equal match on a SETLL operation
D. The ability to use array elements as keys
正解:B
質問 2:
Five existing programs are being converted for ILE. Two are to be bound into a service program and the other three are to be bound into a single program object, which uses the service program. After the appropriate coding changes, which of the following is the correct sequence of commands required to create the program?
A. CRTSRVPGM, CRTPGM
B. CRTRPGMOD, CRTSRVPGM, CRTPGM
C. CRTRPGMOD, CRTPGM, CRTSRVPGM
D. CRTSRVPGM, CRTBNDRPG
正解:B
質問 3:
Given the following data definitions:
d MyDate S d DatFmt(*USA)
d charDate S 6a
/Free
The contents of the character field charDate must be placed in MyDate. Which of the following
code segments will correctly accomplish this task?
A. Test(E) *YMD0 charDate;
If not %Error;
MyDate = %Date(charDate : *USA);
EndIf;
B. Test(DE) *YMD charDate;
If not %Error;
MyDate = %Date(charDate : *USA);
EndIf;
C. Test(DE) *YMD0 charDate;
If not %Error;
MyDate = %Date(charDate : *YMD0);
EndIf;
D. Test(E) *YMD charDate;
If not %Error;
MyDate = %Date(charDate : *YMD);
EndIf;
正解:C
質問 4:
The DDS for a subfile control record includes the following lines:
AAN01N02N03T.Name++++++RLen++TDpBLinPosFunctions++++++++++++++ A
PAGEDOWN(03) PAGEUP(04)
A 08 SFLEND(*MORE)
A SFLSIZ(0100) SFLPAG(0010)
A DSPREC 4S 0B 4 12SFLRCDNBR(CURSOR)
When the control record is written, there are fifteen records in the subfile, indicators 03, 04, and 08
have a value of *OFF, and field DSPREC has a value of 15.
What will be shown in the lower right corner of the subfile detail portion of the screen?
A. Bottom
B. blanks
C. More...
D. +
正解:A
質問 5:
The RPGLE program PRTINVOICE contains the following code:
h dftactgrp(*no) actgrp(*new)
fInvForm o e printer
The CLLE program which calls PRTINVOICE runs in an activation group named BILLING. It uses
an OVRPRTF command to apply various print features to file INVFORM.
Which keyword must be present in the OVRPRTF command to ensure that the override is in effect
for the PRTINVOICE program?
A. OVRSCOPE(*ALL)
B. OVRSCOPE(*ACTGRPDFN)
C. OVRSCOPE(*NEW)
D. OVRSCOPE(*JOB)
正解:D
Uchida -
000-972問題集を購入し、1週間ぐらい勉強して受かりました。楽勝です。
サポートしてくれてありがとうございました!