01 a pic 9(6) value is 123456
01 b pic 9(3)
move a to b
wht will be the value ?
Post New Answer View All Answers
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is a SSRANGE and NOSSRANGE?
Why occurs cannot be used in 01 level in COBOL?
Difference between array and sub-script ?
Explain how you can characterize tables in cobol?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is the difference between PIC 9.99 and 9v99 in COBOL?
Write a cobol program making use of the redefine clause.
How many sections are there in data division in COBOL?
What is redefines clause in COBOL?
What are different data types in cobol?
What are the different rules for performing sort operation?
how do you define single dimensional array and multidimensional array in your cobol?
What are the different open modes available in cobol?