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 |
how would find total records in files using seqientional
What is the mode in which you will OPEN a file for writing?
COBOL program to read the string ' BOMBAY' in reverse order as 'YABMOB'
What is COMP-1? COMP-2?
What is the LINKAGE SECTION used in COBOL?
what is the size of W-REC in the following 01 W-REC 05 A PIC 9(4)V99 05 B READLINES A 10 C PIC XX 10 D PIC S9(4) 05 E OCCURS 7 PIC ZZ.ZZ 05 F OCCURS 5 10 G PIC ZZ.ZZZ99 10 H OCCURS 3 15 J PIC 9(3) 15 K PIC V99
In file1 have 80 records are like d1,d2,d3......D80. File2 have 1000records are like a1d1,a1d2,a3d3.....Etc. I want matching records in file3 ? Plse tell me the matching logic???I want answer only in cobol ?Not using any tool or jcl?
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases
how do you reference the printer file formats from cobol programs
Can a Search can be done on a table with or without Index?
How do you get the data to code the BMS macro?
input:-AABBCCDDEFGHIIJ output:- ABCDEFGHIJ Here in input we hav the duplicate characters i.e repeating characters.SO we should eliminate the duplicate characters and should display the output in ascending order.