IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

appending date while NDM


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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

Senior Member


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

PostPosted: Thu Jan 31, 2008 6:59 pm
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

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Thu Jan 31, 2008 7:01 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Need to convert date format DFSORT/ICETOOL 20
No new posts Need help to append a date&tsp at... DFSORT/ICETOOL 9
No new posts Fetch data from programs execute (dat... DB2 3
Search our Forums:

Back to Top