IBM ILE RPG Programmer 認定 000-972 試験問題:
1. File CUSMS contains a field named CMCSNO. Which of the following file specification keywords will allow the program to recognize this field as CUSTCSNO?
A) PREFIX(CUST)
B) PREFIX(CUST:2)
C) RENAME(CMCSNO:CUSTCSNO)
D) RENAME(CM:CUST)
2. Which of the following is an advantage gained by using a prototype and CALLP for a program call in place of CALL and PARM operations?
A) Ability to statically bind a program object to its caller for better performance
B) Ability to have the compiler validate the parameters being passed
C) Ability to use a variable to contain the name of the program to be called
D) Ability to qualify the name of the program being called
3. If the record format of the file MyFile changes, which of the following programs will display the message "There is a problem with MyFile" as opposed to the program failing with the run time message "Error message CPF4131 appeared during OPEN for file MYFILE"?
A) FMyFile IF E Disk InfSR(MyFileError)
F UsrOpn
/Free
Open MyFile;
Read MyFile;
Return;
BegSR MyFileError;
Dsply 'There is a problem with MyFile';
Return;
EndSr;
B) FMyFile IF E Disk InfSR(MyFileError)
/Free
Monitor;
Read MyFile;
On-Error *File;
ExSR MyFileError;
EndMon;
Return;
BegSR MyFileError;
Dsply 'There is a problem with MyFile';
Return;
EndSr;
C) FMyFile IF E Disk InfSR(MyFileError)
/Free
Read(E) MyFile;
If %error;
ExSR MyFileError;
EndIf;
Return;
D) FMyFile IF E Disk InfSR(MyFileError)
/Free
Read MyFile;
Return;
BegSR MyFileError;
Dsply 'There is a problem with MyFile';
Return;
EndSr;
4. Given the following code sample:
d Data S 5a Based(pData)
d pData S * Inz(%Addr(Text1))
d DS
d Text1 4a Inz('ABCD')
d Text2 4a Inz('WXYZ')
/Free
Text1 = 'MNOP';
Dsply Data;
What value is displayed?
A) 'ABCDW'
B) 'ABCD '
C) 'MNOP '
D) 'MNOPW'
5. Given the following code sample:
DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++++++++++++
D ElementsAllocateDS...
D S 10i 0
Which of the following best describes ElementsAllocateDS?
A) A qualified field name
B) A long field name
C) A syntax error
D) A data structure
質問と回答:
| 質問 # 1 正解: B | 質問 # 2 正解: B | 質問 # 3 正解: A | 質問 # 4 正解: D | 質問 # 5 正解: B |














832 お客様のコメント
品質保証JPexamはIT認定試験のシラバスに従って、試験問題の範囲を正確に絞って、的中率が99%の最新問題集を捧げます。
1年間の無料更新サービスJPexamは1年以内に問題集の無料更新サービスを提供し、お客様がいつでも最新版の問題集を持つことを保証いたします。もし試験の内容が変更されたら、弊社は直ちにお客様にお知らせします。それに、弊社の問題集が更新されたら、早速メールで最新バージョンを送付いたします。
全額返金JPexamの問題集を利用すると、短時間で勉強しても試験に合格できるのを保証いたします。試験に不合格になってしまった場合、弊社は全額返金いたします。(
ご購入前のお試しJPexamは問題集のサンプルを無料で提供いたします。ご購入前にサンプルを試用して製品の品質を確認することができます。ご遠慮なく利用してください。
