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

How to define a array dynamically.....

5 Answers   Fidelity,


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

0 Answers  


I have two sequential files, FILE-1 and FILE-2. FILE-1 contains 2 columns(A,B) and FILE-2 contains 3 columns (C,D,E).I want an output file, FILE-3 which has all five columns with duplicates eliminated from column A.

3 Answers  


What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I am going to Display the WS-VARX and WS- VARN?

6 Answers   Xansa,


Hai friends why we need to read a file before re-write a record?

7 Answers   L&T,






What are some examples of command terminators?

1 Answers  


wht is load module and object module ?

2 Answers   DELL, TCS,


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

0 Answers   IBM,


With in these three which one is the default one Call Reference, Call By Value, Call By Content.-Which one is default?

4 Answers   IBM,


wht is the difference between goto and perform stmts

7 Answers   DELL,


Which Search verb is equivalent to PERFORM…VARYING?

0 Answers  


what are decleratives in cobol?

0 Answers   GGG, Satyam,


Categories