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
What is the difference between next sentence and continue in cobol programing language?
What are the different rules to perform a Search?
What the difference is between continue and next sentence?
What is inspect in cobol ?
How do define dynamic array in cobol.
) How do u handle errors in BMS macro
What guidelines should be followed to write a structured cobol prgm?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
) how do u code after getting data?
Mention the guidelines to write a structured cobol program?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What rules are followed by the search verb.
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?