How do you fetch current date in normal cobol pgm and in
cobol-db2 pgm?
Answer Posted / v@m$i
Mr sharath small suggestion.
u r logic is correct.
but use current date instead of date in normal program.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
In COBOL, what is the different between index and subscript?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What kind of error is trapped by on size error option?
Differentiate between structured cobol programming and object-oriented cobol programming.
) How do u handle errors in BMS macro
Discuss about changing dataset name in proc.
What is the difference between Global and External Variables?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Name some of the examples of COBOl 11?
What is amode(24)?
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.
What is the usage of comp fields in cobol?
Can we change the password using ALTER? anyone tried and changed?
What are literals?
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 ......