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: 4649
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 How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts SMTP the current generation number of... Jyothi Kulunde JCL & VSAM 4 Thu May 04, 2017 4:08 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts LISTIDR compiled date/time jerryte IBM Tools 3 Thu Apr 20, 2017 7:37 pm


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