diffrence between z(2) and z9(2)
Answers were Sorted based on User's Feedback
Answer / guest
z(2) - supresses 2 leading zeores
z9(2) - supresses 1 leading zero
| Is This Answer Correct ? | 26 Yes | 7 No |
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 |
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 |
What is JOBLIB and STEPLIB in JCL? what is the purpose of using it?
a pic s9(4) comp b pic s9(4) comp-3 c ???????????????? d ???????????????? move a to c add a+B giving d. what is ur declaration for c,d?
I have a cobol program with a sub program. How ca i find that it is a dynamic call? or static call..?
Can we call a CICS program from a batch program or viceversa?If so, how?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What is COMP-1? COMP-2?
How arrays can be defined in COBOL?
what will happen if i give program name and member name as different? program runs successful or w'll abend?
why occurs clause not mentioned in 01 level
6 Answers HCL, NIIT, TCS, Tesco,
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.
plz any one tell clearly the justify right clause?
What is the figurative constant in cobol?