View previous topic :: View next topic
|
Author |
Message |
Gabriel Araujo Alves
New User
Joined: 20 Jul 2010 Posts: 38 Location: Brazil
|
|
|
|
Why this does not works??? I already look some examples just like this, and it isn't working, can someone tell me why???
Code: |
//*-------------------------------------------------------------------*
//SORT0001 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD *
2010237
2010236
/*
//SORTOUT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY
INREC IFTHEN=(WHEN=INIT,
BUILD=(01,07,Y4T,TOGREG=Y4T(/))) |
|
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
Posting "it isn't working" is a total waste. What output did you get and was messages did you get. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I get
2010/08/25
2010/08/24
in my SORTOUT dataset. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Show all of the informational output from the problem run. . . |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Gabriel,
If by "it doesn't work" you mean you're getting an error message, then I'd assume either you're using Syncsort, or you're using DFSORT but don't have the PTF that supports Y4T and TOGREG. See the following for complete information on that DFSORT PTF which has been available since Nov, 2009:
www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000174 |
|
Back to top |
|
|
Gabriel Araujo Alves
New User
Joined: 20 Jul 2010 Posts: 38 Location: Brazil
|
|
|
|
look at my sysout...
i get this code in the "tricks"...
Code: |
SYNCSORT FOR Z/OS 1.3.2.1N U.S. PATENTS: 4210961, 5117495 (C) 2007
z/OS 1.11.0
SYSIN :
SORT FIELDS=COPY
INREC IFTHEN=(WHEN=INIT,
BUILD=(01,07,Y4T,TOGREG=Y4T(/)))
*
WER903I SYNCSORT 1.3.2.1 IS NOT LICENSED FOR SERIAL 104BF, TYPE 2094 749
WER903I PRODUCT WILL STOP WORKING IN 32 DAYS UNLESS A VALID KEY IS INST
WER268A INREC STATEMENT : SYNTAX ERROR
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE |
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
As we suspected, you are using Syncsort rather than DFSORT.
You need to look at the Syncsort documentation for date formats rather than the DFSORT "tricks" material.
I believe there are also some similar topics within our forum (there is a forum SEARCH feature that can be very useful) |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
Back to top |
|
|
Gabriel Araujo Alves
New User
Joined: 20 Jul 2010 Posts: 38 Location: Brazil
|
|
|
|
Thanks dick,
i really use Syncsort and this tricks does not works.
greatful... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
i really use Syncsort and this tricks does not works. |
Posting "it didn't work" is a complete waste of everyone's time. . . If you have a problem and want help, you must provide the details of the problem.
Post the informational/diagnostic output from the problem run (including the message ids).
It is not a trick and it does work. . . Working depends on exactly/correctly specifying the code and on having a release that supports the function(s). |
|
Back to top |
|
|
|