IBM Programming with IBM Enterprise PL/I - C6030-041 Free Exam Questions

QUESTION NO: 1
CORRECT TEXT
Given the following external subroutine, what ENTRY declaration must NOT be used in a program that calls the subroutine?
SR1: PROC (STR);
DCL SUBSTR BUILTIN;
DCL
1 STR,
3 V1 DEC FIXED (3),
3 V2 BIN FIXED (31),
3 VS CHARACTER (3);
STR.V1 =STR.V1 +1;
STRV2 = STR.V2 + 1;
STR.V3 = SUBSTR(STR.V3,1.1)!!' ';
END SR1;

Correct Answer: C Vote an answer
QUESTION NO: 2
CORRECT TEXT
Given the following piece of code, which loop construct using WHILE or UNTIL will give identical output?
DCLI FIXED BIN (31);
DO I = 10 TO 1 BY - 1;
PUT (I);
END;

Correct Answer: A Vote an answer
QUESTION NO: 3
CORRECT TEXT
Which is the most appropriate data type declaration for the variable A in the following expression, if A is used as a counter?
A = A + 1;

Correct Answer: C Vote an answer
QUESTION NO: 4
CORRECT TEXT
What would be printed to SYSPRINT after executing the following code?
DCL A DEC FIXED(15,3) INIT(1000.123);
DCL B PlC 'ZZZZ9V.999' INIT(0);
B = A + 2000.123;
UT SKIP LIST('THE VALUE OF B IS:'!! B);

Correct Answer: B Vote an answer
QUESTION NO: 5
CORRECT TEXT
If the physical dataset referred to by DDOUT has a maximum record length of 200 and RECFM=V,
what happens alter executing the following code?
DCL DDOUT FILE RECORD OUTPUT;
DCLI BIN FIXED(15) INIT(0);
DCL 1 OUTSTR,
2 A CF-IAR(150),
2 B CI-IAR(46);
OPEN FILE(DDOUT);
DO It 1 TO 10;
WRITE FILE(DDOUT) FROM(OUTSTR);
END;

Correct Answer: A Vote an answer
QUESTION NO: 6
CORRECT TEXT
If the following syntax is incorrect, how should the syntax be changed?
READ FILE(DDIN) IN STRUC1;

Correct Answer: D Vote an answer
QUESTION NO: 7
CORRECT TEXT
What has to be done, if anything, when the compiler warns that a variable may be uninitialized when used?

Correct Answer: A Vote an answer

QUALITY AND VALUE

Actual4test Practice Exams are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development - no all study materials.

Tested and Approved

We are committed to the process of vendor and third party approvals. We believe professionals and executives alike deserve the confidence of quality coverage these authorizations provide.

Easy to Pass

If you prepare for the exams using our Actual4test testing engine, It is easy to succeed for all certifications in the first attempt. You don't have to deal with all dumps or any free torrent / rapidshare all stuff.

Try Before Buy

Actual4test offers free demo of each product. You can check out the interface, question quality and usability of our practice exams before you decide to buy.