how can we get current dat and time thru cobol pgm

Answer Posted / aaki

You can fetch current date from SysIBM.Sysdummy1 table in a
working storage variable

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What the difference is between continue and next sentence?

665


What is difference between static and dynamic call in cobol?

777


Explain what you understand by passing by value.

703


Discuss about changing dataset name in proc.

763


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

934






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

669


For rewrite, why is it mandatory that file needs to be opened?

623


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

4062


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

691


What are the rules of the move verb?

708


What are the different rules to perform a Search?

619


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1785


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1230


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

712


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8657