Hi All,
Can anyone tell me how we can MOVE value of a X(19)
variable to a S9(17) COMP-3 variable?
Answer with an Example will be of great help.
Answer Posted / ram.g
you can try with redefine....
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
how do you reference the variable block file formats from cobol programs
what is amode(24), amode(31), rmode(24) and rmode(any)?
how do you reference the rrds file formats from cobol programs
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
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?
How are the next sentence and continue different from each other?
What is the usage of comp fields in cobol?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
Explain about different table spaces.
how to move the records from file to array table. give with code example
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?
Write a cobol program making use of the redefine clause.
Mention the guidelines to write a structured cobol program?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?