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. `FIRST CALL'What happens after the following statements?
DCLI,J CHAR(5) INIT('54321');
I = J;
PUT LIST(l);
A. 54321 will be printed.What is a program internal specification document?
A. A description of how the program can be usedltthere is a direct read access to a data objectwith a unique key (e.g., DB2-SELECT, IMS-GU, ...),which otthe following return codes is possible?
A. OK, not found, database not availableWhat is a program specification document?
A. A description of what the program does and how it can be usedThe following function converts a character string to uppercase. What is the best way to improve the performance?
SET_TO_UPPERCASE: PROC(CHARSTR) RETURNS (CHAR(120) VARYING); DCL CHARSTR CHAR (120) VARYING;
DCL UCCHAR(26) INIT('ASCDEFGHIJKLMNOPQRSTUVWXYZ');
DCL LCCHAR(26) INlT('abcdefghijkImnopqrstuvxy'z');
DCL RCHAR(120) VARYING INIT(");
R = TRANSLATE(CHARSTR,UC,LC);
RETURN(R);
END SET_TO_UPPERCASE;
A. Use VALUE on the declares for UC and LC.Which of the following statements is best for avoiding synchronously updating a resource?
A. Have only program A update the resource without using ENQ.Which compiler option causes the compiler to flag any reference to structure members that are not level 1 and are not dot qualified?
A. RULES(NDLAXQUAL)A program reads a GSAM dataset sequentially, reads complementary information from DB2- Databases and uses this information to update an IMS-Database, At the end of the program statistics about how many records have been read and how many IMS-Segments have been updated should be printed. The program should write checkpoints regularly and should be restartable. Which of the following groups of information saved when the checkpoint is written will provide enough information to be able to restart the program correctly?
A. The key of the last record read from the GSAM dataset and the key of the last IMS segment changed.Which PL/I builtin function can be used to get the system return code from a called program (including non-PL/I languages)?
A. PLIRETCNowadays, 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.