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
 

 

appending date while NDM

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

New User


Joined: 21 Dec 2006
Posts: 27
Location: india

PostPosted: Thu Jan 31, 2008 5:04 pm    Post subject: appending date while NDM
Reply with quote

How can i append date in YYDDD format in my DSN2 file name, while using NDM.

%JDATE function appends the date in YYYYDDD format.

Is there any way out to break this in YYDDD format or is there any other function as %JDATE which returns the date in YYDDD format.

I am using
&DATE=%JDATE
&DSN2=AAAA.BBB.CC.&DATE
Back to top
View user's profile Send private message

Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 962
Location: Richmond, Virginia

PostPosted: Thu Jan 31, 2008 6:59 pm    Post subject:
Reply with quote

I posted a similar question on the Sterling Software website, and their (prompt) reply was NO - you cannot substring these parms, as they are evaluated at submit time.
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: Thu Jan 31, 2008 7:01 pm    Post subject: Reply to: appending date while NDM
Reply with quote

Yeah, I was thinking the same thing. Looks like the YYDDD value will have to be supplied from outside the process as a variable.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Sat Feb 02, 2008 11:50 am    Post subject:
Reply with quote

if you code like &DSN=QUAL1.QUAL2.DYYMMDD.THHMMSST
then YYMMDD and HHMMSST are dynamically converted when the NDM process is submitted.
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 Checking Current date vickey_dw DFSORT/ICETOOL 1 Wed Feb 08, 2017 11:14 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am


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