Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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 Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Date in where clause - Windows Karthikeyan Subbarayan DB2 9 Wed Nov 15, 2017 9:07 pm
No new posts Comparision with current time arunsoods DFSORT/ICETOOL 5 Thu Nov 09, 2017 10:37 am
This topic is locked: you cannot edit posts or make replies. Comparing current time with the time ... arunsoods SYNCSORT 1 Mon Oct 30, 2017 4:07 pm
This topic is locked: you cannot edit posts or make replies. Incrementing current time field by 30... arunsoods DFSORT/ICETOOL 11 Thu Oct 26, 2017 3:22 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us