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
 
Dateformat TT.MM.YY via Syncsort

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 757
Location: Germany

PostPosted: Thu Jan 08, 2009 5:53 pm    Post subject: Dateformat TT.MM.YY via Syncsort
Reply with quote

Hi Gent's

I would like to have the German-Date-Format via Syncsort
in form of TT.MM.YY or TT.MM.YYYY

What i can get with the "DATE" operand in Syncsort, is the actual Date in form of MM/TT/YY.

Is there another operand ???
Back to top
View user's profile Send private message

Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2287
Location: @my desk

PostPosted: Thu Jan 08, 2009 5:58 pm    Post subject:
Reply with quote

Hello,

Which SyncSort version are you using?
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Jan 08, 2009 7:41 pm    Post subject:
Reply with quote

Assuming the TT is the normlly expected DD,
SyncSort for z/OS 1.2 Programmer’s Guide wrote:
&DATE=(m1m2m3m4)
This form of the &DATE subparameter generates the current system date and controls the formatting of the date. You can specify the position of the year, month, and date, specify a separator character, and choose between 2-digit and 4-digit year representation.
The positions m1 through m4 represent masks used to format the date. To specify the position of the month, day, and year, replace the m1, m2, and m3 positions, in any order, with M for the month (01-12), D for the day (01-31), and either Y or 4 for the year (where Y is a 2-digit year and 4 is a 4-digit year). Replace the m4 position with a separator character.
For example, to print the date with the form yy-mm-dd, specify &DATE=(YMD-). For December 31, 1999, the date would appear as “99-12-31”.
The field for this form of &DATE requires 8 bytes for a 2-digit year representation and 10 bytes for a 4-digit year. The M, D, and Y or 4 may only appear once in the mask. All four positions must be specified.
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 757
Location: Germany

PostPosted: Fri Jan 09, 2009 4:11 pm    Post subject:
Reply with quote

Hi !

Thank's a lot & nice weekend !!!
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts SYNCSORT SEQNUM and FI fields. nartcr SYNCSORT 7 Sat Jan 21, 2017 4:02 am
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am

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