| Exam Code/Number: | C9050-041Join the discussion |
| Exam Name: | Programming with IBM Enterprise PL/I |
| Certification: | IBM |
| Question Number: | 146 |
| Publish Date: | Jul 11, 2026 |
|
Rating
100%
|
|
CORRECT TEXT
What is the result of executing the following code?
DCL A CHARACTER (4) INIT('10.5');
DCL B DEC FIXED(71) INIT(10.5);
B = A + B;
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 TEXT
Given the following code, which SIGNAL statement would cause a new page starting with the line 'header text' to be written to file X?
DCLX FILL STREAM PRINT OUTPUT;
ON ENDPAGE(X) PUT SKIP FILE(X) LIST('header text');
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 TEXT
Under default condition enablement, what is the result of executing the following code?
DCLX CHAR(5) INIT('A1234');
DCL Y PlC '9999' INIT(0);
Y = X;