View previous topic :: View next topic |
Author |
Message |
mf_user Intermediate

Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Wed Jan 06, 2010 11:19 am Post subject: why it does not give 2001, 2002? |
|
|
Hi,
The below SORT gives me output like -
Why it does not give output like -
Job:
Code: |
//STEP0002 EXEC PGM=ICEMAN
//SYSOUT DD SYSOUT=*
//SORTIN DD *
01
02
10
//SORTOUT DD SYSOUT=*
//SYSIN DD *
OPTION COPY
INREC FIELDS=(1,2,Y2Z)
/*
|
Please help.
Thanks. _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
== |
|
Back to top |
|
 |
Frank Yaeger Sort Forum Moderator

Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
|
Posted: Wed Jan 06, 2010 12:22 pm Post subject: |
|
|
It depends on what you have set up for the Y2PAST option.
I have the default (Y2PAST=80) here so it uses 1930 to 2029 as indicated by this message:
ICE168I 0 CENTURY WINDOW FOR Y2 FORMAT FIELDS IS FROM 1930 TO 2029
and I get this output:
If you're not getting that, then you are using a different Y2PAST value.
Look at your ICE168I message to see what you have the century window set up as.
You can add something like the following to change the century window:
This would give a century window of 1990-2089. _________________ Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort |
|
Back to top |
|
 |
mf_user Intermediate

Joined: 01 Jun 2003 Posts: 372 Topics: 105
|
Posted: Wed Jan 06, 2010 2:25 pm Post subject: Thx |
|
|
Thank you Frank. It is clear now. _________________ MF
==
Any training that does not include the emotions, mind and body is incomplete; knowledge fades without feeling.
== |
|
Back to top |
|
 |
|
|