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
 
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: 965
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: 4650
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 Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm
No new posts Validate the Date girishb2 DFSORT/ICETOOL 9 Tue Sep 19, 2017 1:12 am
No new posts Julian Date to CICS ABSTTIME blayek CICS 3 Wed Aug 30, 2017 11:15 pm
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

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