Given the following code, which procedure call would cause the "Pointer corrupted!" message to be output provided that the PL/I compile time option CHECK(STORAGE) has been specified? DCLX FIXED BIN (31) BASED (P);
DCL Y CHAR (5) BASED (P);
DCL P POINTER;
SUB: PROCEDURE (P);
DCL P POINTER;
if CHECKSTG(P) THEN PUT (`Pointer 0k!');
ELSE PUT (`Pointer corrupted!');
END;
A. ALLOCATEX;Y = `ABCD';CALL SUB (P);In which of the following cases is a performance analyzer tool NOT useful?
A. To time and tune programsWhich of the following declarations is NOT accepted by the compiler?
A. DCL A (3,3) FLOAT DEC (16) INIT ((3)(3)1);Which of the following compile list sections would be used to find the location of a static variable in a dump?
A. Attribute/Xref TableGiven the following declarations, which code is likely to perform best and correctly initialize structure 3?
DCL 1 S UNALIGNED, 2 A CHAR(3), 2 B BIN FIXED(31), 2 C DEC FIXED(5); DCL 1 T UNALIGNED LIKE S; T = ";
A. S = ";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;
A. The code does not fulfill the requirement because too many records will be written to the output dataset, except when the input dataset is empty.Given the following code, which set of statements will insert the new element into the doublylinked list after the element pointed to by P?
DCL1X BASED, 2 FORWARD POINTER, 2 BACKWARD POINTER, 2 DATA FIXED BIN (31); ALLOC X SET(Q);
A. Q->FORWARD = P;Q->BACKWARD = P->BACKWARD;P->FORWARD = QP->BACKWARD = Q;Given the following declaration, what is the most efficient way of setting C from A?
DCLA BIN FIXED(31) INIT(-123);
DCL C CHAR(6);
DCL P PlC '---- 9' DEFINED C;
A. C = A;Which of the following may be an advantage of the BEGIN OPTIONS (INLINE) statement?
A. The program runs faster because all variables declared inside the BEGIN block are already allocated when the block containing the BEGIN block is entered.Which of the following is NOT useful to translate business logic into the appropriate technical design?
A. GANTT chartsNowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only IBM exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your C6030-042 exam preparations and IBM certification application, do not hesitate to visit our Vcedump.com to find your solutions here.