IBM Programming with IBM Enterprise PL/I - C6030-041 Exam Practice Test

CORRECT TEXT
If the physical dataset referred to by DDIN has a record length of 200 and a RECFM of F, what happens after executing the following code?
DCL DDIN FILE RECORD INPUT;
DCL P PTR;
DCL 1 INSTR BASED(P),
2 A CHAR(100),
2 B CHAR(100);
ALLOCATE INSTR;
OPEN FILE(DDIN);
READ FILE(DDIN) INTO(INSTR);

Correct Answer: A Vote an answer
CORRECT TEXT
Given the following piece of code, how many times is the loop executed?
DCLI FIXED BIN (31);
I = 20;
DO UNTIL (I = 0); PUT (I);
I = I - 3;
END;

Correct Answer: C Vote an answer
CORRECT TEXT
What does the following code do, if anything?
RELEASE U;

Correct Answer: D Vote an answer
CORRECT TEXT
What will be the values of the variables A, B, C and D after executing the following code?
DCL 1 XYZ, 2 A CHAR(4), 2 6 BIN FIXED(31), 2 C DEC FIXED(7), 2 D PlC '999 XYZ = ";

Correct Answer: B Vote an answer
CORRECT TEXT
Given the following code, with what attribute should the variable EOF be declared?
DO WHILE(^EOF);

Correct Answer: D Vote an answer
CORRECT TEXT
What is the output of the following program?
MAIN: PROC OPTIONS(MAIN);
DCL
1 A UNION,
2 5 CHAR(4) INIT('FADE'),
2 C CHAR(2);
C = 'BA';
PUT SKIP LIST( B !! C);
END;

Correct Answer: D Vote an answer
CORRECT TEXT
What happens after the following code is executed?
DCL A CHAR(5) lNlT('ABCDE'); DCL B CHAR(4) DEF A POS(2);

Correct Answer: A Vote an answer
CORRECT TEXT
Which of the following options is proper for the PROC statement, but invalid for the ENTRY statement?

Correct Answer: A Vote an answer
CORRECT TEXT
What is the key difference between logical file name and physical dataset name?

Correct Answer: A Vote an answer

Contact Us

If you have any question please leave me your email address, we will reply and send email to you in 12 hours.

Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday

Support: Contact now 

日本語 Deutsch 繁体中文 한국어