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 / aruna

both the ans are coreect.in reshma's ans directly we can
write corr mve statement behalf of those 3move
statements.simply we can write move corr input-date to
output-date.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

HOw can I get the negative sign while deduct high value from low value

1802


how do you reference the ksds vsam file formats from cobol programs

671


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1973


how to move the records from file to array table. give with code example

2229


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

683






IF I mention stop run in CICS what happens?

1902


Write some characteristics of cobol as means of business language.

629


How do you differentiate between cobol and cobol-ii?

662


i want a program using by if, evaluate , string, unstring, perform, occurs?

4069


What is the difference between comp and comp-3 usage?

683


What is the difference between PIC 9.99 and PIC9v99?

790


What is a report item?

745


What is the difference between goback, stop run and exit program in cobol?

937


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.

5702


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

725