Three things set the C9050-042 materials at TestsDumps apart from the rest of the field: support staffed around the clock, instant download after purchase, and three versions you choose from freely — the freedom, the speed and the people.
IBM C9050-042 Exam Syllabus Topics:
| Section | Weight | Objectives |
|---|---|---|
| Debugging, Testing and Maintenance | 15% | - Unit testing and code validation - Debugging techniques and tools - Compilation and listing analysis |
| PL/I Language Fundamentals | 25% | - Procedures and functions - I/O operations and file handling - Syntax and data types - Control structures - Variables, constants, and expressions |
| Performance and Optimization | 15% | - I/O and processing performance - Memory and storage efficiency - Compiler options and runtime tuning |
| File Processing and Database Connectivity | 20% | - Sequential and VSAM file processing - Data manipulation and transaction control - Database connectivity and SQL integration |
| Advanced PL/I Concepts | 25% | - Pointers and dynamic memory allocation - Structures and records - Error and exception handling - Object-oriented features in PL/I - Strings and arrays |
Your C9050-042 Questions, Answered Around the Clock
- File Processing and Database Connectivity (20%)
- Debugging, Testing and Maintenance (15%)
- PL/I Language Fundamentals (25%)
IBM Developing with IBM Enterprise PL/I Sample Questions:
Given the following statements, where will the variables A, B and C be allocated?
DCL A FIXED;
DCL B CHAR(80) BASED(P);
DCL C CHAR(1000) CONTROLLED;
DCL D AREA(1000);
DCL P PTR STATIC;
ALLOC C;
ALLOC B IN(D);
- A. A in STACK, B and C are in HEAP
- B. A in HEAP, Band C are in STACK
- C. A and B are in STACK, C in HEAP
- D. A in STACK, B in STATIC, C in HEAP
Correct Answer: C 🗳️
What happens after executing the following code, assuming the input file has more than 1 record?
DCL INPFILE FILE RECORD INPUT ENV(VB RECSIZE(100)); DCL P PTR;
DCL B CHAR(100) VARYING BASED(P);
DCLC CHAR(110) VARYING BASED(P);
READ FILE(INPFILE) SET(P);
C=B!! 'EXTENDED
READ FILE(INPFILE) SET(P);
- A. Protection exception because of the reference to B.
- B. The results are unpredictable.
- C. ENDFILE condition is raised on the second read.
- D. Two records are read.
Correct Answer: B 🗳️
Given the following code, which DECLARE should NOT be used for a reentrant program?
DCL B BIN FIXED(31,0) INIT (4); A = B;
- A. DCL A BIN FIXED (31,0) INIT(0) STATIC;
- B. DCL A BIN FIXED (31,0) INIT(0) AUTOMATIC;
- C. DCL A BIN FIXED (31,0);
- D. DCL A BIN FIXED (31,0) INIT(0);
Correct Answer: A 🗳️
Given the following code, what will happen?
DCL(K, L) FIXED DEC (1);
K= 1;
L = 2;
PUT SKIP LIST (12+K/L);
- A. The resulting value is 6.5.
- B. The program ends abnormally at runtime.
- C. The output is 12.5.
- D. The output is 12.4999999999999.
Correct Answer: B 🗳️
In the following example, what value will be written to SYSPRINT, if anything, by the PUT statement in
PGM_A?
PGM_A: PROC;
DCL INPARM CHAR (12) INIT('FIRST CALL? ');
DCL P_OUT PTR;
DCL OUTPARM CHAR (10) BASED (P_OUT);
DCL PGM_B ENTRY (CHAR(12),PTR) EXTEPNAL;
CALL PGM_B (INPARM,P_OUT);
IF OUTPARM = 'YES' THEN
DO;
INPARM = 'FOLLOW ON';
CALL PGM_B (INPARM,P_OUT);
END;
ELSE
DO;
INPARM = 'NORMAL CALL';
CALL PGM_B (INPARM,P_OUT);
END;
PUT SKIP LIST(OUTPARM);
END;
PGM_B: PROC(INPARM,P_OUT);
DCL INPARM CHAR (12);
DCL P_OUT PTR;
DCL OUTPARM CHAR (12) STATIC INIT(");
P_OUT = ADDR(OUTPARM);
IF INPARM = 'FIRST CALL? ' THEN
OUTPARM = 'YES'; ELSE
IF OUTPARM = " THEN
OUTPARM = 'FIRST CALL';
END;
- A. blanks
- B. The results are unpredictable.
- C. 'YES'
- D. 'FIRST CALL'
Correct Answer: C 🗳️
Viewing page 1 out of 28 pages.
Viewing questions 1-5 out of 140 questions.







