What will be printed to SYSPRINT after the following statements?
DCLZZ9 PlC 'ZZ9' INIT(-1);
DCL A CHAR(10) INIT(LOW(10));
DCL B CHAR(10) INIT('PL/l');
SELECT;
WHEN(A = LOW(12))PUT('CASE 1');
WHEN(SUBSTR(B11.3) = 'PL/I') PUT('CASE 2');
WHEN(ZZ9 < 0)PUT('CASE 3');
OTHERPUT('CASE 4');
END;
Given the following code, which statement will produce an E level preprocessor message?
%DCL ABC ENTRY;
%ABC: PROC (X,Y) STATEMENT RETURNS(CHAR); DCL(XY) CHAR;
IF ^PARMSET(X) THEN NOTE('NO X ',0);
IF ^PARMSET(Y) THEN NOTE('NO Y '8');
RETURN('/* '!!X!!YI!'C */');
%END ABC;
Which of the following declarations is NOT accepted by the compiler?
Requirement:
The function LEAPYEAR evaluates a given 4-digit number and returns '1'B if it is a leap year, '0'B if it is
not. This function is supposed to work for the years 2004 to 2015.
Leap years occur every four years, except for years ending in 00 that are not divisible by 400. Which of
the following solutions meets the requirement and does NOT need to be changed if the requirement
changes to: The function is supposed to work for the years 1900 to 3000.
Given the following declaration, which code does NOT initialize C completely?
DCL 1 A,
2 B DIM (0:9),
3 C DIM (5) FIXED BIN (31),
3 D CHAR (100) VAR;
Which of the following is generally NOT an area of concern when calling a program written in another
language from PL/I?
Which of the following compiler options should be checked first when addressing performance issues in a
PL/I program?
Which of the following structures will NOT contain padding btes if the PL/I default for alignment is applied?
Which of the following would a non-technical manager be LEAST interested in regarding migration to
Enterprise PL/I?
A member of the team points out to the lead developer that there appears to be an error in the program
the lead developer has created. Which of the following is the most appropriate response from the lead
developer?