Online Access Free C9050-042 Practice Test

Exam Code:C9050-042
Exam Name:Developing with IBM Enterprise PL/I
Certification Provider:IBM
Free Question Number:140
Posted:Jul 21, 2026
Rating
100%

Question 1

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;

Question 2

In which of the following groups of compiler options could all the options specified cause the compiler to
generate code which requires more time at execution?

Question 3

Given the following code, which call will pass a dummy argument?
PROG: PROC OPTIONS(MAIN);
DCL SUM01 DEC FIXED(5,0) INIT (7);
DCL SUM02 DEC FIXED(9,0) INIT (999);
CALL SUBA(SUM01,
SUM02);
CALL SUSB(SUM01,
SUM02);
CALL SUBC(SUM01,
SUM02);
CALL SUBD(SUM01,
SUM02);
SUBA PROC( PRM1,
PRM2);
DCL PRM1 DEC FIXED (5,0) BYVALUE,
PRM2 DEC FIXED (9,0);
END SUBA;
SUBB:PROC( PRM1,
PRM2);
DCL PRM1 DEC FIXED (5,0),
PRM2 DEC FIXED (9,0);
END SUBD;
SUBC: PROC( PRM 1,
PRM2);
DCL PRM1 BIN FIXED (15,0),
PRM2 DEC FIXED (9,0);
END SUBC;
SUBD:PROC( PRM 1,
PRM2);
DCL PRM1 DEC FIXED(5,0) BYADDR,
PRM2 DEC FIXED (9,0) SYADDP;
END SUBD;
END PROG;

Question 4

Which of the following PL/I features is NOT new with Enterprise PL/I?

Question 5

A compiler listing annotated with execution counts per statement helps identify all of the following
EXCEPT

Add Comments

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

insert code
Type the characters from the picture.