View previous topic :: View next topic |
Author |
Message |
mgjagadish Beginner
Joined: 18 Jan 2003 Posts: 13 Topics: 7 Location: 7/2,rams Apartments,Chennai1-14
|
Posted: Wed Jun 10, 2009 1:29 pm Post subject: How to set the date and Time in a Mainframe Dataset |
|
|
Hi Mainframe Folks,
I would like to set the date and Time in a Mainframe Dataset using System Functions .I am not able to locate any functions which does that
For instance the if my Mainframe dataset is
DSN=Myuser.&date..&time,DISP=SHR .
Now how to set the date and Time shown in the above .
Any inputs on this would be appreciated.
Thanks,
Jagadish _________________ JAGADISH |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Wed Jun 10, 2009 1:37 pm Post subject: |
|
|
This sort of topic comes up often - have you searched the forum? _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
mgjagadish Beginner
Joined: 18 Jan 2003 Posts: 13 Topics: 7 Location: 7/2,rams Apartments,Chennai1-14
|
Posted: Thu Jun 11, 2009 6:41 am Post subject: |
|
|
Kolusu,
My requirement is set the date in the format DMMYYDD
and time in the format THHMMSS format.
The link which you have pointed in the forum creates a Job card .I want to make use of functions which can set System Date and System Time in the format mentioned by me.
Please advice.
Thanks,
Jagadish _________________ JAGADISH |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Jun 11, 2009 10:50 am Post subject: |
|
|
mgjagadish wrote: | The link which you have pointed in the forum creates a Job card .I want to make use of functions which can set System Date and System Time in the format mentioned by me.
|
mgjagadish,
Start writing your own language.
If you had bothered to read the topic clearly you would have understood that we are indeed creating the data with dynamic symbols available. Your intention is to create a dataset with the date and time and that topic shows how to create one. Read it and try to understand it.
Kolusu |
|
Back to top |
|
 |
|
|