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 Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
This topic is locked: you cannot edit posts or make replies. Get correct date and time when curren... balaji81_k DB2 24 Fri Oct 14, 2016 10:40 pm


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