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

date Format Issue in NDM process


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
naseera

New User


Joined: 22 Nov 2010
Posts: 7
Location: Noida

PostPosted: Mon Nov 22, 2010 6:30 pm
Reply with quote

Hi,

I want to know what parameter should I use for sending a file with YYYYMM date format through NDM.

For example If I use %SUBDATE1 - process submit date in the following format yyyymmdd

GO#AAAAA PROCESS
&DATE2=%SUBDATE1 <--- Parameter

*
STEP010 COPY FROM (PNODE DSN=&DSNI DISP=SHR) -
TO (SNODE DSN="&DSNO.&DATE2._UNB_bbb" -
DISP=RPL UNIT=&UNIT2) COMPRESS EXT = ( CMP=9 WIN=15 MEM=9 )
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Nov 22, 2010 6:55 pm
Reply with quote

Please learn to search the Forums, here are some previous threads on the similar topic:

www.ibmmainframes.com/viewtopic.php?t=27963&highlight=ndm+date
www.ibmmainframes.com/viewtopic.php?t=46364&highlight=ndm+date
www.ibmmainframes.com/viewtopic.php?t=40753&highlight=ndm+date
Back to top
View user's profile Send private message
naseera

New User


Joined: 22 Nov 2010
Posts: 7
Location: Noida

PostPosted: Mon Nov 22, 2010 7:04 pm
Reply with quote

Anuj,

I am looking for YYYYMM format only. I checked all the above links but they are not about this format.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Nov 22, 2010 8:11 pm
Reply with quote

And the product documentation says exactly what about dates and formats ?

You have read the product documentation before posting, haven't you ?
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Mon Nov 22, 2010 11:45 pm
Reply with quote

Use a different standard format. Or code the process to get that value externally (i.e. passed in from a program).
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Nov 25, 2010 5:40 pm
Reply with quote

naseera wrote:
Anuj,

I am looking for YYYYMM format only. I checked all the above links but they are not about this format.
So, by now you should have understand that that's not a format which an be suported by some "key-word Direct:Connect internally" - you need to produce that format using some other utility (e.g. EZACFSM1), as suggested by Kevin, and use that in your NDM.
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 Populate last day of the Month in MMD... SYNCSORT 2
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Need to convert date format DFSORT/ICETOOL 20
Search our Forums:

Back to Top