INREC IFTHEN=(WHEN=(21,3,CH,EQ,C'KTC',OR,21,3,CH,EQ,C'WCC'),BUILD=(1,160,165:C'
N/A')),IFTHEN=(WHEN=(21,3,CH,NE,C'KTC',OR,21,3,CH,NE,C'WCC'),BUILD=(1,160,165:
151,10,ZD),MUL,+100,DIV,CONST1,M10,LENGTH=5,C'%')
*
OPTION COPY
OUTFIL FNAMES=SORTOUT,REMOVECC,HEADER1=(001:'**********PERSONAL PROF OVERALL ST
TS',45:&DATE)
WER268A INREC STATEMENT : SYNTAX ERROR
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
The asterisk in the error is present exactly at the value CONST1. Not sure whats the problem. these are pieces of code you provided before. The input file LRECL is 168.
Please help. I'm stuck here and not able to move fwd
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
Quote:
...these are pieces of code you provided before. ...
Well come on and step up.
Whoever gave him the code is obviously responsible (TS thinks so, anyway).
So, give him his answer before he starts taking legal action against us.
Joined: 17 Oct 2006 Posts: 2481 Location: @my desk
surya4ug wrote:
these are pieces of code you provided before
surya4ug,
Glad that you said those were "pieces" of code.
Hint: Do you find any difference in the control statements used in your run JCL and those in your error messages?
dbzTHEdinosauer wrote:
So, give him his answer before he starts taking legal action
I wanted to show where the error was and hence the gamble and i knew i would be getting back
So, here is the error:
Code:
WER268A INREC STATEMENT : SYNTAX ERROR
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
and the asterisk thats generally shown near the 'problematic' part of the control statements, shows up near the CONST1 in the 2nd BUILD statement. I remember you mentioned before that i missed a few brances and i still don't get where exactly i missed them.
Please let me know if this is hasn't helped to explain the situation. Not sure what else is needed.
Oh ... my bad...... i intended to be generic while i pasted the code by mentioning aaa and bbb but forgot to change the values in the error message from KTC to aaa and WCC to bbb
The problem was that in step1, i edited the constant manually in the input file for some reason and also in one occasion the constant came out to be zero and since we are tryinig to divide a field in step2 with this constant, the problem occured.
I Just tweaked the input file a bit and it worked fine. No real syntax errors found. Having fun with SYNCSORT, courtesy Mr. Arun