最新的IBM Rpg iv with ile - 000-268免費考試真題

問題1
Given the following code segment:
0001.00 D DateField S D DATFMT(*ISO)
0002.00 D CharField S 6A INZ('040696')
0003.00 C *MDY MOVE CharField DateField
This code will not compile. Which of the following changes will allow a successful compile?

正確答案: C
問題2
What keyword must be added to the file specification to process data from a different file that has the same format as the one declared in the file specification without performing a specific file override?

正確答案: C
問題3
A subfile program will be written to process a maximum of 200 records. Fast response time while scrolling through the subfile is critical. How should the subfile be designed?

正確答案: D
問題4
Given the following code segment:
DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords++++++++++++
D GetBalDue PR
D Balance 11P 2
D CustNo 5S 0
D Qty 7P 0
D Amount 5P 2
D Balance S 11P 2
D CustNo S 5S 0
D OrdQty S 7P 0
D Amt S 5P 2
Which of the following contains correct syntax?

正確答案: D
問題5
Given the following code segment:
DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++++++++++++
D DS
D Name 40A INZ('IBM Corporation')
D Part1 15 overlay(Name)
D Part2 overlay(Name:*next) like(Part1)
What are the characteristics of the Part2 field?

正確答案: D
問題6
A Service Program was originally created with the following binder language:
STRPGMEXP PGMLVL(*CURRENT)
EXPORT SYMBOL('A')
EXPORT SYMBOL('B')
ENDPGMEXP
Module C is to be added to the Service Program. It is a NOMAIN module containing two subpocedures - X and Y.
Which of the following binder sources could be used to ensure that existing programs which use this service program, continue to work correctly without being recreated or updated?

正確答案: C
問題7
File CustSales contains a record format CustSalesR, which includes twelve sales buckets named SaBuck01 through SaBuck12. Given the following code segment:
fCustSales if e k disk
d SalesHist e ds extname(CustSales)
d SalesArray s dim(12) like(SaBuck01) based(Sptr)
d Sptr s * inz(%addr(SaBuck01))
What is the purpose of data structure SalesHist?

正確答案: A
問題8
Which of the following RPG IV operations will output a display file format on the screen and continue processing without waiting for a user response?

正確答案: A
問題9
Given the following code segment:
DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords++++++++++++++++++++++++
+++++
D Date6N S 6 0
D DateISO S D Inz(D'2004-10-25') Datfmt(*ISO)
CL0N01Factor1+++++++Opcode(E)+Factor2+++++++Result++++++++Len++D+HiLoEq...
C *mdy Move DateISO Date6N
Which of the following statements is the /Free form equivalent to the move operation?

正確答案: C
問題10
Given the RPG IV Definition Specification:
D DataIn S 6 2 CTDATA DIM(100) PERRCD(3)
Which of the following describes how DataIn is defined?

正確答案: C