Online Access Free 000-041 Exam Questions

Exam Code:000-041
Exam Name:Programming with IBM Enterprise PL/I
Certification Provider:IBM
Free Question Number:146
Posted:Jun 02, 2026
Rating
100%

Question 1

CORRECT TEXT
What is the difference between the following two DECLARE statements, if any?
XX: PROC;
DCLA BIN FIXED(31) STATIC INIT(O);
DCL B SIN FIXED(31) AUTOMATIC INIT(0);
END;

Question 2

CORRECT TEXT
Given the following piece of code, what will be the output of the preprocessor?
%F: PROC(S) RETURNS(CHAR);
DCL S CHAR;
RETURN(SUBSTR(S, 1, 1));
%END;
PUT (F(ABC));
%ACTIVATE F;
PUT (F(ABC));

Question 3

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 = ";

Question 4

CORRECT TEXT
If the physical dataset referred to by DDOUT has a maximum record length of 4096 and a
RECFM=V, what happens after executing the following code?
DCL DDOUT FILE RECORD OUTPUT;
DCL OUT_CHAR CHAR(500) VARYING INIT('This is a varchar test'); OPEN FILE(DDOUT);
WRITE FILE(DDOUT) FROM(OUT_CHAR);

Question 5

CORRECT TEXT
What is the most appropriate declaration for the variable X?
X= 1,123E+4;

Add Comments

Your email address will not be published. Required fields are marked *

insert code
Type the characters from the picture.