C9050-042 無料問題集「IBM Developing with IBM Enterprise PL/I」

What does it mean that an interface is synchronous?

Program A calls program B with PC as a parameter defined BIN FIXED (31 .0). Program B sets PC as
follows:
0 OK
4 WARNING
8 ERROR
Which of the following is the most appropriate statement for testing the PC variable?

Given the following code, which set of statements will insert the new element into the doublylinked list
after the element pointed to by P?
DCL1X BASED,
2 FORWARD POINTER,
2 BACKWARD POINTER,
2 DATA FIXED BIN (31);
ALLOC X SET(Q);

Requirement Copy a dataset of record length 100 to another dataset.
If the following code does not fulfill the requirement above, which is the most likely reason?
DCL DDIN FILE RECORD INPUT;
DCL DDOUT FILE RECORD OUTPUT;
DCL INSTRUC CHAR(100);
DCL EOF_IN BIT(1) INIT('0'B);
ON ENDFILE(DDIN) EOF_IN = '1'B;
READ FILE(DDIN) INTO(INSTRUC);
DO WHlLE(^EOF_IN);
WRITE FILE(DDOUT) FROM(INSTRUC);
READ FILE(DDIN) INTO(INSTRUC);
WRITE FILE(DDOUT) FROM(INSTRUC);
END;

Which of the following may be an advantage of the BEGIN OPTIONS (INLINE) statement?

Given the following pseudocode inside a loop, where should the COMMIT action be placed assuming that
there is always a one-to-many relationship between header and detail tables?
1 Find header row 2 IF found 3 Update header row 4 Find detail row 5 IF found THEN 6 Update detail
rows 7 ELSE 8 ENDIF 9 ENDIF

Given the following code, what measure will NOT improve stability?
S1: PROC (X,Y,Z);
DCL X DEC FIXED (5);
DCL Y PlC '99999';
DCL Z DEC FIXED (5);
Z = X + Y;
END;

Which of the following is the most appropriate way of avoiding a recursive deadlock?

A lead developer reviewing code from one of the programmers found the following code. What should the
programmer be told about BY NAME assignments?
DCLl STR1, 3FB15 FIXED BIN (15), 3 CH10 CHAR (10), 3 NAME CHAR (25). 3 ADDR CHAR (30), 3
FB31 FIXED BIN(31);
DCL 1 STR2, 3 FB31 FIXED BIN (31), 3 FB31B FIXED BIN (31), 3 NAME CHAR (20), 3 ADDR CHAR
(30), 3 CH20 CHAR (20);
STR2 = STR1, BY NAME;

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡