Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

NDM Process - Obtaining the current date and timestamp

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
ganeshn987

New User


Joined: 17 Feb 2010
Posts: 5
Location: United States

PostPosted: Fri Jun 03, 2011 11:17 pm    Post subject: NDM Process - Obtaining the current date and timestamp
Reply with quote

Hi,

I need your help in getting the current date and timestamp in a NDM card in a particular format.

Date – MMDDYY (MM - month, DD – day, YY – year)
Timestamp – HHMISSNNN (HH – hour, MI – minutes, SS – seconds, NNN – milliseconds)

I have been trying a few parameters which I knew, but am not able to get the date and timestamp in the format which I need.

Some parameters which I tried in my NDM cards for getting the date and time are –

%SUBDATE - cyymmdd format, where c is century indicator
%SUBDATE1 - yyyymmdd
%SUBDATE2 - yyyyddmm
%SUBDATE3 - mmddyyyy
%SUBDATE4 – ddmmyyyy
%NUM1 – MISSNN (timestamp)

I am looking for a final output like this Filename_MMDDYYHHMISSNNN.TXT.

I would really appreciate, if you could let me know about some parameters which may help me get my desired output in the NDM process.

Thank you!

Regards,
Ganesh
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Sat Jun 04, 2011 2:36 am    Post subject: Reply to: NDM Process - Obtaining the current date and times
Reply with quote

There are no built-in variables for what you need. You'll have to do that externally, from a program.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts Overlay the system date Danielle.Filteau SYNCSORT 4 Fri Mar 03, 2017 1:16 am
No new posts Convert current to hex value gopurs DFSORT/ICETOOL 4 Wed Feb 15, 2017 5:40 am
No new posts Checking Current date vickey_dw DFSORT/ICETOOL 1 Wed Feb 08, 2017 11:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us