MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to set the date and Time in a Mainframe Dataset

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
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

PostPosted: Wed Jun 10, 2009 1:29 pm    Post subject: How to set the date and Time in a Mainframe Dataset Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Wed Jun 10, 2009 1:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Jun 10, 2009 1:56 pm    Post subject: Reply with quote

mgjagadish,


Please search before posting. Check this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=2101&highlight=dataset+date+time

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mgjagadish
Beginner


Joined: 18 Jan 2003
Posts: 13
Topics: 7
Location: 7/2,rams Apartments,Chennai1-14

PostPosted: Thu Jun 11, 2009 6:41 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Jun 11, 2009 10:50 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group