Given the following code sample:
D amount s 3 0 inz(900)
/free
monitor;
amount += 100;
on-error *program;
amount = *hival;
on-error *all;
amount = *hival;
monitor;
amount -= 100;
on-error *program;
amount = 0;
on-error *all;
amount = 100;
endmon;
endmon;
What is the value of AMOUNT upon completion?
A. 0
B. 100
C. 899
D. 999
正解:D
質問 2:
A Service Program was originally created with the following binder language:
STRPGMEXP PGMLVL(*CURRENT)
EXPORT SYMBOL('SUBPROC_C')
EXPORT SYMBOL('SUBPROC_H')
ENDPGMEXP
Two additional subprocedures are being added to a module already bound into this service
program - SUBPROC_A and SUBPROC_I.
Which of the following binder language sources could be used to ensure that existing programs,
which use this service program, continue to work correctly without being recreated or updated?
A. STRPGMEXPSIGNATURE('V1. 2')
EXPORT SYMBOL('SUBPROC_A')
EXPORT SYMBOL('SUBPROC_C')
EXPORT SYMBOL('SUBPROC_H')
EXPORT SYMBOL('SUBPROC_I')
ENDPGMEXP
STRPGMEXP PGMLVL(*PRV)
EXPORT SYMBOL('SUBPROC_C')
EXPORT SYMBOL('SUBPROC_H')
ENDPGMEXP
B. STRPGMEXPPGMLVL(*CURRENT) PGMLVL(*CURRENT)
EXPORT SYMBOL('SUBPROC_C')
EXPORT SYMBOL('SUBPROC_H')
EXPORT SYMBOL('SUBPROC_A')
EXPORT SYMBOL('SUBPROC_I')
ENDPGMEXP
STRPGMEXP SIGNATURE(*PRV)
EXPORT SYMBOL('SUBPROC_C')
EXPORT SYMBOL('SUBPROC_H')
ENDPGMEXP
C. STRPGMEXPPGMLVL(*CURRENT)
EXPORT SYMBOL('SUBPROC_C')
EXPORT SYMBOL('SUBPROC_H')
EXPORT SYMBOL('SUBPROC_A')
EXPORT SYMBOL('SUBPROC_I')
ENDPGMEXP
STRPGMEXP PGMLVL(*PRV)
EXPORT SYMBOL('SUBPROC_C')
EXPORT SYMBOL('SUBPROC_H')
ENDPGMEXP
D. STRPGMEXPPGMLVL(*CURRENT)
EXPORT SYMBOL('SUBPROC_A') EXPORT SYMBOL('SUBPROC_I') EXPORT
SYMBOL('SUBPROC_H') EXPORT SYMBOL('SUBPROC_C') ENDPGMEXP
STRPGMEXP PGMLVL(*PRV)
EXPORT SYMBOL('SUBPROC_C')
EXPORT SYMBOL('SUBPROC_H')
ENDPGMEXP
正解:C
質問 3:
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
質問 4:
Given the following code sample:
d String1 s 20 inz('IBM System i')
d String2 s 25 varying
d x s 5 0
/free
String2 = String1;
x = %size(String2);
What is the value of x upon completion?
A. 14
B. 25
C. 27
D. 20
正解:C
質問 5:
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
Matsumoto -
この問題集ひとつで充分足りるんじゃないかと思ってます。000-972試験に受けてみて、試験の内容がほぼ問題集の内容に一致していてびっくりしました。