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

need to write date in yyymmdd numeric format in trailer.


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
bijoybabu83

New User


Joined: 15 Jan 2007
Posts: 36
Location: Kerala

PostPosted: Tue Jan 19, 2010 5:06 pm
Reply with quote

Hi ,

I need to write the current date in yyyymmdd numeric format in the trailer.

Please find the method which I try to use and is not working.'

//SYSIN DD *
OPTION COPY
OUTFIL FNAMES=SORTOUT,
TRAILER1=(1:'TR',3:'NASCO SMR EXTRACT',
20:DATE=(MD1))

/*

The date part is not working. Can anyone please help me.

The current date should be in yyyymmdd format and should be numeric and does not need sign.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Tue Jan 19, 2010 10:46 pm
Reply with quote

DATE=(MD1) is NOT valid.

You can use:

DATENS=(4MD)

to get a 'yyyymmdd' date.
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Write line by line from two files DFSORT/ICETOOL 7
Search our Forums:

Back to Top