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
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What rules are to be followed while using the corresponding options?
Explain the configuration section of a cobol program with examples of syntax.
What is link edit in cobol?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
i need a small 3d program using inline and outline.
How do get the result of your program directly on your pc?
how do you reference the esds vsam file formats from cobol programs
How many bytes S(8) comp field occupy and its maximum value?
Write the code to count the sum of n natural numbers.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is the difference between external and global variables in COBOL?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?