# Dataset allocation with current date and time

**URL:** <https://techcommunity.softwareag.com/t/dataset-allocation-with-current-date-and-time/79495>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Code-Samples, Inside-Natural-and-Performance-Hints\
**Created:** [November 14, 2008, 11:54am UTC](https://techcommunity.softwareag.com/t/dataset-allocation-with-current-date-and-time/79495 "2008-11-14T11:54:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arun2](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Arun2](https://techcommunity.softwareag.com/u/Arun2)\
**Post date:** [November 14, 2008, 11:54am UTC](https://techcommunity.softwareag.com/t/dataset-allocation-with-current-date-and-time/79495/1 "2008-11-14T11:54:41Z")

</div>

Hello,

Please help me creating a dataset having current data and time as mentioned below. Is there any way to populate dynamically in JCL? or any other suggestions.

TEST.DATA.AAMMDD.TNNNN

MMDD= Current month and date  
NNNN = Current time HH.MM

Thanks,  
Arun

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:51pm UTC](https://techcommunity.softwareag.com/t/dataset-allocation-with-current-date-and-time/79495/2 "2021-04-02T14:51:09Z")

</div>


