diffrence between z(2) and z9(2)

Answers were Sorted based on User's Feedback



diffrence between z(2) and z9(2)..

Answer / guest

z(2) - supresses 2 leading zeores

z9(2) - supresses 1 leading zero

Is This Answer Correct ?    26 Yes 7 No

diffrence between z(2) and z9(2)..

Answer / rama

z(2) occupies two bytes and will supress the leading zeros
z9(2) occupies 3 bytes and will supress the leading zeros
in the first byte.

Is This Answer Correct ?    6 Yes 3 No

diffrence between z(2) and z9(2)..

Answer / vijay

suppression with leading zeros

Is This Answer Correct ?    0 Yes 4 No

diffrence between z(2) and z9(2)..

Answer / srikanth doki

z(2) means it will fills with two zeroes
and z9(2) it will fill left most with zero and the other bit
will empty

Is This Answer Correct ?    1 Yes 5 No

Post New Answer

More COBOL Interview Questions

SIGN TRAILING SEPARATE field occupy ?

3 Answers  


Write the code to count the sum of n natural numbers.

0 Answers  


Can we MOVE X(9) to 9(9) OR 9(9) to X(9)? If yes what are the ways for doing this?

12 Answers   T systems, Tech Mahindra,


what is internal sort and external sort ? which is preferable ?

2 Answers   TCS,


What care has to be taken to force program to execute above 16 Meg line?

1 Answers  






db2 variable decimal(15,2) what is the equalent size of cobol variable

2 Answers   Syntel,


For rewrite, why is it mandatory that file needs to be opened?

0 Answers  


What COBOL construct is the COBOL II EVALUATE meant to replace?

1 Answers  


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

0 Answers  


Suppose i have a variable with s9(18)v99 comp3 . what is the size of variable . If s9(18) comp3 is 10 bytes . There should be some difference between two allocations ? Thanks krishna chaitanya

2 Answers   CSC,


How do define dynamic array in cobol.

0 Answers  


01rec1. 05 a pic 999v99 value 123.12 05 b pic 99v9 value 45.9 02 rec2. 05 x pic 999v99 05 y pic 99v99 05 z pic x(3) value 'abc' if rec1 is moved to rec2 then what is the value of rec2?

5 Answers   Amdocs,


Categories