how to display date in reverse order if the pic clause of
the is numeric
suppose date is 09032010 ==> need to print in 20100309
(pic clause is numeric)
Answer Posted / rajesh
Both the answers are correct. But if we want to use the date
or month or year value alone in somewhere in our program
then we can go with Reshma's explanation.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Describe the cobol database components?
Explain what you understand by passing by value.
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.
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
How you can characterize tables in cobol?
Can a Search can be done on a table with or without Index?
what is the difference between COBOL2 AND COBOL390?
In COBOL, what is the different between index and subscript?
Which is not true about evaluate statement
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
How do you reference the following file formats from cobol programs?
What is the difference between PIC 9.99 and 9v99 in COBOL?
How many bytes S(8) comp field occupy and its maximum value?
What is report-item in COBOL?
What are different data types in cobol?