pic S9(4) results 3 bytes1
A) comp
B) comp1
C) display
D) comp3

Answers were Sorted based on User's Feedback



pic S9(4) results 3 bytes1 A) comp B) comp1 C) display D) comp3 ..

Answer / guest

d Comp-3

because for S9(n)
if n is odd no of bytes is (n+1)/2
if n is even no of bytes is (n/2)+1

Is This Answer Correct ?    11 Yes 1 No

pic S9(4) results 3 bytes1 A) comp B) comp1 C) display D) comp3 ..

Answer / reddy

Ans is D.

For any comp3 variables,
for s9(n), the number of bytes it stores is n/2 + 1

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More IBM MainFrame AllOther Interview Questions

Can you define an alias?

0 Answers  


What is the function of dbctl?

0 Answers  


how do we prepare test data using file-aid tool?

0 Answers   Syntel,


How much memory does variable of 6 decimal (15, 2) take in PL/1?

1 Answers   IBM,


how do u code a copy book in ur pgm ?

1 Answers   IBM,






Attended Xansa Interview , Asked Questions : 1) Diff between Renames and Redefines 2) Comp and Comp -3 3) What will happen if DISP = ( NEW, DELETE, KEEP) 4) Gave one scenario like , if PIC clause X(50) has to be increased to X(70) how u will proceed with this change. 5) Diff between Section and Paragraph

4 Answers   Xansa,


How many bytes will a s9(8) comp field occupy ?

0 Answers  


what u mean by csrloc and rtncsrloc in rpgIV in as/400.Give an eg? to do...give some coding...what is row no and column no ???..if possible...give a no of lines coding....please

0 Answers   CTS,


can we describe the results of opening for input empty vsam files in a cobol program?

0 Answers   IBM,


What is the maximum value that can be stored in s9(8) comp?

0 Answers  


What is meant by a bolt dispute?

0 Answers  


Does qtp tool support mainframe application testing?

0 Answers  


Categories