My apologizes... Syncsort

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Blaicher, Christopher Y.
Sent: Thursday, March 02, 2017 1:50 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: DFHSORT - Date Display of Previous Month

Please call 201-930-8260.  A support person will be happy to assist you.

If you are wondering why I don't answer the question it is because it has been 
several years since I worked on MFX.  I currently work on our Ironstream 
product.

Chris Blaicher
Technical Architect
Mainframe Development
Syncsort Incorporated
2 Blue Hill Plaza #1563, Pearl River, NY 10965

P: 201-930-8234  |  M: 512-627-3803
E: cblaic...@syncsort.com

www.syncsort.com

CONNECTING BIG IRON TO BIG DATA


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of George, William@FTB
Sent: Thursday, March 2, 2017 4:45 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: DFHSORT - Date Display of Previous Month

I'm having a heck of a time attempting to create a sort header to display the 
previous month in YYYYMM format.
No matter what I do I get a syntax error and I've attempted many different ways.

Here is the most recent attempt.  I do not see why there is a syntax error 
where indicated.

SYSIN statements

SORT   FIELDS=(1,2,CH,A)
 OUTFIL FILES=OUT,
 INCLUDE=ALL,
      HEADER1=(1:C'DATE',
              15:&DATE2)

And the error
SYSIN :
      SORT   FIELDS=(1,2,CH,A)
      OUTFIL FILES=OUT,
      INCLUDE=ALL,
           HEADER1=(1:C'DATE',
                             *
                   15:&DATE2-1)
WER268A  OUTFIL STATEMENT  : SYNTAX ERROR


Any insights are appreciated

Bill

______________________________________________________________________
CONFIDENTIALITY NOTICE: This email from the State of California is for the sole 
use of the intended recipient and may contain confidential and privileged 
information. Any unauthorized review or use, including disclosure or 
distribution, is prohibited. If you are not the intended recipient, please 
contact the sender and destroy all copies of this email.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

________________________________



ATTENTION: -----

The information contained in this message (including any files transmitted with 
this message) may contain proprietary, trade secret or other confidential 
and/or legally privileged information. Any pricing information contained in 
this message or in any files transmitted with this message is always 
confidential and cannot be shared with any third parties without prior written 
approval from Syncsort. This message is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any use, disclosure, copying or distribution of this message, in any form, is 
strictly prohibited. If you have received this message in error, please 
immediately notify the sender and/or Syncsort and destroy all copies of this 
message in your possession, custody or control.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to