Which intrinsic function is used to return the current date in COBOL?
- FUNCTION CURRENT-DATE
- FUNCTION DATE-CURRENT
- FUNCTION DATE-NOW
- FUNCTION NOW
The FUNCTION CURRENT-DATE in COBOL is used to retrieve the current date. It returns a data item containing the current date in the format YYYYMMDD.
Loading...
Related Quiz
- What is the primary purpose of using the PERFORM statement in COBOL?
- How does the PERFORM UNTIL statement differ from the PERFORM VARYING statement in COBOL?
- When using the OPEN verb in COBOL, what is the primary purpose of specifying the ACCESS MODE clause?
- The "Input" file access mode is primarily used for _____ data from a file in COBOL.
- How do you define a nested group data item in COBOL?