IBM 000-041 Actual Free Exam Questions & Community Discussion

  • Exam Code/Number: 000-041
  • Exam Name/Title: Programming with IBM Enterprise PL/I
  • Certification Provider: IBM
  • Corresponding Certification: IBM certifications II
  • Exam Questions: 146
  • Updated On: Sep 08, 2026
CORRECT TEXT
What is the result, if any, of executing the following code?
DCL A BIT(1) INIT('0'B);
DCL B BIT(1) INIT('0'B);
DCL C BIT(1) INIT('1'B);
A = B = C;
Correct Answer: D Vote an answer
CORRECT TEXT
Which of the following is a restriction using the BYVALUE attribute?
Correct Answer: C Vote an answer
CORRECT TEXT
What value is output by the following program?
TEST: PACKAGE;
D
CL N EXT FIXED BIN(31) INIT(10);
DCLC(N) EXT CONTROLLED FIXED BIN(31);
MAIN: PROC OPTIONS(MAIN);
ALLOC C;
ALLOC C(20);
N = 30;
CALL UPGM;
END;
UPGM: PROC;
ALLOC C;
N = 40;
PUT SKIP LIST( DIM(C));
END;
END;
Correct Answer: D Vote an answer
CORRECT TEXT
What does BX.WOK.LOAD refer to in the following job control statement?
I/ACCOUNT DD DSN=BX.WOK.LOAD,DISP=SHR
Correct Answer: C Vote an answer
CORRECT TEXT
Which of the following is a BIN FIXED constant?
Correct Answer: D Vote an answer
CORRECT TEXT
What will be printed to SYSPRINT, if anything, after executing the following code?
DCL A PlC '9999'.
A =' 123';
PUT SKIP LIST('VALUE OF A lS:' !! A);
Correct Answer: B Vote an answer
CORRECT TEXT
Which of the following pieces of code will result in a compiler error message?
Correct Answer: B Vote an answer
CORRECT TEXT
What value will be output when the following code is executed?
TEST: PROC OPTIONS(MAIN);
DCLA(*) CONTROLLED FIXED BIN(31);
ALLOC A(10);
CALL SUB(A); PUT SKIP LIST( HBOUND(A,1));
SUB: PROC( B);
DCL B(*) CONTROLLED FIXED BIN(31);
ALLOC B(2*HBOUND (B,1));
ALLOC B( 2*HBOUND(B,1)); END;
END;
Correct Answer: C Vote an answer
CORRECT TEXT
What is the value of A after executing the following code?
DCL A CHAR(8) NIT ('EfGhIjKI'); DCL TRANSLATE BUILTIN;
A = TRANSLATE(A,'ABCDEFGH','abcdefgh');
Correct Answer: C Vote an answer
CORRECT TEXT
Given the following code, which code is NOT equivalent?
DCL A CHAR (1);
...
SELECT (A);
WHEN ('A') PUT ('1')
WHEN ('B') PUT ('2')
WHEN ('C') PUT ('3');
OTHER;
END;
Correct Answer: C Vote an answer
0
0
0
10