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 is perform what is varying?

903


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17500


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

856


how can i see junk values in dclgen or in hostvariable of comp ?

2741


State the various causes of s0c1, s0c5 and s0c7.

837


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.

1870


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.

2225


What are literals?

833


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

844


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

850


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2309


How do you get the data to code the BMS macro?

1681


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

973


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?

1398


Write a program that uses move corresponding.

860