Free C9050-041 Exam Braindumps
Programming with IBM Enterprise PL/I (C6030-041) (page: 23)

B. 7
C. 5
D. 4

Answer(s): C
QUESTION: 62
Given the following code, with what attribute should the variable EOF be declared?

DO WHILE(^EOF);

A. FIXED BIN (7)
B. BIT (1)
C. CHAR (1)
D. FIXED DEC (3)

Answer(s): B
QUESTION: 63
If the physical dataset referred to by DDOUT has a record length of 200 and RECFM=F, what
happens after executing the following code?

DCL DDOUT FILE RECORD OUTPUT;
DCL OUT_CHAR CHAR(200) INIT('Hello World');
WRITE FILE(DDOUT) FROM(OUT_CHAR);

A. One record with a length of 11 will be written to the output file.
B. One record with a length of 200 will be written to the output file.
C. Compiler error because there is no OPEN statement.
D. Runtime error because there is no OPEN statement.

Answer(s): B
QUESTION: 64
What is the most appropriate declaration for the variable X?

X = 1.123E+4;

A. DCL X CHAR(4);
B. DCL X PIC '9999';
C. DCL X DEC FLOAT(16);
D. DCL X DEC FIXED(15, 3);

Answer(s): C
QUESTION: 65
Which is the most appropriate code to turn all of the bits in A ON?
Viewing page 23 of 52
Viewing questions 89 - 92 out of 146 questions


Post your Comments and Discuss IBM C9050-041 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!