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
What the difference is between continue and next sentence?
What is difference between static and dynamic call in cobol?
Explain what you understand by passing by value.
Discuss about changing dataset name in proc.
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.
Differentiate between structured cobol programming and object-oriented cobol programming.
For rewrite, why is it mandatory that file needs to be opened?
i want a program using by if, evaluate , string, unstring, perform, occurs?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What are the rules of the move verb?
What are the different rules to perform a Search?
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.
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?
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
I have a File that has duplicate records. I need only those records that occur more than thrice.?