IBM Programming with IBM Enterprise PL/I - 000-041무료 덤프문제 풀어보기
CORRECT TEXT
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('HeIlo World'); WRITE FILE(DDOUT) FROM(OUT_CHAR);
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('HeIlo World'); WRITE FILE(DDOUT) FROM(OUT_CHAR);
정답: B
CORRECT TEXT
Which of the following is a BIN FIXED constant?
Which of the following is a BIN FIXED constant?
정답: D
CORRECT TEXT
What happens after executing t he following code?
DCLA BIN FIXED(15);
A = 1_000
What happens after executing t he following code?
DCLA BIN FIXED(15);
A = 1_000
정답: A
CORRECT TEXT
If the following syntax is incorrect, how should the syntax be changed?
DCL A CHAR(100) BASED(P);
DCL P PTR;
ALLOCATE A;
READ FILE(DDIN) INTO(A);
If the following syntax is incorrect, how should the syntax be changed?
DCL A CHAR(100) BASED(P);
DCL P PTR;
ALLOCATE A;
READ FILE(DDIN) INTO(A);
정답: A
CORRECT TEXT
Given the following code, how many elements of A will contain a value of 0 after execution of the
loops?
DOL A DIM (8, 10) FIXED BIN (31);
DCL(I, K) FIXED BIN (31) INIT (0);
A = 0;
DO I = 2 TO 8;
DO K = 1 TO 10;
A(I, K) = l*K;
END;
END;
Given the following code, how many elements of A will contain a value of 0 after execution of the
loops?
DOL A DIM (8, 10) FIXED BIN (31);
DCL(I, K) FIXED BIN (31) INIT (0);
A = 0;
DO I = 2 TO 8;
DO K = 1 TO 10;
A(I, K) = l*K;
END;
END;
정답: C
CORRECT TEXT
Given the following code, what condition prefixes should be placed before the statement to ensure that the reference is valid?
PUT SKIP LIST( '< !! SUBSTR(X,1 ,N) !!'>');
Given the following code, what condition prefixes should be placed before the statement to ensure that the reference is valid?
PUT SKIP LIST( '< !! SUBSTR(X,1 ,N) !!'>');
정답: B