Latest C90.02 Practice Tests with Actual Questions

Get Complete pool of questions with Premium PDF and Test Engine

Exam Code : C90.02
Exam Name : Cloud Technology Concepts
Vendor Name : "Arcitura"







C9050-042 Dumps

C9050-042 Braindumps C9050-042 Real Questions C9050-042 Practice Test C9050-042 Actual Questions


killexams.com


IBM


C9050-042


Developing with IBM Enterprise PL/I


https://killexams.com/pass4sure/exam-detail/C9050-042



Question: 134

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;


  1. 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.

  2. The code does not fulfill the requirement because the input structure is the same as the output structure.

  3. The code does not fulfill the requirement because the OPEN statements are missing.

  4. The code fulfills the requirement.




Answer: A



Question: 135

What happens after executing the following code? DCL OUTFILE FILE RECORD OUTPUT;

DCLP PTR;

DCL I BIN FIXED(31);

DCL A BIN FIXED(31) BASED(P); DO I = 1 TO 10;

LOCATE A FILE(OUTFILE) SET(P); A = I; END;

CLOSE FILE(OUTFILE);


  1. 10 records will be written with value 1 to 10.

  2. 10 records will be written with first record value undefined.

  3. 9 records will be written with value 1 to 9.

  4. 9 records will be written with value 2 to 10.




Answer: A



Question: 136

If the PROC name is less than 8 characters, what ENTRY point should be specified for a


  1. PLISTART

  2. CEESTART L

  3. The PROC name

  4. The PROC name followed by a ‘1’




Answer: C



Question: 137

Given the lollowing declarations, what statement will raise STRINGSIZE condition if enabled? DCLA_STR CHAR (100) VARYING;

DCLB_STR CHAR(10) STATIC; DCL C_STR CHAR (100);


  1. A_STR = B_STR;

  2. C_STR = B_STR;

  3. SUBSTR(C_STR, 92) = B_STR;

  4. C_STR = A_STR;




Answer: C



Question: 138

Given the following code, which call will pass a dummy argument? PROG: PROC OPTIONS(MAIN);

DCL SUM01 DEC FIXED(5,0) INIT (7); DCL SUM02 DEC FIXED(9,0) INIT (999); CALL SUBA(SUM01,

SUM02);

CALL SUSB(SUM01, SUM02); CALL SUBC(SUM01,

SUM02);

CALL SUBD(SUM01, SUM02); SUBA PROC( PRM1, PRM2);

DCL PRM1 DEC FIXED (5,0) BYVALUE, PRM2 DEC FIXED (9,0); END SUBA;

SUBB: PROC( PRM1, PRM2); DCL PRM1 DEC FIXED (5,0),

PRM2 DEC FIXED (9,0); END SUBD; SUBC: PROC( PRM 1, PRM2);

DCL PRM1 BIN FIXED (15,0), PRM2 DEC FIXED (9,0); END SUBC; SUBD: PROC( PRM 1, PRM2);

DCL PRM1 DEC FIXED(5,0) BYADDR, PRM2 DEC FIXED (9,0) SYADDP; END SUBD;


  1. Call to SUBA

  2. CaII to SUBB

  3. CaII to SUBC

  4. CaII to SUBD




Answer: C



Question: 139

Given the following code, what will happen? DCL(K, L) FIXED DEC (1); K= 1; L = 2;

PUT SKIP LIST (12+K/L);


  1. The output is 12.5.

  2. The program ends abnormally at runtime.

  3. The resulting value is 6.5.

D. The output is 12.4999999999999.




Answer: B



Question: 140

Given the following declaration for X: DCLX FIXED DEC (3) INIT (123);

If Y is declared as CHAR, what should its minimum length be to preserve the value 123 if these statements are executed?

Y = X; X =Y;


  1. 3

  2. 4

  3. 5

  4. 6




Answer: D