01 a pic x(4) value 'abcd'
01 b pic 9(3)
can we move from a to b.if possible what would be stored in
b.
Answer Posted / shibin shah
alpha numeric value cant be stored in integer data type ....
so b will b contain junk valueeee...
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Why would you use find and get rather than to obtain?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
For rewrite, why is it mandatory that file needs to be opened?
What are declaratives and what are their uses in cobol?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
Mention the guidelines to write a structured cobol program?
Can a Search can be done on a table with or without Index?
How to print 10 to 1 if the input have only 10 digit number?
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?
Why occurs cannot be used in 01 level in COBOL?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
Difference between array and sub-script ?
how do you define single dimensional array and multidimensional array in your cobol?
Explain how you can characterize tables in cobol?