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 [email protected] with the message: INFO IBM-MAIN