IBM C9050-042 Exam Overview:
| Certification Vendor: | IBM |
| Exam Name: | Developing with IBM Enterprise PL/I |
| Exam Number: | C9050-042 |
| Available Languages: | English, Japanese |
| Passing Score: | 70% |
| Exam Price: | USD 200-300 |
| Exam Format: | Multiple Choice |
| Certificate Validity Period: | 3 years |
| Exam Duration: | 90-120 |
| Real Exam Qty: | 60-140 |
| Recommended Training: | IBM Education PL/I Courses IBM Enterprise PL/I for z/OS Documentation |
| Exam Registration: | IBM Certification Registration Pearson VUE Scheduling |
| Sample Questions: | IBM C9050-042 Sample Questions |
| Exam Way: | Proctored online or at authorized Pearson VUE test centers |
| Pre Condition: | No mandatory prerequisites; recommended working experience with IBM Enterprise PL/I and z/OS environment |
| Official Syllabus URL: | https://www.ibm.com/certify/certs/c9050042.shtml |
IBM C9050-042 Exam Syllabus Topics:
| Section | Weight | Objectives |
|---|---|---|
| Performance and Optimization | 15% | - Compiler options and runtime tuning - I/O and processing performance - Memory and storage efficiency |
| File Processing and Database Connectivity | 20% | - Data manipulation and transaction control - Sequential and VSAM file processing - Database connectivity and SQL integration |
| Debugging, Testing and Maintenance | 15% | - Compilation and listing analysis - Debugging techniques and tools - Unit testing and code validation |
| PL/I Language Fundamentals | 25% | - Syntax and data types - I/O operations and file handling - Variables, constants, and expressions - Procedures and functions - Control structures |
| Advanced PL/I Concepts | 25% | - Strings and arrays - Structures and records - Pointers and dynamic memory allocation - Object-oriented features in PL/I - Error and exception handling |
IBM Developing with IBM Enterprise PL/I Sample Questions:
1. Program A calls program B with PC as a parameter defined BIN FIXED (31 .0). Program B sets PC as
follows:
0 OK
4 WARNING
8 ERROR
Which of the following is the most appropriate statement for testing the PC variable?
A) IF (RC ^= 0) & (RC ^= 4) THEN PUT SKIP LIST('ERROR IN B');
ELSE IF RC> 8 THEN PUT SKIP LIST('UNKNOWN VALUE FROM B);
B) IF (RC >4) THEN PUT SKIP LIST('ERROR IN B');
ELSE PUT SKIP LIST('UNKNOWN VALUE FROM B');
C) SELECT (RC);
WHEN (0, 4);
OTHERWISE
PUT SKIP LIST('UNKNOWN VALUE FROM B');
END;
D) SELECT (RC); WHEN (0,4); WHEN (8) PUT SKIP LIST ('ERROR IN B');
OTHERWISE PUT SKIP LIST('UNKNOWN VALUE FROM B');
END;
2. SUBSCRIPTRANGE checks which of the following?
A) The address generated for accessing an array element is checked to be sure it falls within the storage
allocated to the array.
B) The value of each subscript used to refer to an array element is checked for validity beforethe element
is accessed.
C) The subscripts of an array are checked for conformance with iSUB defining rules.
D) The value of each subscript used to refer to an array element is checked for validity after the element is
accessed.
3. What will be printed, if anything, to SYSPRINT after executing the following code?
DCL A FIXED CONTROLLED;
DCL P PTR;
DCL X FIXED BASED(P);
ALLOC A;
A = 1;
ALLOC A;
A = 2;
P = ADDR(A);
ALLOC A;
A = 3;
P = ADDR(A);
ALLOC A;
A = 4;
FREE A;
FREE A;
PUT DATA(X);
A) The results are undefined.
B) 2
C) 3
D) 4
4. In the following example what value will be printed to SYSPRINT, if any, from the PUT LIST in PGM_A?
PGM_A PROC;
DCL INPARM CHAR (10) INIT('FIRST CALL);
DCL P_OUT PTR;
DCL OUTPARM CHAR(10) BASED (P_OUT);
DCL PGM_B ENTRY(CHAR(10),PTR) EXTERNAL:
CALL P0MB (INPARM,P OUT);
IF OUTPARM = 'RESULT 'THEN
DO;
INPARM = ";
CALL PGM_B (INPARM,P_OUT);
END;
PUT LIST(OUTPARM);
END;
PGM_B: PROC(INPARMP_OUT);
DCL INPARM CHAR (10);
DCL P_OUT PTR;
DCL OUTPARM CHAR (10) INIT(");
P_OUT = ADDR(OUTPARM);
IF INPARM ='FIRST CALL THEN
OUTPARM = 'RESULT ';
ELSE
OUTPARM = 'NO RESULT';
END;
A) 'NO RESULT'
B) 'RESULT'
C) Unpredictable
D) Blanks
5. Which of the following is a best practice to make debugging easier?
A) Use the runtime option STORAGE(00,,00,0K)
B) Have the calling program test the return code after the call.
C) CALL PLIDUMP('TFCHAB','Spot Dump'); at key points in the program logic.
D) Use a variable updated with the program name.
Solutions:
| Question # 1 Answer: D | Question # 2 Answer: B | Question # 3 Answer: A | Question # 4 Answer: C | Question # 5 Answer: C |

We're so confident of our products that we provide no hassle product exchange.


By Salome


