View previous topic :: View next topic
|
Author |
Message |
gsbrar16
New User
Joined: 21 Dec 2006 Posts: 27 Location: india
|
|
|
|
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 |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
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 |
|
|
|