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

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

637


Have you used comp and comp-3 in your project? And how?

2006


How arrays can be defined in COBOL?

661


What is the difference between a binary search and a sequential search what are the pertinent cobol?

727


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1840






How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1926


What type of SDLC u followed? Why?

1516


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?

1228


) How do u handle errors in BMS macro?

1425


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

639


Which division and paragraphs are mandatory for a COBOL program?

707


how to move the records from file to array table. give with code example

2216


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

700


What guidelines should be followed to write a structured cobol prgm?

668


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

679