A file containing FIXED BINARY fields that is written by a PL/I program on Intel Architecture is to be read by PL/I programs on Intel Architecture and on the mainframe. What must be changed in the program which reads the file on Intel architecture, if anything, for it to work correctly when it runs on the mainframe?
A. The program must declare the FIXED BINARY fields with the attribute NATIVE.Given the following pseudocode inside a loop, where should the COMMIT action be placed assuming that there is always a one-to-many relationship between header and detail tables?
1 Find header row 2 IF found 3 Update header row 4 Find detail row 5 IF found THEN 6 Update detail rows 7 ELSE 8 ENDIF 9 ENDIF
A. Afterline 3A module which is serially reusable has which of the following characteristics?
A. Is intended for single use only and must be refreshed from disk before it can be invoked againWhat 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. Two records are read.PL/I programs which have been written under Intel architecture are now to be recompiled and run on the mainframe. What will happen to the programs during compilation and execution?
A. They will not run correctly because the byte order on mainframe is bigendian.What happens to AUTOMATIC variables when a procedure is called recursively?
A. The values from the previous invocation are lost.Given the following code, what are the default attributes of DSET1 after the READ statement?
DCL DATA CHAR (80);
DCL DSET1 FILE;
READ FILE(DSET1) INTO(DATA);
A. SEQUENTIAL RECORD INPUTIn 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. BlanksIt becomes apparent that the deadline to implement and test all the functions required for an application is at risk. Which of the following is the best course of action?
A. Inform management that more people are required.What is the output of the following program?
DCL A AREA(8000);
DCL 1 STR1 BASED(P),
2 STR1_LGTH BIN FIXED(31),
2 STR_CHAR CHAR(ALLOC_LGTH REFER(STR1_LGTH));
DCL ALLOC_LGTH BIN FIXED(31);
DCL I FIXED BIN(31);
DCL P PTR;
ALLOC_LGTH = 100;
DO I = 1 TO 10;
ALLOC STR1 IN(A);
END;
PUT SKIP LIST(CSTG(A));
A. 1016Nowadays, 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.