While stepping through a program in debug mode, a programmer discovers that after a CHAIN operation, it is necessary to press the step key multiple times before reaching the next executable instruction. Which of the following H specification keywords can be used to avoid generating these additional breakpoints?
A. H OPTION(*NODEBUGIO)
B. H DEBUG(*NOFILEIO)
C. H OPTION(*NOFILEIO)
D. H DEBUG(*NODEBUGIO)
正解:A
質問 2:
File ORDMAS contains orders and has the field CUST# which is the key to file CUSMAS01. File CUSMAS01 contains ONLY customers on credit hold. Given the following code segment:
FFilename++IPEASFRlen+LKlen+AIDevice+.Keywords+++++++++++++++++++++++++++ C FCUSMAS01 IF E K Disk FORDMAS IF E K Disk
/Free
Chain ORDER# ORDMAS;
SetLL(E) CUST# CUSMAS01;
/End-Free
Following the SetLL operation, which logical condition indicates an order for a customer that is on credit hold?
A. Not %Found(CUSMAS01)
B. %Found(CUSMAS01)
C. %Equal(CUSMAS01)
D. Not %Error
正解:C
質問 3:
Given the following code excerpt:
OName++++++DF..N01N02N03Excnam++++B++A++Sb+Sa+.......
OPRINT D
O..............N01N02N03Field+++++++++YB....++PConstant/Editword/DTfor
O INVOICE 10
O AMOUNT 18
O CUSTNUM 25
What do the numbers to the right of the field names specify?
A. The ending position where the field will print
B. The number of spaces to leave before the next field on the print line
C. The beginning position where the field will print
D. The length of the field
正解:A
質問 4:
Given the code segment;
/FREE
Monitor;
Read File1;
If Not %Eof(File1);
Line = %Subst(Line(1): %Scan('***': Line(i)) + 1);
EndIf;
On-Error 1211; //File not open
ExSr FileNotOpen;
On-Error *File; //Other file errors ExSr FileErrors;
EndMon;
Return;
/END-FREE
If the Read reaches end-of-file, which of the following lines of code will be run?
A. Return;
B. Line = %Subst(Line(1): %Scan('***': Line(i)) + 1);
C. ExSr FileErrors;
D. ExSr FileNotOpen;
正解:A
質問 5:
Given the following code:
DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords++++++++++++++++++++
D ary S 5 Dim( 4 ) Ascend
D x S 2 0 Inz( 1 )
C Eval ary(1) = 'Tom'
C Eval ary(2) = 'Dick'
C Eval ary(4) = 'Harry'
C SortA ary
C*0N01Factor1+++++++Opcode(E)+Factor2+++++++Result++++++++Len++D+HiLoEq C 'Jim ' LOOKUP ary(x) 9999 Which of the following is correct as the result of running the code?
A. %Found = *ON, %Equal = *OFF, x = 4
B. %Found = *OFF, %Equal = *OFF, x = 4
C. %Found = *ON, %Equal = *OFF, x = 3
D. %Found = *OFF, %Equal = *OFF, x = 3
正解:C
質問 6:
An RPG source member containing subprocedures, will be compiled using the CRTBNDRPG command. What value must be specified for the Default Activation Group parameter?
A. DFTACTGRP(QILE)
B. DFTACTGRP(*NO)
C. DFTACTGRP(*NONE)
D. DFTACTGRP(*YES)
正解:B
質問 7:
Which of the following pieces of information can be found in a trigger buffer?
A. Name of the physical file member being processed
B. The name of the logical file member being processed
C. The name of the file and the User profile of the job which caused the trigger to fire
D. Name of the record format being processed
正解:A
仲千** -
IBM 000-268試験参考書がなければ、000-268試験に合格できません。とてもいい資料です。