# [Free] 2018(Jan) EnsurePass Pass4sure IBM C9050-041 Dumps with VCE and PDF 61-70

Ensurepass.com : Ensure you pass the IT Exams
2018 Jan IBM Official New Released C9050-041
http://www.EnsurePass.com/C9050-041.html

Programming with IBM Enterprise PL/I

#### Question No: 61 – (Topic 1)

Which of the following is NOT a valid way to set a pointer P to zero?

1. UNSPEC(P) = #39;#39;B;

2. P = PTRVALUE(0);

3. P = SYSNULL();

4. P = 0;

#### Question No: 62 – (Topic 1)

Given the following piece of code, what will be the output of the preprocessor?

%F: PROC(S) RETURNS(CHAR);

DCL S CHAR;

RETURN (SUBSTR(S, 1, 1));

%END;

PUT (F(ABC));

TIVATE F; PUT (F(ABC));

1. PUT (F(ABC));PUT (A);

2. PUT (A);PUT (F(ABC));

3. PUT (A);PUT (A);

4. PUT (F(ABC));PUT (F(ABC));

#### Question No: 63 – (Topic 1)

If the physical dataset referred to by DDIN has a record length of 200 and a RECFM of F, what happens after executing the following code?

DCL DDIN FILE RECORD INPUT; DCL P PTR;

DCL 1 INSTR BASED(P), 2 A CHAR(100),

2 B CHAR(100);

ALLOCATE INSTR; OPEN FILE(DDIN);

1. One record will be read into the buffer and the pointer will be set accordingly.

2. One record will be read into the structure INSTR.

3. READ INTO cannot be used on a BASED structure.

4. Program will abend because P has not been properly initialized.

#### Question No: 64 – (Topic 1)

Given the following code, what declaration of I will cause an infinite loop under default condition enablement?

DO I = 1 TO 99;

1. DCL I FIXED BIN (7);

2. DCL I FIXED DEC (3,0);

3. DCL I PIC#39;99#39;;

4. DCL I FLOAT;

#### Question No: 65 – (Topic 1)

In which of the following cases is it possible to change the value of a variable in a routine when it is passed to the routine as an argument?

1. The argument is declared as FIXED BIN(15), and the corresponding parameter is declared as FIXED BIN(15) BYVALUE.

2. The argument is declared as FIXED BIN(15), and the corresponding parameter is declared as FIXED DEC(7) BYADDR.

3. The argument is declared as FIXED DEC(7), and the corresponding parameter is declared as FIXED DEC(7) BYADDR.

4. The argument is declared as CHAR(10) VAR, and the corresponding parameter is declared as CHAR(10).

#### Question No: 66 – (Topic 1)

What is the result, if any, of executing the following code? DCL A BIT(1) INIT(#39;0#39;B);

DCL B BIT(1) INIT(#39;0#39;B);

DCL C BIT(1) INIT(#39;1#39;B);

A = B ! C;

1. The value of A is #39;0#39;B

2. The value of A is #39;1#39;B.

3. The value of A is unpredictable.

4. There is no result, because the syntax is wrong.

#### Question No: 67 – (Topic 1)

What is the most appropriate way to assign a value to variable A?

DCL A BIN FIXED(15);

A. A = #39;17#39;;

B. A = 17.29; C. A = #39;1729#39;X; D. A = 17;

#### Question No: 68 – (Topic 1)

Given the following code, what procedure will be accepted by the compiler?

DCL A DIM (10) CHAR (100) VAR BASED (P); DCL P PTR;

ALLOCATE A; CALL SUB (P);

1. SUB: PROCEDURE (P);DCL P PTR;DCL A DIM (10) CHAR (100) VAR BASED (P);END SUB;

2. SUB: PROCEDURE (P);DCL P PTR;DCL A DIM (*) CHAR (100) VAR BASED (P);END

SUB;

3. SUB: PROCEDURE (P);DCL P PTR;DCL A DIM (10) CHAR (*) VAR BASED (P);END SUB;

4. SUB: PROCEDURE (P);DCL P PTR;DCL A DIM (*) CHAR (*) VAR BASED (P);END SUB;

#### Question No: 69 – (Topic 1)

What is the value of A after executing the following code?

DCL A CHAR(6) INIT (#39;ABCDEF#39;); DCL B CHAR(10) INIT (#39;0123456789#39;);

A = SUBSTR(B,5,3);

A. #39;456 #39;

B. #39; 456#39;

1. #39;456DEF#39;

2. #39;ABC456#39;

#### Question No: 70 – (Topic 1)

Given the following code, with what attribute should the variable EOF be declared?

DO WHILE(^EOF);

1. FIXED BIN (7)

2. BIT (1)

3. CHAR (1)

4. FIXED DEC (3)
{"ft_lang_label":"__label__en","ft_lang_prob":0.65546435,"math_prob":0.86056674,"size":4626,"snap":"2020-24-2020-29","text_gpt3_token_len":1565,"char_repetition_ratio":0.15967114,"word_repetition_ratio":0.1696751,"special_character_ratio":0.37591872,"punctuation_ratio":0.16328414,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9661198,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2020-06-05T05:15:19Z\",\"WARC-Record-ID\":\"<urn:uuid:21915ac6-fec4-4f9f-ad1c-a6c980ac7b5e>\",\"Content-Length\":\"191161\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:32d5ee93-11c2-44db-b13b-23c9330dab00>\",\"WARC-Concurrent-To\":\"<urn:uuid:f5763662-146f-47b6-a384-0bbb0d6bdc06>\",\"WARC-IP-Address\":\"198.252.99.143\",\"WARC-Target-URI\":\"http://www.ccnatesting.com/free-2018jan-ensurepass-pass4sure-ibm-c9050-041-dumps-with-vce-and-pdf-61-70/\",\"WARC-Payload-Digest\":\"sha1:LOYTV4XUIM57HJCR4GVCGX2SHVOFX7F7\",\"WARC-Block-Digest\":\"sha1:GL2C73X3BEIE74BQWYG5UQRGLUUAFC5U\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2020/CC-MAIN-2020-24/CC-MAIN-2020-24_segments_1590348493151.92_warc_CC-MAIN-20200605045722-20200605075722-00420.warc.gz\"}"}