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


Please Help Members By Posting Answers For Below Questions

In COBOL, what is the different between index and subscript?

749


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

662


What kind of error is trapped by on size error option?

730


Differentiate between structured cobol programming and object-oriented cobol programming.

656


) How do u handle errors in BMS macro

1495






Discuss about changing dataset name in proc.

755


What is the difference between Global and External Variables?

652


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

661


Name some of the examples of COBOl 11?

2671


What is amode(24)?

676


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.

5045


What is the usage of comp fields in cobol?

645


Can we change the password using ALTER? anyone tried and changed?

1533


What are literals?

621


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 ......

10528